Function at 0x43c5d0
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 0x4e9e25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x77c
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
push esi
push edi
mov dword [ebp - 0x1c], ebx
mov byte [ecx], 0
lea ecx, [ebp - 0x7c]
mov byte [eax], 0
call fcn.0042c4b0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
cmp dword [0x51f5fc], eax
jne 0x43c63f
push ecx
mov ecx, ebx
call fcn.0043c280
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x43c663
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c651
sub ecx, edx
sar ecx, 1
mov dword [ebp - 0x20], ecx
cmp ecx, 0xfd
ja 0x43c7f6
mov edx, esi
mov dword [ebp - 0x18], 0
mov dword [ebp + 0xc], edx
mov ebx, ecx
nop dword [eax]
mov edi, 0x51f5fc
nop word [eax + eax]
mov ecx, dword [edi]
cmp word [ecx], 0
je 0x43c77e
mov eax, dword [edi + 4]
lea esi, [ebx + ebx]
push esi
push edx
lea eax, [ecx + eax*2]
push eax
call fcn.004cc730
movq xmm0, qword [str..ahk]
add esp, 0xc
movq qword [esi + eax], xmm0
lea ecx, [esi + eax]
mov ax, word [0x50a760]
mov word [ecx + 8], ax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43c77b
test al, 0x10
jne 0x43c77b
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.00461270
mov ecx, dword [ebp - 0x1c]
mov eax, 0x5c
mov word [esi - 2], ax
mov ecx, dword [ecx + 0xb00]
test ecx, ecx
je 0x43c72f
cmp byte [ebp + 0x18], 0
je 0x43c72f
mov eax, dword [edi]
push eax
push eax
push dword [edi + 4]
push str.Include___0.s_nIncludeAgain__s_n
push ecx
call fcn.0042c3d0
add esp, 0x14
mov eax, dword [0x51b98c]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
mov esi, dword [eax + 0xb4]
mov dword [eax + 0xb4], 0
push dword [edi]
call fcn.0042f000
test eax, eax
mov eax, dword [0x51b98c]
mov dword [eax + 0xb4], esi
je 0x43c7f0
mov ecx, dword [ebp - 0x1c]
push 0
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.0043d0f0
mov esi, eax
test esi, esi
jne 0x43c7f8
mov edx, dword [ebp + 0xc]
add edi, 8
cmp edi, 0x51f61c
jl 0x43c690
mov esi, dword [ebp + 8]
push 0x5f
push esi
call fcn.004cbd94
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43c8a8
sub ebx, esi
sar ebx, 1
cmp ebx, 0xfe
jae 0x43c8a8
lea esi, [ebx + ebx]
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x27c]
push eax
mov dword [ebp + 0xc], eax
call fcn.004cc730
xor eax, eax
add esp, 0xc
mov word [ebp + esi - 0x27c], ax
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 2
jge 0x43c8a5
mov edx, dword [ebp + 0xc]
jmp 0x43c680
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
xor esi, esi
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x43c827
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x43c812
push eax
push 0
push ebx
call fcn.004cc590
add esp, 0xc
cmp dword [ebx - 8], 0xdddd
lea eax, [ebx - 8]
jne 0x43c827
push eax
call fcn.004cfed0
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x7c], vtable.TextMem.0
test eax, eax
je 0x43c861
cmp byte [ebp - 0x40], 0
je 0x43c85a
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x43c851
push ecx
push 0
push eax
call fcn.004cc590
mov eax, dword [ebp - 0x48]
add esp, 0xc
push eax
call fcn.004cfed0
add esp, 4
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x7c], vtable.TextStream.0
test eax, eax
je 0x43c88a
push 0x2000
push 0
push eax
call fcn.004cc590
add esp, 0xc
push dword [ebp - 0x4c]
call fcn.004cfed0
add esp, 4
mov eax, esi
lea esp, [ebp - 0x794]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x27c]
lea ebx, [edi + edi]
push ebx
push esi
push eax
mov dword [ebp - 0x18], ebx
call fcn.004cc730
movq xmm0, qword [str..ahk]
add esp, 0xc
mov ax, word [0x50a760]
movq qword [ebp + ebx - 0x27c], xmm0
mov word [ebp + ebx - 0x274], ax
lea eax, [ebp - 0x27c]
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0x50d01c
push eax
push dword [0x51eb40]
mov dword [ebp + 0xc], 1
call ebx
mov esi, eax
test esi, esi
jne 0x43cb4e
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x27c]
push 0x50d01c
push eax
push esi
call ebx
mov ebx, dword [ebp + 8]
mov esi, eax
test esi, esi
jne 0x43cb51
push 0x5f
push ebx
call fcn.004cbd94
add esp, 8
test eax, eax
je 0x43c9b8
sub eax, ebx
sar eax, 1
cmp eax, 0xfe
jae 0x43c9b8
lea esi, [eax + eax]
push esi
lea eax, [ebp - 0x27c]
push ebx
push eax
call fcn.004cc730
add esp, 0xc
mov dword [ebp + esi - 0x27c], 0x61002e
xor eax, eax
mov dword [ebp + esi - 0x278], 0x6b0068
mov word [ebp + esi - 0x274], ax
lea eax, [ebp - 0x27c]
push 0x50d01c
push eax
push dword [0x51eb40]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x43cb45
push 0x50d01c
lea eax, [ebp - 0x27c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x43cb51
mov eax, 0x2c
mov dword [ebp - 0x784], 0x440023
push 0x3ea
mov word [ebp - 0x770], ax
lea eax, [ebp - 0x76e]
push 0
push eax
mov dword [ebp - 0x780], 0x6c006c
mov dword [ebp - 0x77c], 0x6d0049
mov dword [ebp - 0x778], 0x6f0070
mov dword [ebp - 0x774], 0x740072
call fcn.004cc590
add esp, 0xc
lea esi, [edi + edi]
lea eax, [ebp - 0x76e]
push esi
push ebx
push eax
call fcn.004cc730
mov eax, 0x2c
mov byte [ebp - 0x384], 0x5c
mov word [ebp + esi - 0x76e], ax
add esp, 0xc
lea eax, [ebp - 0x76c]
xor ecx, ecx
add eax, esi
mov dword [ebp + 0x14], eax
push 0x103
push ecx
mov word [eax], cx
lea eax, [ebp - 0x383]
push eax
call fcn.004cc590
add esp, 0xc
lea eax, [edi + 1]
mov dword [ebp + 0xc], eax
push 0
push 0
push eax
lea eax, [ebp - 0x383]
push eax
push edi
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x384]
mov word [ebp + edi - 0x383], 0x2c
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
lea eax, [ebp - 0x384]
push eax
push dword [0x51f5f4]
call fcn.004cbf90
add esp, 8
test eax, eax
je 0x43d0df
mov ecx, 0x2c
mov word [ebp - 0x770], cx
mov ecx, dword [0x51f5f8]
sub ecx, dword [0x51f5f4]
add eax, ecx
push 0x4f045c
push eax
mov dword [ebp + 0x10], eax
call fcn.004cbf90
push 0x5089bc
lea edi, [eax + 1]
push edi
call fcn.004cbf90
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 - 0x18]
add eax, 2
push eax
mov eax, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
inc eax
push eax
push 0
push 0xfde9
call edi
mov ecx, dword [ebp - 0x18]
cmp word [ecx + ebx - 2], 0x5f
lea eax, [ecx + esi]
mov ecx, 0x2c
jne 0x43cded
mov word [eax - 2], cx
mov esi, eax
xor ecx, ecx
jmp 0x43cdf0
mov dword [ebp + 0xc], 1
jmp 0x43cb51
mov ebx, dword [ebp + 8]
xor eax, eax
cmp dword [ebp + 0xc], eax
push esi
cmovne eax, dword [0x51eb40]
push eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x43c9b8
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43c9b8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x43c9b8
cmp dword [eax], 0x4034b50
mov dword [ebp + 0xc], 0
jne 0x43cc56
push 0
push dword [ebp - 0x28]
lea edx, [ebp - 0x18]
mov ecx, eax
call fcn.004b2fd0
mov ebx, eax
add esp, 8
mov dword [ebp + 0xc], ebx
test ebx, ebx
je 0x43cc56
lea esi, [ebx + 2]
lea ecx, [esi + 8]
cmp esi, ecx
sbb eax, eax
and eax, ecx
je 0x43cc12
cmp eax, 0x400
ja 0x43cbf7
call fcn.004e87c0
mov eax, esp
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43cc17
mov dword [eax], 0xcccc
add eax, 8
jmp 0x43cc14
push eax
call fcn.004cfec5
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43cc17
mov dword [eax], 0xdddd
add eax, 8
jmp 0x43cc14
xor eax, eax
mov dword [ebp - 0x14], eax
push ebx
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x18]
push esi
push eax
mov dword [ebp - 0x34], eax
call fcn.004cc730
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor ecx, ecx
push ebx
push ecx
push esi
mov word [eax + ebx], cx
call fcn.004cc590
add esp, 0xc
push esi
call fcn.004cfed0
mov ecx, dword [ebp - 0x14]
lea eax, [ebx + 2]
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
jmp 0x43cc59
mov eax, dword [ebp - 0x28]
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 0x43cca3
cmp eax, 0x400
ja 0x43cc89
call fcn.004e87c0
mov esi, esp
test esi, esi
je 0x43cca5
mov dword [esi], 0xcccc
add esi, 8
jmp 0x43cca5
push eax
call fcn.004cfec5
mov esi, eax
add esp, 4
test esi, esi
je 0x43cca5
mov dword [esi], 0xdddd
add esi, 8
jmp 0x43cca5
xor esi, esi
push 0xfde9
push 0xc
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004ac9f0
push 0
push dword [ebp - 0x28]
lea ecx, [ebp - 0x7c]
push esi
call fcn.004acbe0
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebx + 0xb00]
test edx, edx
je 0x43cd01
cmp byte [ebp + 0x18], 0
je 0x43cd01
mov ecx, esi
lea eax, [ecx + 2]
mov dword [ebp + 0x18], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43cce1
sub ecx, dword [ebp + 0x18]
push esi
sar ecx, 1
push ecx
push 0x50d024
push edx
call fcn.0042c3d0
add esp, 0x10
mov eax, dword [0x51b98c]
mov ecx, dword [eax + 0xb4]
mov dword [eax + 0xb4], 0
lea eax, [ebp - 0x27c]
push eax
mov dword [ebp + 0x18], ecx
mov ecx, ebx
push esi
call fcn.0042ef80
test eax, eax
mov eax, dword [ebp + 0xc]
jne 0x43cd8e
test eax, eax
je 0x43cd41
push eax
push 0
push dword [ebp - 0x2c]
call fcn.004cc590
add esp, 0xc
mov eax, dword [ebp - 0x28]
add eax, 2
je 0x43cd55
push eax
push 0
push esi
call fcn.004cc590
add esp, 0xc
mov eax, dword [0x51b98c]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0xb4], ecx
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
test esi, esi
je 0x43c7f6
add esi, 0xfffffff8
cmp dword [esi], 0xdddd
jne 0x43c7f6
push esi
call fcn.004cfed0
add esp, 4
jmp 0x43c7f6
test eax, eax
je 0x43cda0
push eax
push 0
push dword [ebp - 0x2c]
call fcn.004cc590
add esp, 0xc
mov eax, dword [ebp - 0x28]
add eax, eax
je 0x43cdb3
push eax
push 0
push esi
call fcn.004cc590
add esp, 0xc
test esi, esi
je 0x43cdcb
add esi, 0xfffffff8
cmp dword [esi], 0xdddd
jne 0x43cdcb
push esi
call fcn.004cfed0
add esp, 4
mov eax, dword [0x51b98c]
mov ecx, dword [ebp + 0x18]
push 0
push edi
push dword [ebp + 8]
mov dword [eax + 0xb4], ecx
mov ecx, ebx
call fcn.0043d0f0
mov esi, eax
jmp 0x43c7f8
lea esi, [eax + 2]
push 0x50d030
push dword [ebp + 0x10]
mov word [eax], cx
call fcn.004cbf90
mov cl, byte [eax + 1]
add esp, 8
lea edx, [eax + 1]
cmp cl, 0x5c
je 0x43d062
mov ebx, 0x55
cmp cl, bl
je 0x43d04f
cmp cl, 0x75
je 0x43d04f
cmp cl, 0x7a
je 0x43d000
cmp cl, 0x5a
je 0x43d000
cmp cl, 0x73
je 0x43cfee
cmp cl, 0x53
je 0x43cfee
cmp cl, 0x74
je 0x43cfdc
cmp cl, 0x54
je 0x43cfdc
cmp cl, 0x61
je 0x43cfc1
cmp cl, 0x41
je 0x43cfc1
cmp cl, 0x77
je 0x43cfa6
cmp cl, 0x57
je 0x43cfa6
cmp cl, 0x78
je 0x43d000
cmp cl, 0x58
je 0x43d000
cmp cl, 0x69
je 0x43ce9e
cmp cl, 0x49
jne 0x43cec1
cmp byte [edx + 1], 0x36
jne 0x43cec1
movq xmm0, qword [str.INT64]
movq qword [esi], xmm0
mov eax, dword [0x50d064]
mov dword [esi + 8], eax
add esi, 0xa
inc edx
jmp 0x43d021
cmp cl, 0x69
je 0x43cf78
cmp cl, 0x49
je 0x43cf78
cmp cl, 0x68
je 0x43cf5c
cmp cl, 0x48
je 0x43cf5c
cmp cl, 0x63
je 0x43cf3e
cmp cl, 0x43
je 0x43cf3e
cmp cl, 0x66
je 0x43cf22
cmp cl, 0x46
je 0x43cf22
cmp cl, 0x64
je 0x43cf03
cmp cl, 0x44
jne 0x43d021
movq xmm0, qword [str.DOUBLE]
movq qword [esi], xmm0
mov eax, dword [0x50d094]
mov dword [esi + 8], eax
mov ax, word [0x50d098]
jmp 0x43d01a
movq xmm0, qword [str.FLOAT]
movq qword [esi], xmm0
mov eax, dword [0x50d088]
mov dword [esi + 8], eax
add esi, 0xa
jmp 0x43d021
movq xmm0, qword [str.CHAR]
movq qword [esi], xmm0
mov ax, word [0x50d07c]
mov word [esi + 8], ax
add esi, 8
jmp 0x43d021
movq xmm0, qword [str.SHORT]
movq qword [esi], xmm0
mov eax, dword [0x50d070]
mov dword [esi + 8], eax
add esi, 0xa
jmp 0x43d021
cmp byte [edx + 1], 0x5c
jne 0x43cf94
movzx eax, word [esi - 2]
cmp eax, 0x75
je 0x43cf94
cmp eax, 0x55
je 0x43cf94
add esi, 0xfffffffe
jmp 0x43d021
mov dword [esi], 0x4e0049
mov dword [esi + 4], 0x54
add esi, 6
jmp 0x43d021
movq xmm0, qword [str.WSTR]
movq qword [esi], xmm0
mov ax, word [0x50d058]
mov word [esi + 8], ax
add esi, 8
jmp 0x43d021
movq xmm0, qword [str.ASTR]
movq qword [esi], xmm0
mov ax, word [0x50d04c]
mov word [esi + 8], ax
add esi, 8
jmp 0x43d021
mov dword [esi], 0x540050
mov dword [esi + 4], 0x52
add esi, 6
jmp 0x43d021
mov dword [esi], 0x540053
mov dword [esi + 4], 0x52
add esi, 6
jmp 0x43d021
movq xmm0, qword [0x50d034]
movq qword [esi], xmm0
mov eax, dword [0x50d03c]
mov dword [esi + 8], eax
mov ax, word [0x50d040]
mov word [esi + 0xc], ax
add esi, 0xc
mov al, byte [edx + 1]
cmp al, 0x2a
je 0x43d030
cmp al, 0x70
je 0x43d030
cmp al, 0x50
jne 0x43d039
mov dword [esi], 0x2a
add esi, 2
mov eax, dword [0x50d09c]
mov dword [esi], eax
mov ax, word [0x50d0a0]
mov word [esi + 4], ax
add esi, 4
jmp 0x43d055
mov word [esi], bx
add esi, 2
mov cl, byte [edx + 1]
inc edx
cmp cl, 0x5c
jne 0x43ce17
mov ebx, dword [ebp - 0x1c]
mov dword [esi - 4], 0
mov edx, dword [ebx + 0xb00]
test edx, edx
je 0x43d0aa
cmp byte [ebp + 0x18], 0
je 0x43d0aa
lea ecx, [ebp - 0x784]
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43d085
sub ecx, esi
lea eax, [ebp - 0x784]
push eax
sar ecx, 1
push ecx
push 0x50d024
push edx
call fcn.0042c3d0
add esp, 0x10
lea eax, [ebp - 0x784]
push 0x2c
push eax
call fcn.004cbd94
add esp, 8
lea edx, [ebp - 0x784]
lea ecx, [eax + 2]
call fcn.004b1f80
push 0
push dword [ebp - 0x20]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043d0f0
mov esi, eax
jmp 0x43c7f8
xor esi, esi
jmp 0x43c827