Function at 0x43c600
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 0x4cc1d8
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.0042c490
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 [0x4fa50c], eax
jne 0x43c672
push ecx
mov ecx, ebx
call fcn.0043c2a0
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jne 0x43c696
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c684
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 0x43c82c
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, 0x4fa50c
nop word [eax + eax]
mov ecx, dword [edi]
cmp word [ecx], 0
je 0x43c7be
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 [0x4e6d68]
mov word [ecx + 8], ax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43c7bb
test al, 0x10
jne 0x43c7bb
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.00461230
mov ecx, dword [ebp - 0x24]
mov eax, 0x5c
mov word [esi - 2], ax
mov ecx, dword [ecx + 0xb00]
test ecx, ecx
je 0x43c76f
cmp byte [ebp + 0x18], 0
je 0x43c76f
mov eax, dword [edi]
push eax
push eax
push dword [edi + 4]
push str.Include___0.s_nIncludeAgain__s_n
push ecx
call fcn.0042c3b0
add esp, 0x14
mov eax, dword [0x4f70f4]
mov ecx, dword [ebp - 0x24]
push 0
push 0
mov esi, dword [eax + 0xb4]
mov dword [eax + 0xb4], 0
push dword [edi]
call fcn.0042efe0
test eax, eax
mov eax, dword [0x4f70f4]
mov dword [eax + 0xb4], esi
je 0x43c826
mov ecx, dword [ebp - 0x24]
push 0
push dword [ebp - 0x1c]
push dword [ebp + 8]
call fcn.0043d120
mov esi, eax
test esi, esi
jne 0x43c82e
mov edx, dword [ebp - 0x14]
add edi, 8
cmp edi, 0x4fa52c
jl 0x43c6d0
mov esi, dword [ebp + 8]
push 0x5f
push esi
call dword [ebp - 0x34]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43c86d
sub ebx, esi
sar ebx, 1
cmp ebx, 0xfe
jae 0x43c86d
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 0x43c86a
mov edx, dword [ebp - 0x14]
jmp 0x43c6c0
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
xor esi, esi
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x43d09b
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x43c84c
push eax
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [ebx - 8], 0xdddd
lea eax, [ebx - 8]
jne 0x43d09b
mov ebx, dword [ebp + 0xc]
push eax
call ebx
add esp, 4
jmp 0x43d09e
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 [0x4e6d68]
movq qword [ebp + ebx - 0x28c], xmm0
mov word [ebp + ebx - 0x284], ax
lea eax, [ebp - 0x28c]
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0x4e9624
push eax
push dword [0x4f9a50]
call ebx
mov esi, eax
test esi, esi
jne 0x43c97d
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x28c]
push 0x4e9624
push eax
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x43c984
mov ebx, dword [ebp + 8]
push 0x5f
push ebx
call dword [ebp - 0x34]
add esp, 8
test eax, eax
je 0x43cc21
sub eax, ebx
sar eax, 1
cmp eax, 0xfe
jae 0x43cc21
lea esi, [eax + eax]
push esi
lea eax, [ebp - 0x28c]
push ebx
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]
push 0x4e9624
push eax
push dword [0x4f9a50]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x43c97d
push 0x4e9624
lea eax, [ebp - 0x28c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x43cc21
mov eax, dword [ebp - 0x14]
jmp 0x43c986
mov eax, 1
jmp 0x43c986
xor eax, eax
xor ebx, ebx
test eax, eax
push esi
cmovne ebx, dword [0x4f9a50]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x43cc1e
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43cc1e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x43cc1e
cmp dword [eax], 0x4034b50
mov dword [ebp - 0x1c], 0
jne 0x43ca84
push 0
push dword [ebp - 0x2c]
lea edx, [ebp - 0x20]
mov ecx, eax
call fcn.004b3140
mov ebx, eax
add esp, 8
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x43ca84
lea esi, [ebx + 2]
lea ecx, [esi + 8]
cmp esi, ecx
sbb eax, eax
and eax, ecx
je 0x43ca42
cmp eax, 0x400
ja 0x43ca26
call fcn.004cb9e0
mov eax, esp
mov dword [ebp - 0x18], eax
test eax, eax
je 0x43ca47
mov dword [eax], 0xcccc
add eax, 8
jmp 0x43ca44
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 0x43ca47
mov dword [eax], 0xdddd
add eax, 8
jmp 0x43ca44
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 0x43ca87
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 0x43cad2
cmp eax, 0x400
ja 0x43cab7
call fcn.004cb9e0
mov esi, esp
test esi, esi
je 0x43cad4
mov dword [esi], 0xcccc
add esi, 8
jmp 0x43cad4
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 0x43cad4
mov dword [esi], 0xdddd
add esi, 8
jmp 0x43cad4
xor esi, esi
push 0xfde9
push 0xc
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x8c]
call fcn.004aca90
push 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x8c]
push esi
call fcn.004acc80
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebx + 0xb00]
test edx, edx
je 0x43cb36
cmp byte [ebp + 0x18], 0
je 0x43cb36
mov ecx, esi
lea eax, [ecx + 2]
mov dword [ebp + 0x18], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43cb16
sub ecx, dword [ebp + 0x18]
push esi
sar ecx, 1
push ecx
push str._s_n
push edx
call fcn.0042c3b0
add esp, 0x10
mov eax, dword [0x4f70f4]
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.0042ef60
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x43cbc1
test eax, eax
je 0x43cb76
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 0x43cb8a
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [0x4f70f4]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0xb4], ecx
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
test esi, esi
je 0x43c82c
add esi, 0xfffffff8
cmp dword [esi], 0xdddd
jne 0x43c82c
push esi
call dword [ebp + 0xc]
add esp, 4
jmp 0x43c82c
test eax, eax
je 0x43cbd3
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 0x43cbe6
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test esi, esi
je 0x43cbfc
add esi, 0xfffffff8
cmp dword [esi], 0xdddd
jne 0x43cbfc
push esi
call dword [ebp + 0xc]
add esp, 4
mov eax, dword [0x4f70f4]
mov ecx, dword [ebp + 0x18]
push 0
push edi
push dword [ebp + 8]
mov dword [eax + 0xb4], ecx
mov ecx, ebx
call fcn.0043d120
mov esi, eax
jmp 0x43c82e
mov ebx, dword [ebp + 8]
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
add esp, 0xc
lea esi, [edi + edi]
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 [0x4fa504]
mov dword [ebp - 0x38], esi
call esi
add esp, 8
test eax, eax
je 0x43d099
mov ecx, 0x2c
mov word [ebp - 0x780], cx
mov ecx, dword [0x4fa508]
sub ecx, dword [0x4fa504]
add eax, ecx
push 0x4cdcb4
push eax
mov dword [ebp + 0x10], eax
call esi
push 0x4e4fc4
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 0x43cda7
mov word [eax - 2], cx
mov esi, eax
xor ecx, ecx
jmp 0x43cdaa
lea esi, [eax + 2]
push 0x4e9638
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 0x43d01e
mov ebx, 0x55
nop
cmp cl, bl
je 0x43d00b
cmp cl, 0x75
je 0x43d00b
cmp cl, 0x7a
je 0x43cfbc
cmp cl, 0x5a
je 0x43cfbc
cmp cl, 0x73
je 0x43cfaa
cmp cl, 0x53
je 0x43cfaa
cmp cl, 0x74
je 0x43cf98
cmp cl, 0x54
je 0x43cf98
cmp cl, 0x61
je 0x43cf7d
cmp cl, 0x41
je 0x43cf7d
cmp cl, 0x77
je 0x43cf62
cmp cl, 0x57
je 0x43cf62
cmp cl, 0x78
je 0x43cfbc
cmp cl, 0x58
je 0x43cfbc
cmp cl, 0x69
je 0x43ce57
cmp cl, 0x49
jne 0x43ce7a
cmp byte [edx + 1], 0x36
jne 0x43ce7a
movq xmm0, qword [str.INT64]
movq qword [esi], xmm0
mov eax, dword [0x4e966c]
mov dword [esi + 8], eax
add esi, 0xa
inc edx
jmp 0x43cfdd
cmp cl, 0x69
je 0x43cf31
cmp cl, 0x49
je 0x43cf31
cmp cl, 0x68
je 0x43cf15
cmp cl, 0x48
je 0x43cf15
cmp cl, 0x63
je 0x43cef7
cmp cl, 0x43
je 0x43cef7
cmp cl, 0x66
je 0x43cedb
cmp cl, 0x46
je 0x43cedb
cmp cl, 0x64
je 0x43cebc
cmp cl, 0x44
jne 0x43cfdd
movq xmm0, qword [str.DOUBLE]
movq qword [esi], xmm0
mov eax, dword [0x4e969c]
mov dword [esi + 8], eax
mov ax, word [0x4e96a0]
jmp 0x43cfd6
movq xmm0, qword [str.FLOAT]
movq qword [esi], xmm0
mov eax, dword [0x4e9690]
mov dword [esi + 8], eax
add esi, 0xa
jmp 0x43cfdd
movq xmm0, qword [str.CHAR]
movq qword [esi], xmm0
mov ax, word [0x4e9684]
mov word [esi + 8], ax
add esi, 8
jmp 0x43cfdd
movq xmm0, qword [str.SHORT]
movq qword [esi], xmm0
mov eax, dword [0x4e9678]
mov dword [esi + 8], eax
add esi, 0xa
jmp 0x43cfdd
cmp byte [edx + 1], 0x5c
jne 0x43cf4d
movzx eax, word [esi - 2]
cmp eax, 0x75
je 0x43cf4d
cmp eax, 0x55
je 0x43cf4d
add esi, 0xfffffffe
jmp 0x43cfdd
mov dword [esi], 0x4e0049
mov dword [esi + 4], 0x54
add esi, 6
jmp 0x43cfdd
movq xmm0, qword [str.WSTR]
movq qword [esi], xmm0
mov ax, word [0x4e9660]
mov word [esi + 8], ax
add esi, 8
jmp 0x43cfdd
movq xmm0, qword [str.ASTR]
movq qword [esi], xmm0
mov ax, word [0x4e9654]
mov word [esi + 8], ax
add esi, 8
jmp 0x43cfdd
mov dword [esi], 0x540050
mov dword [esi + 4], 0x52
add esi, 6
jmp 0x43cfdd
mov dword [esi], 0x540053
mov dword [esi + 4], 0x52
add esi, 6
jmp 0x43cfdd
movq xmm0, qword [0x4e963c]
movq qword [esi], xmm0
mov eax, dword [0x4e9644]
mov dword [esi + 8], eax
mov ax, word [0x4e9648]
mov word [esi + 0xc], ax
add esi, 0xc
mov al, byte [edx + 1]
cmp al, 0x2a
je 0x43cfec
cmp al, 0x70
je 0x43cfec
cmp al, 0x50
jne 0x43cff5
mov dword [esi], 0x2a
add esi, 2
mov eax, dword [0x4e96a4]
mov dword [esi], eax
mov ax, word [0x4e96a8]
mov word [esi + 4], ax
add esi, 4
jmp 0x43d011
mov word [esi], bx
add esi, 2
mov cl, byte [edx + 1]
inc edx
cmp cl, 0x5c
jne 0x43cdd0
mov ebx, dword [ebp - 0x24]
mov dword [esi - 4], 0
mov edx, dword [ebx + 0xb00]
test edx, edx
je 0x43d066
cmp byte [ebp + 0x18], 0
je 0x43d066
lea ecx, [ebp - 0x794]
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43d041
sub ecx, esi
lea eax, [ebp - 0x794]
push eax
sar ecx, 1
push ecx
push str._s_n
push edx
call fcn.0042c3b0
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.004b20f0
push 0
push dword [ebp - 0x1c]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043d120
mov esi, eax
jmp 0x43c82e
xor esi, esi
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x8c], vtable.TextMem.0
test eax, eax
je 0x43d0d8
cmp byte [ebp - 0x50], 0
je 0x43d0d1
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x43d0cb
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 0x43d101
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