Function at 0x43d9d0
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 0x4cdc18
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.0042d760
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 [0x4fc51c], eax
jne 0x43da42
push ecx
mov ecx, ebx
call fcn.0043d670
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jne 0x43da66
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43da54
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 0x43dc00
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, 0x4fc51c
nop word [eax + eax]
mov ecx, dword [edi]
cmp word [ecx], 0
je 0x43db8e
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 [0x4e8d64]
mov word [ecx + 8], ax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43db8b
test al, 0x10
jne 0x43db8b
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.004610b0
mov ecx, dword [ebp - 0x24]
mov eax, 0x5c
mov word [esi - 2], ax
mov ecx, dword [ecx + 0xb00]
test ecx, ecx
je 0x43db3f
cmp byte [ebp + 0x18], 0
je 0x43db3f
mov eax, dword [edi]
push eax
push eax
push dword [edi + 4]
push str.Include___0.s_nIncludeAgain__s_n
push ecx
call fcn.0042d660
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.00430020
test eax, eax
mov eax, dword [0x4f90f4]
mov dword [eax + 0xb4], esi
je 0x43dbfa
mov ecx, dword [ebp - 0x24]
push 0
push dword [ebp - 0x1c]
push dword [ebp + 8]
call fcn.0043e520
mov esi, eax
test esi, esi
jne 0x43dc02
mov edx, dword [ebp - 0x14]
add edi, 8
cmp edi, 0x4fc53c
jl 0x43daa0
mov esi, dword [ebp + 8]
push 0x5f
push esi
call dword [ebp - 0x34]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43dc49
sub ebx, esi
sar ebx, 1
cmp ebx, 0xfe
jae 0x43dc49
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 0x43dc46
mov edx, dword [ebp - 0x14]
jmp 0x43da90
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
xor esi, esi
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x43e494
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x43dc20
push eax
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test ebx, ebx
je 0x43e494
cmp dword [ebx - 8], 0xdddd
lea eax, [ebx - 8]
mov ebx, dword [ebp + 0xc]
jne 0x43e497
push eax
call ebx
add esp, 4
jmp 0x43e497
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 [0x4e8d64]
movq qword [ebp + ebx - 0x28c], xmm0
mov word [ebp + ebx - 0x284], ax
lea eax, [ebp - 0x28c]
push 0x4eb5cc
push eax
push dword [0x4fba60]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x43dd58
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x28c]
push 0x4eb5cc
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x43dd5f
push 0x5f
push esi
call dword [ebp - 0x34]
add esp, 8
test eax, eax
je 0x43dff9
sub eax, esi
sar eax, 1
cmp eax, 0xfe
jae 0x43dff9
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 0x4eb5cc
push eax
push dword [0x4fba60]
call esi
mov ebx, eax
test ebx, ebx
jne 0x43dd58
push 0x4eb5cc
lea eax, [ebp - 0x28c]
push eax
push ebx
call esi
mov ebx, eax
test ebx, ebx
je 0x43dff9
mov eax, dword [ebp - 0x14]
jmp 0x43dd61
mov eax, 1
jmp 0x43dd61
xor eax, eax
xor esi, esi
test eax, eax
push ebx
cmovne esi, dword [0x4fba60]
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x43dff9
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43dff9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x43dff9
cmp dword [eax], 0x4034b50
mov dword [ebp - 0x1c], 0
jne 0x43de5f
push 0
push dword [ebp - 0x2c]
lea edx, [ebp - 0x20]
mov ecx, eax
call fcn.004b4960
mov ebx, eax
add esp, 8
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x43de5f
lea esi, [ebx + 2]
lea ecx, [esi + 8]
cmp esi, ecx
sbb eax, eax
and eax, ecx
je 0x43de1d
cmp eax, 0x400
ja 0x43de01
call fcn.004cd470
mov eax, esp
mov dword [ebp - 0x18], eax
test eax, eax
je 0x43de22
mov dword [eax], 0xcccc
add eax, 8
jmp 0x43de1f
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 0x43de22
mov dword [eax], 0xdddd
add eax, 8
jmp 0x43de1f
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 0x43de62
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 0x43dead
cmp eax, 0x400
ja 0x43de92
call fcn.004cd470
mov esi, esp
test esi, esi
je 0x43deaf
mov dword [esi], 0xcccc
add esi, 8
jmp 0x43deaf
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 0x43deaf
mov dword [esi], 0xdddd
add esi, 8
jmp 0x43deaf
xor esi, esi
push 0xfde9
push 0xc
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x8c]
call fcn.004ae250
push 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x8c]
push esi
call fcn.004ae440
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebx + 0xb00]
test edx, edx
je 0x43df11
cmp byte [ebp + 0x18], 0
je 0x43df11
mov ecx, esi
lea eax, [ecx + 2]
mov dword [ebp + 0x18], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43def1
sub ecx, dword [ebp + 0x18]
push esi
sar ecx, 1
push ecx
push str._s_n
push edx
call fcn.0042d660
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.0042ffa0
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x43df9c
test eax, eax
je 0x43df51
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 0x43df65
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 0x43dc00
add esi, 0xfffffff8
cmp dword [esi], 0xdddd
jne 0x43dc00
push esi
call dword [ebp + 0xc]
add esp, 4
jmp 0x43dc00
test eax, eax
je 0x43dfae
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 0x43dfc1
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test esi, esi
je 0x43dfd7
add esi, 0xfffffff8
cmp dword [esi], 0xdddd
jne 0x43dfd7
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.0043e520
mov esi, eax
jmp 0x43dc02
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], str.5I5R
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 [0x4fc514]
mov dword [ebp - 0x38], esi
call esi
add esp, 8
test eax, eax
je 0x43e48b
mov ecx, 0x2c
mov word [ebp - 0x780], cx
mov ecx, dword [0x4fc518]
sub ecx, dword [0x4fc514]
add eax, ecx
push 0x4cfca4
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 0x43e182
mov word [eax - 2], cx
mov esi, eax
xor ecx, ecx
jmp 0x43e185
lea esi, [eax + 2]
push 0x4eb5e0
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 0x43e410
mov ebx, 0x55
nop word [eax + eax]
cmp cl, bl
je 0x43e3fd
cmp cl, 0x75
je 0x43e3fd
cmp cl, 0x7a
je 0x43e3ae
cmp cl, 0x5a
je 0x43e3ae
cmp cl, 0x73
je 0x43e39c
cmp cl, 0x53
je 0x43e39c
cmp cl, 0x74
je 0x43e38a
cmp cl, 0x54
je 0x43e38a
cmp cl, 0x61
je 0x43e36f
cmp cl, 0x41
je 0x43e36f
cmp cl, 0x77
je 0x43e354
cmp cl, 0x57
je 0x43e354
cmp cl, 0x78
je 0x43e3ae
cmp cl, 0x58
je 0x43e3ae
cmp cl, 0x69
je 0x43e2a7
cmp cl, 0x49
je 0x43e2a7
lea edi, [edx + 1]
cmp cl, 0x69
je 0x43e324
cmp cl, 0x49
je 0x43e324
cmp cl, 0x68
je 0x43e308
cmp cl, 0x48
je 0x43e308
cmp cl, 0x63
je 0x43e2ea
cmp cl, 0x43
je 0x43e2ea
cmp cl, 0x66
je 0x43e2ce
cmp cl, 0x46
je 0x43e2ce
cmp cl, 0x64
je 0x43e288
cmp cl, 0x44
jne 0x43e3cf
movq xmm0, qword [str.DOUBLE]
movq qword [esi], xmm0
mov eax, dword [0x4eb644]
mov dword [esi + 8], eax
mov ax, word [0x4eb648]
jmp 0x43e3c8
cmp byte [edx + 1], 0x36
lea edi, [edx + 1]
jne 0x43e23a
movq xmm0, qword [str.INT64]
mov edx, edi
movq qword [esi], xmm0
mov eax, dword [0x4eb614]
mov dword [esi + 8], eax
add esi, 0xa
jmp 0x43e3cf
movq xmm0, qword [str.FLOAT]
movq qword [esi], xmm0
mov eax, dword [0x4eb638]
mov dword [esi + 8], eax
add esi, 0xa
jmp 0x43e3cf
movq xmm0, qword [str.CHAR]
movq qword [esi], xmm0
mov ax, word [0x4eb62c]
mov word [esi + 8], ax
add esi, 8
jmp 0x43e3cf
movq xmm0, qword [str.SHORT]
movq qword [esi], xmm0
mov eax, dword [0x4eb620]
mov dword [esi + 8], eax
add esi, 0xa
jmp 0x43e3cf
cmp byte [edi], 0x5c
jne 0x43e33f
movzx eax, word [esi - 2]
cmp eax, 0x75
je 0x43e33f
cmp eax, 0x55
je 0x43e33f
add esi, 0xfffffffe
jmp 0x43e3cf
mov dword [esi], 0x4e0049
mov dword [esi + 4], 0x54
add esi, 6
jmp 0x43e3cf
movq xmm0, qword [str.WSTR]
movq qword [esi], xmm0
mov ax, word [0x4eb608]
mov word [esi + 8], ax
add esi, 8
jmp 0x43e3cf
movq xmm0, qword [str.ASTR]
movq qword [esi], xmm0
mov ax, word [0x4eb5fc]
mov word [esi + 8], ax
add esi, 8
jmp 0x43e3cf
mov dword [esi], 0x540050
mov dword [esi + 4], 0x52
add esi, 6
jmp 0x43e3cf
mov dword [esi], 0x540053
mov dword [esi + 4], 0x52
add esi, 6
jmp 0x43e3cf
movq xmm0, qword [0x4eb5e4]
movq qword [esi], xmm0
mov eax, dword [0x4eb5ec]
mov dword [esi + 8], eax
mov ax, word [0x4eb5f0]
mov word [esi + 0xc], ax
add esi, 0xc
mov al, byte [edx + 1]
cmp al, 0x2a
je 0x43e3de
cmp al, 0x70
je 0x43e3de
cmp al, 0x50
jne 0x43e3e7
mov dword [esi], 0x2a
add esi, 2
mov eax, dword [0x4eb64c]
mov dword [esi], eax
mov ax, word [0x4eb650]
mov word [esi + 4], ax
add esi, 4
jmp 0x43e403
mov word [esi], bx
add esi, 2
mov cl, byte [edx + 1]
inc edx
cmp cl, 0x5c
jne 0x43e1b0
mov ebx, dword [ebp - 0x24]
mov dword [esi - 4], 0
mov edx, dword [ebx + 0xb00]
test edx, edx
je 0x43e458
cmp byte [ebp + 0x18], 0
je 0x43e458
lea ecx, [ebp - 0x794]
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43e433
sub ecx, esi
lea eax, [ebp - 0x794]
push eax
sar ecx, 1
push ecx
push str._s_n
push edx
call fcn.0042d660
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.004b3830
push 0
push dword [ebp - 0x1c]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043e520
mov esi, eax
jmp 0x43dc02
xor esi, esi
xor ebx, ebx
jmp 0x43dc20
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x8c], vtable.TextMem.0
test eax, eax
je 0x43e4d1
cmp byte [ebp - 0x50], 0
je 0x43e4ca
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x43e4c4
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 0x43e4fa
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