Function at 0x438490
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 0x4b82b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x77c
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov ebx, ecx
lea ecx, [ebp - 0x7c]
mov byte [eax], 0
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x20], ebx
mov byte [eax], 0
call fcn.00404d60
mov dword [ebp - 0x7c], vtable.TextMem.0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
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 - 0x18], eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
cmp dword [0x4e6500], eax
jne 0x43851f
push ecx
mov ecx, ebx
call fcn.00438130
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
test ecx, ecx
jne 0x438542
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438530
sub ecx, edx
sar ecx, 1
mov dword [ebp + 0xc], ecx
cmp ecx, 0xfd
ja 0x4386d3
mov edx, esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], edx
mov ebx, ecx
nop dword [eax]
mov edi, 0x4e6500
nop word [eax + eax]
mov ecx, dword [edi]
cmp word [ecx], 0
je 0x43865e
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 [0x4d2d28]
mov word [ecx + 8], ax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43865b
test al, 0x10
jne 0x43865b
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.004599d0
mov ecx, dword [ebp - 0x20]
mov eax, 0x5c
mov word [esi - 2], ax
mov ecx, dword [ecx + 0xb00]
test ecx, ecx
je 0x43860f
cmp byte [ebp + 0x18], 0
je 0x43860f
mov eax, dword [edi]
push eax
push eax
push dword [edi + 4]
push str.Include___0.s_nIncludeAgain__s_n
push ecx
call fcn.0042a830
add esp, 0x14
mov eax, dword [0x4e30f4]
mov ecx, dword [ebp - 0x20]
push 0
push 0
mov esi, dword [eax + 0xb4]
mov dword [eax + 0xb4], 0
push dword [edi]
call fcn.0042d0a0
test eax, eax
mov eax, dword [0x4e30f4]
mov dword [eax + 0xb4], esi
je 0x4386cd
mov ecx, dword [ebp - 0x20]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00439000
mov esi, eax
test esi, esi
jne 0x4386d5
mov edx, dword [ebp - 0x14]
add edi, 8
cmp edi, 0x4e6520
jl 0x438570
mov esi, dword [ebp + 8]
push 0x5f
push esi
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43871d
sub ebx, esi
sar ebx, 1
cmp ebx, 0xfe
jae 0x43871d
lea esi, [ebx + ebx]
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x27c]
push eax
mov dword [ebp - 0x14], eax
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
add esp, 0xc
mov word [ebp + esi - 0x27c], ax
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 2
jge 0x43871a
mov edx, dword [ebp - 0x14]
jmp 0x438560
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
xor esi, esi
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x438f7b
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x4386f9
mov edx, ecx
xor eax, eax
shr ecx, 2
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
cmp dword [ebx - 8], 0xdddd
lea eax, [ebx - 8]
jne 0x438f7b
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push eax
call ebx
add esp, 4
jmp 0x438f81
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x27c]
lea edi, [ebx + ebx]
push edi
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
movq xmm0, qword [str..ahk]
add esp, 0xc
mov ax, word [0x4d2d28]
movq qword [ebp + edi - 0x27c], xmm0
mov word [ebp + edi - 0x274], ax
lea eax, [ebp - 0x27c]
push 0x4d55e4
push eax
push dword [0x4e5a50]
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4389b0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x27c]
push 0x4d55e4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4389b0
push 0x5f
push dword [ebp + 8]
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
add esp, 8
test eax, eax
je 0x43882a
mov ecx, dword [ebp + 8]
sub eax, ecx
sar eax, 1
cmp eax, 0xfe
jae 0x43882a
lea esi, [eax + eax]
push esi
push ecx
lea eax, [ebp - 0x27c]
push eax
call sub.VCRUNTIME140.dll_memcpy
movq xmm0, qword [str..ahk]
add esp, 0xc
xor eax, eax
movq qword [ebp + esi - 0x27c], xmm0
mov word [ebp + esi - 0x274], ax
lea eax, [ebp - 0x27c]
push 0x4d55e4
push eax
push dword [0x4e5a50]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4389a9
push 0x4d55e4
lea eax, [ebp - 0x27c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4389b0
push 0x3ea
lea eax, [ebp - 0x76e]
mov dword [ebp - 0x784], 0x440023
push 0
mov esi, 0x2c
mov dword [ebp - 0x780], 0x6c006c
push eax
mov dword [ebp - 0x77c], 0x6d0049
mov dword [ebp - 0x778], 0x6f0070
mov dword [ebp - 0x774], 0x740072
mov word [ebp - 0x770], si
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x76e]
push edi
push dword [ebp + 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov word [ebp + edi - 0x76e], si
lea eax, [ebp - 0x76c]
mov byte [ebp - 0x384], 0x5c
add eax, edi
xor ecx, ecx
mov dword [ebp + 0x14], eax
push 0x103
push ecx
mov word [eax], cx
lea eax, [ebp - 0x383]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebx + 1]
push 0
push 0
push eax
lea eax, [ebp - 0x383]
push eax
push ebx
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x384]
mov word [ebp + ebx - 0x383], si
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
mov edi, dword [sym.imp.VCRUNTIME140.dll_strstr]
lea eax, [ebp - 0x384]
push eax
push dword [0x4e64f8]
call edi
add esp, 8
test eax, eax
je 0x438f79
mov ecx, dword [0x4e64fc]
sub ecx, dword [0x4e64f8]
add eax, ecx
mov word [ebp - 0x770], si
push 0x4b9cb4
push eax
mov dword [ebp + 0x10], eax
call edi
push 0x4d0f84
lea esi, [eax + 1]
push esi
call edi
add esp, 0x10
mov edi, 1
sub edi, esi
add edi, eax
push edi
push dword [ebp + 0x14]
push edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0xfde9
call esi
mov eax, dword [ebp + 0x14]
lea ecx, [eax + edi*2]
lea eax, [ebx*2 + 2]
mov dword [ebp + 0x14], ecx
push eax
push ecx
lea eax, [ebx + 1]
push eax
mov eax, dword [ebp + 0x10]
inc eax
push eax
push 0
push 0xfde9
call esi
mov edi, dword [ebp + 8]
mov ecx, 0x2c
mov eax, dword [ebp + 0x14]
cmp word [edi + ebx*2 - 2], 0x5f
jne 0x438c78
lea esi, [eax + ebx*2]
mov dword [esi - 2], ecx
jmp 0x438c82
mov dword [ebp - 0x14], 1
xor eax, eax
cmp dword [ebp - 0x14], eax
push esi
cmovne eax, dword [0x4e5a50]
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x43882a
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43882a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x43882a
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor edi, edi
cmp dword [eax], 0x4034b50
jne 0x438ac6
push edi
push dword [ebp - 0x28]
lea edx, [ebp - 0x1c]
mov ecx, eax
call fcn.0049fd70
mov edi, eax
add esp, 8
mov dword [ebp - 0x14], edi
test edi, edi
je 0x438ac6
lea esi, [edi + 2]
lea ecx, [esi + 8]
cmp esi, ecx
sbb eax, eax
and eax, ecx
je 0x438a6e
cmp eax, 0x400
ja 0x438a56
call fcn.004b79d0
mov eax, esp
mov dword [ebp - 0x18], eax
test eax, eax
je 0x438a73
mov dword [eax], 0xcccc
add eax, 8
jmp 0x438a70
push eax
call ebx
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
je 0x438a73
mov dword [eax], 0xdddd
add eax, 8
jmp 0x438a70
xor eax, eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x1c]
push edi
push ebx
push eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x18]
xor ecx, ecx
add esp, 0xc
mov word [eax + edi], cx
test edi, edi
je 0x438aab
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [ebp - 0x14]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0x18]
add esp, 4
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
jmp 0x438ac9
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
lea eax, [esi + esi]
lea ecx, [eax + 8]
cmp eax, ecx
sbb eax, eax
and eax, ecx
je 0x438b11
cmp eax, 0x400
ja 0x438afa
call fcn.004b79d0
mov esi, esp
test esi, esi
je 0x438b13
mov dword [esi], 0xcccc
add esi, 8
jmp 0x438b13
push eax
call ebx
mov esi, eax
add esp, 4
test esi, esi
je 0x438b13
mov dword [esi], 0xdddd
add esi, 8
jmp 0x438b13
xor esi, esi
push 0xfde9
push 0xc
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0049a1a0
push 0
push dword [ebp - 0x28]
lea ecx, [ebp - 0x7c]
push esi
call fcn.0049a330
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebx + 0xb00]
test edx, edx
je 0x438b70
cmp byte [ebp + 0x18], 0
je 0x438b70
mov ecx, esi
lea eax, [ecx + 2]
mov dword [ebp + 0x18], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438b50
sub ecx, dword [ebp + 0x18]
push esi
sar ecx, 1
push ecx
push str._s_n
push edx
call fcn.0042a830
add esp, 0x10
mov eax, dword [0x4e30f4]
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.0042d000
test eax, eax
jne 0x438c06
test edi, edi
je 0x438bb2
mov ecx, edi
mov edi, dword [ebp - 0x2c]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 0x28]
add ecx, 2
je 0x438bcc
mov edx, ecx
xor eax, eax
shr ecx, 2
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x4e30f4]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0xb4], ecx
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
test esi, esi
je 0x4386d3
add esi, 0xfffffff8
cmp dword [esi], 0xdddd
jne 0x4386d3
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x4386d3
test edi, edi
je 0x438c1f
mov ecx, edi
xor eax, eax
mov edi, dword [ebp - 0x2c]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x28]
lea ecx, [eax + eax]
test ecx, ecx
je 0x438c3b
mov edx, ecx
xor eax, eax
shr ecx, 2
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
test esi, esi
je 0x438c54
add esi, 0xfffffff8
cmp dword [esi], 0xdddd
jne 0x438c54
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [0x4e30f4]
mov ecx, dword [ebp + 0x18]
push 0
push dword [ebp + 0xc]
mov dword [eax + 0xb4], ecx
mov ecx, ebx
push dword [ebp + 8]
call fcn.00439000
mov esi, eax
jmp 0x4386d5
lea esi, [ebx + 1]
mov word [eax + ebx*2], cx
lea esi, [eax + esi*2]
push 0x4d55f8
push dword [ebp + 0x10]
call dword [sym.imp.VCRUNTIME140.dll_strstr]
mov cl, byte [eax + 1]
add esp, 8
lea edx, [eax + 1]
cmp cl, 0x5c
je 0x438efd
mov ebx, 0x55
cmp cl, bl
je 0x438eea
cmp cl, 0x75
je 0x438eea
cmp cl, 0x7a
je 0x438e9b
cmp cl, 0x5a
je 0x438e9b
cmp cl, 0x73
je 0x438e87
cmp cl, 0x53
je 0x438e87
cmp cl, 0x74
je 0x438e73
cmp cl, 0x54
je 0x438e73
cmp cl, 0x61
je 0x438e58
cmp cl, 0x41
je 0x438e58
cmp cl, 0x77
je 0x438e3d
cmp cl, 0x57
je 0x438e3d
cmp cl, 0x78
je 0x438e9b
cmp cl, 0x58
je 0x438e9b
cmp cl, 0x69
je 0x438d2e
cmp cl, 0x49
jne 0x438d51
cmp byte [edx + 1], 0x36
jne 0x438d51
movq xmm0, qword [str.INT64]
movq qword [esi], xmm0
mov eax, dword [0x4d563c]
mov dword [esi + 8], eax
add esi, 0xa
inc edx
jmp 0x438ebc
cmp cl, 0x69
je 0x438e08
cmp cl, 0x49
je 0x438e08
cmp cl, 0x68
je 0x438dec
cmp cl, 0x48
je 0x438dec
cmp cl, 0x63
je 0x438dce
cmp cl, 0x43
je 0x438dce
cmp cl, 0x66
je 0x438db2
cmp cl, 0x46
je 0x438db2
cmp cl, 0x64
je 0x438d93
cmp cl, 0x44
jne 0x438ebc
movq xmm0, qword [str.DOUBLE]
movq qword [esi], xmm0
mov eax, dword [0x4d5674]
mov dword [esi + 8], eax
mov ax, word [0x4d5678]
jmp 0x438eb5
movq xmm0, qword [str.FLOAT]
movq qword [esi], xmm0
mov eax, dword [0x4d5668]
mov dword [esi + 8], eax
add esi, 0xa
jmp 0x438ebc
movq xmm0, qword [str.CHAR]
movq qword [esi], xmm0
mov ax, word [0x4d565c]
mov word [esi + 8], ax
add esi, 8
jmp 0x438ebc
movq xmm0, qword [str.SHORT]
movq qword [esi], xmm0
mov eax, dword [0x4d5650]
mov dword [esi + 8], eax
add esi, 0xa
jmp 0x438ebc
cmp byte [edx + 1], 0x5c
jne 0x438e26
movzx eax, word [esi - 2]
lea ecx, [esi - 2]
cmp eax, 0x75
je 0x438e26
cmp eax, 0x55
je 0x438e26
mov esi, ecx
jmp 0x438ebc
mov eax, dword [0x4d5640]
mov dword [esi], eax
mov eax, dword [0x4d5644]
mov dword [esi + 4], eax
add esi, 6
jmp 0x438ebc
movq xmm0, qword [str.WSTR]
movq qword [esi], xmm0
mov ax, word [0x4d5630]
mov word [esi + 8], ax
add esi, 8
jmp 0x438ebc
movq xmm0, qword [str.ASTR]
movq qword [esi], xmm0
mov ax, word [0x4d5624]
mov word [esi + 8], ax
add esi, 8
jmp 0x438ebc
mov eax, dword [0x4d5614]
mov dword [esi], eax
mov eax, dword [0x4d5618]
mov dword [esi + 4], eax
add esi, 6
jmp 0x438ebc
mov eax, dword [0x4d560c]
mov dword [esi], eax
mov eax, dword [0x4d5610]
mov dword [esi + 4], eax
add esi, 6
jmp 0x438ebc
movq xmm0, qword [0x4d55fc]
movq qword [esi], xmm0
mov eax, dword [0x4d5604]
mov dword [esi + 8], eax
mov ax, word [0x4d5608]
mov word [esi + 0xc], ax
add esi, 0xc
mov al, byte [edx + 1]
cmp al, 0x2a
je 0x438ecb
cmp al, 0x70
je 0x438ecb
cmp al, 0x50
jne 0x438ed4
mov dword [esi], 0x2a
add esi, 2
mov eax, dword [0x4d567c]
mov dword [esi], eax
mov ax, word [0x4d5680]
mov word [esi + 4], ax
add esi, 4
jmp 0x438ef0
mov word [esi], bx
add esi, 2
mov cl, byte [edx + 1]
inc edx
cmp cl, 0x5c
jne 0x438ca7
mov ebx, dword [ebp - 0x20]
mov dword [esi - 4], 0
mov edx, dword [ebx + 0xb00]
test edx, edx
je 0x438f45
cmp byte [ebp + 0x18], 0
je 0x438f45
lea ecx, [ebp - 0x784]
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438f20
sub ecx, esi
lea eax, [ebp - 0x784]
push eax
sar ecx, 1
push ecx
push str._s_n
push edx
call fcn.0042a830
add esp, 0x10
lea eax, [ebp - 0x784]
push 0x2c
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
add esp, 8
lea edx, [ebp - 0x784]
lea ecx, [eax + 2]
call fcn.0049efa0
push 0
push dword [ebp + 0xc]
mov ecx, ebx
push edi
call fcn.00439000
mov esi, eax
jmp 0x4386d5
xor esi, esi
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x7c], vtable.TextMem.0
test edi, edi
je 0x438fbb
cmp byte [ebp - 0x40], 0
je 0x438fb4
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x438fac
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push dword [ebp - 0x48]
call ebx
add esp, 4
mov dword [ebp - 0x48], 0
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x7c], vtable.TextStream.0
test edi, edi
je 0x438fda
xor eax, eax
mov ecx, 0x800
rep stosd dword es:[edi], eax
push dword [ebp - 0x4c]
call ebx
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