Function at 0x43dc80
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Extract resource via kernel32 functions
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce2a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78c
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
push esi
push edi
mov dword [ebp - 0x24], ebx
mov byte [ecx], 0
lea ecx, [ebp - 0x8c]
mov byte [eax], 0
call fcn.0042d840
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 1
cmp dword [0x4fc50c], eax
jne 0x43dcf2
push ecx
mov ecx, ebx
call fcn.0043d920
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jne 0x43dd16
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43dd04
sub ecx, edx
sar ecx, 1
mov dword [ebp - 0x1c], ecx
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [ebp + 0xc], eax
cmp ecx, 0xfd
ja 0x43deb0
mov eax, dword [sym.imp.VCRUNTIME140.dll_wcschr]
mov edx, esi
mov dword [ebp - 0x14], edx
mov ebx, ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], eax
mov edi, 0x4fc50c
nop word [eax + eax]
mov ecx, dword [edi]
cmp word [ecx], 0
je 0x43de3e
mov eax, dword [edi + 4]
lea esi, [ebx + ebx]
push esi
push edx
lea eax, [ecx + eax*2]
push eax
call sub.VCRUNTIME140.dll_memcpy
movq xmm0, qword [str..ahk]
add esp, 0xc
movq qword [esi + eax], xmm0
lea ecx, [esi + eax]
mov ax, word [0x4e8d68]
mov word [ecx + 8], ax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43de3b
test al, 0x10
jne 0x43de3b
mov eax, dword [ebp + 0x14]
mov ecx, dword [edi + 4]
mov byte [eax], 1
mov eax, dword [edi]
lea esi, [eax + ecx*2]
xor eax, eax
mov word [esi - 2], ax
mov ecx, dword [edi]
call fcn.00461420
mov ecx, dword [ebp - 0x24]
mov eax, 0x5c
mov word [esi - 2], ax
mov ecx, dword [ecx + 0xb00]
test ecx, ecx
je 0x43ddef
cmp byte [ebp + 0x18], 0
je 0x43ddef
mov eax, dword [edi]
push eax
push eax
push dword [edi + 4]
push str.Include___0.s_nIncludeAgain__s_n
push ecx
call fcn.0042d740
add esp, 0x14
mov eax, dword [0x4f90f4]
mov ecx, dword [ebp - 0x24]
push 0
push 0
mov esi, dword [eax + 0xb4]
mov dword [eax + 0xb4], 0
push dword [edi]
call fcn.004302b0
test eax, eax
mov eax, dword [0x4f90f4]
mov dword [eax + 0xb4], esi
je 0x43deaa
mov ecx, dword [ebp - 0x24]
push 0
push dword [ebp - 0x1c]
push dword [ebp + 8]
call fcn.0043e7d0
mov esi, eax
test esi, esi
jne 0x43deb2
mov edx, dword [ebp - 0x14]
add edi, 8
cmp edi, 0x4fc52c
jl 0x43dd50
mov esi, dword [ebp + 8]
push 0x5f
push esi
call dword [ebp - 0x34]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43def9
sub ebx, esi
sar ebx, 1
cmp ebx, 0xfe
jae 0x43def9
lea esi, [ebx + ebx]
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x28c]
push eax
mov dword [ebp - 0x14], eax
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
add esp, 0xc
mov word [ebp + esi - 0x28c], ax
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, 2
jge 0x43def6
mov edx, dword [ebp - 0x14]
jmp 0x43dd40
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
xor esi, esi
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x43e744
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x43ded0
push eax
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test ebx, ebx
je 0x43e744
cmp dword [ebx - 8], 0xdddd
lea eax, [ebx - 8]
mov ebx, dword [ebp + 0xc]
jne 0x43e747
push eax
call ebx
add esp, 4
jmp 0x43e747
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x28c]
lea ebx, [edi + edi]
push ebx
push esi
push eax
mov dword [ebp - 0x20], ebx
call sub.VCRUNTIME140.dll_memcpy
movq xmm0, qword [str..ahk]
add esp, 0xc
mov ax, word [0x4e8d68]
movq qword [ebp + ebx - 0x28c], xmm0
mov word [ebp + ebx - 0x284], ax
lea eax, [ebp - 0x28c]
push 0x4eb624
push eax
push dword [0x4fba50]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x43e008
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x28c]
push 0x4eb624
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x43e00f
push 0x5f
push esi
call dword [ebp - 0x34]
add esp, 8
test eax, eax
je 0x43e2a9
sub eax, esi
sar eax, 1
cmp eax, 0xfe
jae 0x43e2a9
lea esi, [eax + eax]
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x28c]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp + esi - 0x28c], 0x61002e
xor eax, eax
mov dword [ebp + esi - 0x288], 0x6b0068
mov word [ebp + esi - 0x284], ax
lea eax, [ebp - 0x28c]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0x4eb624
push eax
push dword [0x4fba50]
call esi
mov ebx, eax
test ebx, ebx
jne 0x43e008
push 0x4eb624
lea eax, [ebp - 0x28c]
push eax
push ebx
call esi
mov ebx, eax
test ebx, ebx
je 0x43e2a9
mov eax, dword [ebp - 0x14]
jmp 0x43e011
mov eax, 1
jmp 0x43e011
xor eax, eax
xor esi, esi
test eax, eax
push ebx
cmovne esi, dword [0x4fba50]
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x43e2a9
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43e2a9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x43e2a9
cmp dword [eax], 0x4034b50
mov dword [ebp - 0x1c], 0
jne 0x43e10f
push 0
push dword [ebp - 0x2c]
lea edx, [ebp - 0x20]
mov ecx, eax
call fcn.004b4e10
mov ebx, eax
add esp, 8
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x43e10f
lea esi, [ebx + 2]
lea ecx, [esi + 8]
cmp esi, ecx
sbb eax, eax
and eax, ecx
je 0x43e0cd
cmp eax, 0x400
ja 0x43e0b1
call fcn.004cdaf0
mov eax, esp
mov dword [ebp - 0x18], eax
test eax, eax
je 0x43e0d2
mov dword [eax], 0xcccc
add eax, 8
jmp 0x43e0cf
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
je 0x43e0d2
mov dword [eax], 0xdddd
add eax, 8
jmp 0x43e0cf
xor eax, eax
mov dword [ebp - 0x18], eax
push ebx
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x20]
push esi
push eax
mov dword [ebp - 0x40], eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x18]
add esp, 0xc
xor ecx, ecx
push ebx
push ecx
push esi
mov word [eax + ebx], cx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
call dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
lea eax, [ebx + 2]
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
jmp 0x43e112
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 0x14]
add eax, eax
mov byte [ecx], 1
lea ecx, [eax + 8]
cmp eax, ecx
sbb eax, eax
and eax, ecx
je 0x43e15d
cmp eax, 0x400
ja 0x43e142
call fcn.004cdaf0
mov esi, esp
test esi, esi
je 0x43e15f
mov dword [esi], 0xcccc
add esi, 8
jmp 0x43e15f
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x43e15f
mov dword [esi], 0xdddd
add esi, 8
jmp 0x43e15f
xor esi, esi
push 0xfde9
push 0xc
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x8c]
call fcn.004ae700
push 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x8c]
push esi
call fcn.004ae8f0
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebx + 0xb00]
test edx, edx
je 0x43e1c1
cmp byte [ebp + 0x18], 0
je 0x43e1c1
mov ecx, esi
lea eax, [ecx + 2]
mov dword [ebp + 0x18], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43e1a1
sub ecx, dword [ebp + 0x18]
push esi
sar ecx, 1
push ecx
push str._s_n
push edx
call fcn.0042d740
add esp, 0x10
mov eax, dword [0x4f90f4]
mov ecx, dword [eax + 0xb4]
mov dword [eax + 0xb4], 0
lea eax, [ebp - 0x28c]
push eax
mov dword [ebp + 0x18], ecx
mov ecx, ebx
push esi
call fcn.00430230
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x43e24c
test eax, eax
je 0x43e201
push eax
push 0
push dword [ebp - 0x30]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x2c]
add eax, 2
je 0x43e215
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [0x4f90f4]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0xb4], ecx
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
test esi, esi
je 0x43deb0
add esi, 0xfffffff8
cmp dword [esi], 0xdddd
jne 0x43deb0
push esi
call dword [ebp + 0xc]
add esp, 4
jmp 0x43deb0
test eax, eax
je 0x43e25e
push eax
push 0
push dword [ebp - 0x30]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x2c]
add eax, eax
je 0x43e271
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test esi, esi
je 0x43e287
add esi, 0xfffffff8
cmp dword [esi], 0xdddd
jne 0x43e287
push esi
call dword [ebp + 0xc]
add esp, 4
mov eax, dword [0x4f90f4]
mov ecx, dword [ebp + 0x18]
push 0
push edi
push dword [ebp + 8]
mov dword [eax + 0xb4], ecx
mov ecx, ebx
call fcn.0043e7d0
mov esi, eax
jmp 0x43deb2
mov eax, 0x2c
mov dword [ebp - 0x794], 0x440023
push 0x3ea
mov word [ebp - 0x780], ax
lea eax, [ebp - 0x77e]
push 0
push eax
mov dword [ebp - 0x790], 0x6c006c
mov dword [ebp - 0x78c], 0x6d0049
mov dword [ebp - 0x788], 0x6f0070
mov dword [ebp - 0x784], 0x740072
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [ebp + 8]
lea esi, [edi + edi]
add esp, 0xc
lea eax, [ebp - 0x77e]
push esi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x2c
mov byte [ebp - 0x394], 0x5c
mov word [ebp + esi - 0x77e], ax
add esp, 0xc
lea eax, [ebp - 0x77c]
xor ecx, ecx
add eax, esi
mov dword [ebp + 0x14], eax
push 0x103
push ecx
mov word [eax], cx
lea eax, [ebp - 0x393]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [edi + 1]
mov dword [ebp - 0x14], eax
push 0
push 0
push eax
lea eax, [ebp - 0x393]
push eax
push edi
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x394]
mov word [ebp + edi - 0x393], 0x2c
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
mov esi, dword [sym.imp.VCRUNTIME140.dll_strstr]
lea eax, [ebp - 0x394]
push eax
push dword [0x4fc504]
mov dword [ebp - 0x38], esi
call esi
add esp, 8
test eax, eax
je 0x43e73b
mov ecx, 0x2c
mov word [ebp - 0x780], cx
mov ecx, dword [0x4fc508]
sub ecx, dword [0x4fc504]
add eax, ecx
push 0x4cfcb4
push eax
mov dword [ebp + 0x10], eax
call esi
push 0x4e6fc4
lea edi, [eax + 1]
push edi
call esi
add esp, 0x10
mov esi, 1
sub esi, edi
add esi, eax
push esi
push dword [ebp + 0x14]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0xfde9
call edi
mov eax, dword [ebp + 0x14]
lea esi, [eax + esi*2]
mov eax, dword [ebp - 0x20]
add eax, 2
push eax
mov eax, dword [ebp + 0x10]
push esi
push dword [ebp - 0x14]
inc eax
push eax
push 0
push 0xfde9
call edi
mov ecx, dword [ebp - 0x20]
cmp word [ecx + ebx - 2], 0x5f
lea eax, [ecx + esi]
mov ecx, 0x2c
jne 0x43e432
mov word [eax - 2], cx
mov esi, eax
xor ecx, ecx
jmp 0x43e435
lea esi, [eax + 2]
push 0x4eb638
push dword [ebp + 0x10]
mov word [eax], cx
call dword [ebp - 0x38]
mov cl, byte [eax + 1]
add esp, 8
lea edx, [eax + 1]
cmp cl, 0x5c
je 0x43e6c0
mov ebx, 0x55
nop word [eax + eax]
cmp cl, bl
je 0x43e6ad
cmp cl, 0x75
je 0x43e6ad
cmp cl, 0x7a
je 0x43e65e
cmp cl, 0x5a
je 0x43e65e
cmp cl, 0x73
je 0x43e64c
cmp cl, 0x53
je 0x43e64c
cmp cl, 0x74
je 0x43e63a
cmp cl, 0x54
je 0x43e63a
cmp cl, 0x61
je 0x43e61f
cmp cl, 0x41
je 0x43e61f
cmp cl, 0x77
je 0x43e604
cmp cl, 0x57
je 0x43e604
cmp cl, 0x78
je 0x43e65e
cmp cl, 0x58
je 0x43e65e
cmp cl, 0x69
je 0x43e557
cmp cl, 0x49
je 0x43e557
lea edi, [edx + 1]
cmp cl, 0x69
je 0x43e5d4
cmp cl, 0x49
je 0x43e5d4
cmp cl, 0x68
je 0x43e5b8
cmp cl, 0x48
je 0x43e5b8
cmp cl, 0x63
je 0x43e59a
cmp cl, 0x43
je 0x43e59a
cmp cl, 0x66
je 0x43e57e
cmp cl, 0x46
je 0x43e57e
cmp cl, 0x64
je 0x43e538
cmp cl, 0x44
jne 0x43e67f
movq xmm0, qword [str.DOUBLE]
movq qword [esi], xmm0
mov eax, dword [0x4eb69c]
mov dword [esi + 8], eax
mov ax, word [0x4eb6a0]
jmp 0x43e678
cmp byte [edx + 1], 0x36
lea edi, [edx + 1]
jne 0x43e4ea
movq xmm0, qword [str.INT64]
mov edx, edi
movq qword [esi], xmm0
mov eax, dword [0x4eb66c]
mov dword [esi + 8], eax
add esi, 0xa
jmp 0x43e67f
movq xmm0, qword [str.FLOAT]
movq qword [esi], xmm0
mov eax, dword [0x4eb690]
mov dword [esi + 8], eax
add esi, 0xa
jmp 0x43e67f
movq xmm0, qword [str.CHAR]
movq qword [esi], xmm0
mov ax, word [0x4eb684]
mov word [esi + 8], ax
add esi, 8
jmp 0x43e67f
movq xmm0, qword [str.SHORT]
movq qword [esi], xmm0
mov eax, dword [0x4eb678]
mov dword [esi + 8], eax
add esi, 0xa
jmp 0x43e67f
cmp byte [edi], 0x5c
jne 0x43e5ef
movzx eax, word [esi - 2]
cmp eax, 0x75
je 0x43e5ef
cmp eax, 0x55
je 0x43e5ef
add esi, 0xfffffffe
jmp 0x43e67f
mov dword [esi], 0x4e0049
mov dword [esi + 4], 0x54
add esi, 6
jmp 0x43e67f
movq xmm0, qword [str.WSTR]
movq qword [esi], xmm0
mov ax, word [0x4eb660]
mov word [esi + 8], ax
add esi, 8
jmp 0x43e67f
movq xmm0, qword [str.ASTR]
movq qword [esi], xmm0
mov ax, word [0x4eb654]
mov word [esi + 8], ax
add esi, 8
jmp 0x43e67f
mov dword [esi], 0x540050
mov dword [esi + 4], 0x52
add esi, 6
jmp 0x43e67f
mov dword [esi], 0x540053
mov dword [esi + 4], 0x52
add esi, 6
jmp 0x43e67f
movq xmm0, qword [0x4eb63c]
movq qword [esi], xmm0
mov eax, dword [0x4eb644]
mov dword [esi + 8], eax
mov ax, word [0x4eb648]
mov word [esi + 0xc], ax
add esi, 0xc
mov al, byte [edx + 1]
cmp al, 0x2a
je 0x43e68e
cmp al, 0x70
je 0x43e68e
cmp al, 0x50
jne 0x43e697
mov dword [esi], 0x2a
add esi, 2
mov eax, dword [0x4eb6a4]
mov dword [esi], eax
mov ax, word [0x4eb6a8]
mov word [esi + 4], ax
add esi, 4
jmp 0x43e6b3
mov word [esi], bx
add esi, 2
mov cl, byte [edx + 1]
inc edx
cmp cl, 0x5c
jne 0x43e460
mov ebx, dword [ebp - 0x24]
mov dword [esi - 4], 0
mov edx, dword [ebx + 0xb00]
test edx, edx
je 0x43e708
cmp byte [ebp + 0x18], 0
je 0x43e708
lea ecx, [ebp - 0x794]
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43e6e3
sub ecx, esi
lea eax, [ebp - 0x794]
push eax
sar ecx, 1
push ecx
push str._s_n
push edx
call fcn.0042d740
add esp, 0x10
lea eax, [ebp - 0x794]
push 0x2c
push eax
call dword [ebp - 0x34]
add esp, 8
lea edx, [ebp - 0x794]
lea ecx, [eax + 2]
call fcn.004b3ce0
push 0
push dword [ebp - 0x1c]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043e7d0
mov esi, eax
jmp 0x43deb2
xor esi, esi
xor ebx, ebx
jmp 0x43ded0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x8c], vtable.TextMem.0
test eax, eax
je 0x43e781
cmp byte [ebp - 0x50], 0
je 0x43e77a
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x43e774
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x58]
add esp, 0xc
push eax
call ebx
add esp, 4
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x8c], vtable.TextStream.0
test eax, eax
je 0x43e7aa
push 0x2000
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push dword [ebp - 0x5c]
call ebx
add esp, 4
mov eax, esi
lea esp, [ebp - 0x7a4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14