Function at 0x43d170
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 0x4cce78
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.0042d1f0
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 [0x4fb59c], eax
jne 0x43d1e2
push ecx
mov ecx, ebx
call fcn.0043ce10
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
test ecx, ecx
jne 0x43d203
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43d1f1
sub ecx, edx
sar ecx, 1
mov dword [ebp + 0xc], ecx
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [ebp - 0x20], eax
cmp ecx, 0xfd
ja 0x43d3a0
mov eax, dword [sym.imp.VCRUNTIME140.dll_wcschr]
mov edx, esi
mov dword [ebp - 0x14], edx
mov ebx, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x34], eax
nop dword [eax]
mov edi, 0x4fb59c
nop word [eax + eax]
mov ecx, dword [edi]
cmp word [ecx], 0
je 0x43d32e
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 [0x4e7d64]
mov word [ecx + 8], ax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43d32b
test al, 0x10
jne 0x43d32b
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.00460280
mov ecx, dword [ebp - 0x24]
mov eax, 0x5c
mov word [esi - 2], ax
mov ecx, dword [ecx + 0xb00]
test ecx, ecx
je 0x43d2df
cmp byte [ebp + 0x18], 0
je 0x43d2df
mov eax, dword [edi]
push eax
push eax
push dword [edi + 4]
push str.Include___0.s_nIncludeAgain__s_n
push ecx
call fcn.0042d0f0
add esp, 0x14
mov eax, dword [0x4f8174]
mov ecx, dword [ebp - 0x24]
push 0
push 0
mov esi, dword [eax + 0xb4]
mov dword [eax + 0xb4], 0
push dword [edi]
call fcn.0042faa0
test eax, eax
mov eax, dword [0x4f8174]
mov dword [eax + 0xb4], esi
je 0x43d39a
mov ecx, dword [ebp - 0x24]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043dcb0
mov esi, eax
test esi, esi
jne 0x43d3a2
mov edx, dword [ebp - 0x14]
add edi, 8
cmp edi, 0x4fb5bc
jl 0x43d240
mov esi, dword [ebp + 8]
push 0x5f
push esi
call dword [ebp - 0x34]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43d3e9
sub ebx, esi
sar ebx, 1
cmp ebx, 0xfe
jae 0x43d3e9
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 - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 2
jge 0x43d3e6
mov edx, dword [ebp - 0x14]
jmp 0x43d230
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
xor esi, esi
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x43dc26
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x43d3c0
push eax
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test ebx, ebx
je 0x43dc26
cmp dword [ebx - 8], 0xdddd
lea eax, [ebx - 8]
mov ebx, dword [ebp - 0x20]
jne 0x43dc29
push eax
call ebx
add esp, 4
jmp 0x43dc29
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x28c]
lea ebx, [edi + edi]
push ebx
push esi
push eax
mov dword [ebp - 0x1c], ebx
call sub.VCRUNTIME140.dll_memcpy
movq xmm0, qword [str..ahk]
add esp, 0xc
mov ax, word [0x4e7d64]
movq qword [ebp + ebx - 0x28c], xmm0
mov word [ebp + ebx - 0x284], ax
lea eax, [ebp - 0x28c]
push 0x4ea5cc
push eax
push dword [0x4faae0]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x43d4f8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x28c]
push 0x4ea5cc
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x43d4ff
push 0x5f
push esi
call dword [ebp - 0x34]
add esp, 8
test eax, eax
je 0x43d799
sub eax, esi
sar eax, 1
cmp eax, 0xfe
jae 0x43d799
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 0x4ea5cc
push eax
push dword [0x4faae0]
call esi
mov ebx, eax
test ebx, ebx
jne 0x43d4f8
push 0x4ea5cc
lea eax, [ebp - 0x28c]
push eax
push ebx
call esi
mov ebx, eax
test ebx, ebx
je 0x43d799
mov eax, dword [ebp - 0x14]
jmp 0x43d501
mov eax, 1
jmp 0x43d501
xor eax, eax
xor esi, esi
test eax, eax
push ebx
cmovne esi, dword [0x4faae0]
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x43d799
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43d799
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x43d799
cmp dword [eax], 0x4034b50
mov dword [ebp + 0xc], 0
jne 0x43d5ff
push 0
push dword [ebp - 0x2c]
lea edx, [ebp - 0x1c]
mov ecx, eax
call fcn.004b3f60
mov ebx, eax
add esp, 8
mov dword [ebp + 0xc], ebx
test ebx, ebx
je 0x43d5ff
lea esi, [ebx + 2]
lea ecx, [esi + 8]
cmp esi, ecx
sbb eax, eax
and eax, ecx
je 0x43d5bd
cmp eax, 0x400
ja 0x43d5a1
call fcn.004cc6d0
mov eax, esp
mov dword [ebp - 0x18], eax
test eax, eax
je 0x43d5c2
mov dword [eax], 0xcccc
add eax, 8
jmp 0x43d5bf
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 0x43d5c2
mov dword [eax], 0xdddd
add eax, 8
jmp 0x43d5bf
xor eax, eax
mov dword [ebp - 0x18], eax
push ebx
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x1c]
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 - 0x20]
mov ecx, dword [ebp - 0x18]
lea eax, [ebx + 2]
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
jmp 0x43d602
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 0x43d64d
cmp eax, 0x400
ja 0x43d632
call fcn.004cc6d0
mov esi, esp
test esi, esi
je 0x43d64f
mov dword [esi], 0xcccc
add esi, 8
jmp 0x43d64f
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 0x43d64f
mov dword [esi], 0xdddd
add esi, 8
jmp 0x43d64f
xor esi, esi
push 0xfde9
push 0xc
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x8c]
call fcn.004ad860
push 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x8c]
push esi
call fcn.004ada50
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebx + 0xb00]
test edx, edx
je 0x43d6b1
cmp byte [ebp + 0x18], 0
je 0x43d6b1
mov ecx, esi
lea eax, [ecx + 2]
mov dword [ebp + 0x18], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43d691
sub ecx, dword [ebp + 0x18]
push esi
sar ecx, 1
push ecx
push 0x4ea5d4
push edx
call fcn.0042d0f0
add esp, 0x10
mov eax, dword [0x4f8174]
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.0042fa20
test eax, eax
mov eax, dword [ebp + 0xc]
jne 0x43d73c
test eax, eax
je 0x43d6f1
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 0x43d705
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [0x4f8174]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0xb4], ecx
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
test esi, esi
je 0x43d3a0
add esi, 0xfffffff8
cmp dword [esi], 0xdddd
jne 0x43d3a0
push esi
call dword [ebp - 0x20]
add esp, 4
jmp 0x43d3a0
test eax, eax
je 0x43d74e
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 0x43d761
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test esi, esi
je 0x43d777
add esi, 0xfffffff8
cmp dword [esi], 0xdddd
jne 0x43d777
push esi
call dword [ebp - 0x20]
add esp, 4
mov eax, dword [0x4f8174]
mov ecx, dword [ebp + 0x18]
push 0
push edi
push dword [ebp + 8]
mov dword [eax + 0xb4], ecx
mov ecx, ebx
call fcn.0043dcb0
mov esi, eax
jmp 0x43d3a2
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 [0x4fb594]
mov dword [ebp - 0x38], esi
call esi
add esp, 8
test eax, eax
je 0x43dc1d
mov ecx, 0x2c
mov word [ebp - 0x780], cx
mov ecx, dword [0x4fb598]
sub ecx, dword [0x4fb594]
add eax, ecx
push 0x4ceca4
push eax
mov dword [ebp + 0x10], eax
call esi
push 0x4e5fc4
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 - 0x1c]
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 - 0x1c]
cmp word [ecx + ebx - 2], 0x5f
lea eax, [ecx + esi]
mov ecx, 0x2c
jne 0x43d922
mov word [eax - 2], cx
mov esi, eax
xor ecx, ecx
jmp 0x43d925
lea esi, [eax + 2]
push 0x4ea5e0
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 0x43dba2
mov ebx, 0x55
nop word [eax + eax]
cmp cl, bl
je 0x43db8f
cmp cl, 0x75
je 0x43db8f
cmp cl, 0x7a
je 0x43db40
cmp cl, 0x5a
je 0x43db40
cmp cl, 0x73
je 0x43db2e
cmp cl, 0x53
je 0x43db2e
cmp cl, 0x74
je 0x43db1c
cmp cl, 0x54
je 0x43db1c
cmp cl, 0x61
je 0x43db01
cmp cl, 0x41
je 0x43db01
cmp cl, 0x77
je 0x43dae6
cmp cl, 0x57
je 0x43dae6
cmp cl, 0x78
je 0x43db40
cmp cl, 0x58
je 0x43db40
cmp cl, 0x69
je 0x43d9d7
cmp cl, 0x49
jne 0x43d9fa
cmp byte [edx + 1], 0x36
jne 0x43d9fa
movq xmm0, qword [str.INT64]
movq qword [esi], xmm0
mov eax, dword [0x4ea614]
mov dword [esi + 8], eax
add esi, 0xa
inc edx
jmp 0x43db61
cmp cl, 0x69
je 0x43dab5
cmp cl, 0x49
je 0x43dab5
cmp cl, 0x68
je 0x43da99
cmp cl, 0x48
je 0x43da99
cmp cl, 0x63
je 0x43da7b
cmp cl, 0x43
je 0x43da7b
cmp cl, 0x66
je 0x43da5f
cmp cl, 0x46
je 0x43da5f
cmp cl, 0x64
je 0x43da40
cmp cl, 0x44
jne 0x43db61
movq xmm0, qword [str.DOUBLE]
movq qword [esi], xmm0
mov eax, dword [0x4ea644]
mov dword [esi + 8], eax
mov ax, word [0x4ea648]
jmp 0x43db5a
movq xmm0, qword [str.FLOAT]
movq qword [esi], xmm0
mov eax, dword [0x4ea638]
mov dword [esi + 8], eax
add esi, 0xa
jmp 0x43db61
movq xmm0, qword [str.CHAR]
movq qword [esi], xmm0
mov ax, word [0x4ea62c]
mov word [esi + 8], ax
add esi, 8
jmp 0x43db61
movq xmm0, qword [str.SHORT]
movq qword [esi], xmm0
mov eax, dword [0x4ea620]
mov dword [esi + 8], eax
add esi, 0xa
jmp 0x43db61
cmp byte [edx + 1], 0x5c
jne 0x43dad1
movzx eax, word [esi - 2]
cmp eax, 0x75
je 0x43dad1
cmp eax, 0x55
je 0x43dad1
add esi, 0xfffffffe
jmp 0x43db61
mov dword [esi], 0x4e0049
mov dword [esi + 4], 0x54
add esi, 6
jmp 0x43db61
movq xmm0, qword [str.WSTR]
movq qword [esi], xmm0
mov ax, word [0x4ea608]
mov word [esi + 8], ax
add esi, 8
jmp 0x43db61
movq xmm0, qword [str.ASTR]
movq qword [esi], xmm0
mov ax, word [0x4ea5fc]
mov word [esi + 8], ax
add esi, 8
jmp 0x43db61
mov dword [esi], 0x540050
mov dword [esi + 4], 0x52
add esi, 6
jmp 0x43db61
mov dword [esi], 0x540053
mov dword [esi + 4], 0x52
add esi, 6
jmp 0x43db61
movq xmm0, qword [0x4ea5e4]
movq qword [esi], xmm0
mov eax, dword [0x4ea5ec]
mov dword [esi + 8], eax
mov ax, word [0x4ea5f0]
mov word [esi + 0xc], ax
add esi, 0xc
mov al, byte [edx + 1]
cmp al, 0x2a
je 0x43db70
cmp al, 0x70
je 0x43db70
cmp al, 0x50
jne 0x43db79
mov dword [esi], 0x2a
add esi, 2
mov eax, dword [0x4ea64c]
mov dword [esi], eax
mov ax, word [0x4ea650]
mov word [esi + 4], ax
add esi, 4
jmp 0x43db95
mov word [esi], bx
add esi, 2
mov cl, byte [edx + 1]
inc edx
cmp cl, 0x5c
jne 0x43d950
mov ebx, dword [ebp - 0x24]
mov dword [esi - 4], 0
mov edx, dword [ebx + 0xb00]
test edx, edx
je 0x43dbea
cmp byte [ebp + 0x18], 0
je 0x43dbea
lea ecx, [ebp - 0x794]
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43dbc5
sub ecx, esi
lea eax, [ebp - 0x794]
push eax
sar ecx, 1
push ecx
push 0x4ea5d4
push edx
call fcn.0042d0f0
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.004b2e30
push 0
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043dcb0
mov esi, eax
jmp 0x43d3a2
xor esi, esi
xor ebx, ebx
jmp 0x43d3c0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x8c], vtable.TextMem.0
test eax, eax
je 0x43dc63
cmp byte [ebp - 0x50], 0
je 0x43dc5c
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x43dc56
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 0x43dc8c
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