Function at 0x43c550
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 0x4c24b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x484
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov ebx, ecx
lea ecx, [ebp - 0x84]
mov byte [eax], 0
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x18], ebx
mov byte [eax], 0
call fcn.0042bbc0
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 - 0x14], eax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 1
cmp dword [0x4da414], eax
jne 0x43c5c2
push ecx
mov ecx, ebx
call fcn.0043c130
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], esi
test esi, esi
jne 0x43c5e3
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x43c5d4
mov eax, dword [ebp + 8]
sub esi, ecx
mov dword [ebp + 0xc], esi
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [ebp - 0x1c], ecx
cmp esi, 0xfd
ja 0x43c749
mov ecx, dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbschr]
mov ebx, esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x34], ecx
nop dword [eax]
mov edi, 0x4da414
mov ecx, dword [edi]
cmp byte [ecx], 0
je 0x43c6e8
push ebx
push eax
mov eax, dword [edi + 4]
add eax, ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [eax + ebx]
mov eax, dword [str..ahk]
mov dword [ecx], eax
mov al, byte [0x4cae80]
mov byte [ecx + 4], al
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43c6e5
test al, 0x10
jne 0x43c6e5
mov esi, dword [edi]
add esi, dword [edi + 4]
mov eax, dword [ebp + 0x14]
mov byte [esi - 1], 0
mov ecx, dword [edi]
mov byte [eax], 1
call fcn.00461920
mov ecx, dword [ebp - 0x18]
mov byte [esi - 1], 0x5c
mov ecx, dword [ecx + 0x638]
test ecx, ecx
je 0x43c69d
cmp byte [ebp + 0x18], 0
je 0x43c69d
mov eax, dword [edi]
push eax
push eax
push dword [edi + 4]
push str.Include___0.s_nIncludeAgain__s_n
push ecx
call fcn.0042bae0
add esp, 0x14
mov eax, dword [0x4d70f4]
mov ecx, dword [ebp - 0x18]
push 0
push 0
mov esi, dword [eax + 0x94]
mov dword [eax + 0x94], 0
push dword [edi]
call fcn.0042e910
test eax, eax
mov eax, dword [0x4d70f4]
mov dword [eax + 0x94], esi
je 0x43c743
mov ecx, dword [ebp - 0x18]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043cf60
mov esi, eax
test esi, esi
jne 0x43c74b
mov eax, dword [ebp - 0x20]
add edi, 8
cmp edi, 0x4da434
jl 0x43c615
mov esi, dword [ebp + 8]
push 0x5f
push esi
call dword [ebp - 0x34]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43c787
sub ebx, esi
cmp ebx, 0xfe
jae 0x43c787
push ebx
lea eax, [ebp - 0x184]
push esi
push eax
mov dword [ebp - 0x20], eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x24]
add esp, 0xc
inc ecx
mov byte [ebp + ebx - 0x184], 0
mov dword [ebp - 0x24], ecx
cmp ecx, 2
jge 0x43c787
mov eax, dword [ebp - 0x20]
jmp 0x43c610
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
xor esi, esi
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x43ced2
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x43c769
push eax
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [ebx - 8], 0xdddd
lea eax, [ebx - 8]
jne 0x43ced2
mov ebx, dword [ebp - 0x1c]
push eax
call ebx
add esp, 4
jmp 0x43ced5
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x184]
push ebx
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [str..ahk]
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp + ebx - 0x184], eax
mov al, byte [0x4cae80]
mov byte [ebp + ebx - 0x180], al
mov ebx, 1
push 0x4cc3f0
lea eax, [ebp - 0x184]
push eax
push dword [0x4d99e0]
call edi
mov esi, eax
test esi, esi
jne 0x43c9b6
push 0x4cc3f0
lea eax, [ebp - 0x184]
xor ebx, ebx
push eax
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x43c9b6
push 0x5f
push dword [ebp + 8]
call dword [ebp - 0x34]
mov esi, eax
add esp, 8
test esi, esi
je 0x43c86f
mov eax, dword [ebp + 8]
sub esi, eax
cmp esi, 0xfe
jae 0x43c86f
push esi
push eax
lea eax, [ebp - 0x184]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp + esi - 0x184], 0x6b68612e
lea eax, [ebp - 0x184]
mov byte [ebp + esi - 0x180], bl
push 0x4cc3f0
push eax
push dword [0x4d99e0]
call edi
mov esi, eax
test esi, esi
jne 0x43c9b1
push 0x4cc3f0
lea eax, [ebp - 0x184]
push eax
push esi
call edi
mov esi, eax
test esi, esi
jne 0x43c9b6
push 0x1f5
lea eax, [ebp - 0x379]
mov dword [ebp - 0x384], 0x6c6c4423
push 0
push eax
mov dword [ebp - 0x380], 0x6f706d49
mov word [ebp - 0x37c], 0x7472
mov byte [ebp - 0x37a], 0x2c
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x379]
mov esi, dword [ebp + 8]
add esp, 0xc
push ebx
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov word [ebp + ebx - 0x379], 0x2c
lea eax, [ebp - 0x48b]
mov byte [ebp - 0x48c], 0x5c
push 0x103
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x48b]
push ebx
push esi
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy]
add esp, 0xc
mov word [ebp + ebx - 0x48b], 0x2c
lea eax, [ebp - 0x48c]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
mov esi, dword [sym.imp.VCRUNTIME140.dll_strstr]
lea eax, [ebp - 0x48c]
push eax
push dword [0x4da40c]
mov dword [ebp + 0x14], esi
call esi
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43ced0
mov ecx, dword [0x4da410]
sub ecx, dword [0x4da40c]
add ebx, ecx
mov byte [ebp - 0x37a], 0x2c
push 0x4c3c6c
push ebx
call esi
push 0x4c9e0c
lea edi, [eax + 1]
push edi
call esi
mov ecx, 1
sub ecx, edi
lea esi, [ecx + eax]
push esi
push edi
lea edi, [ebp - 0x378]
add edi, dword [ebp + 0xc]
push edi
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy]
add edi, esi
add esp, 0x1c
mov esi, dword [ebp + 0xc]
lea eax, [esi + 1]
push eax
lea eax, [ebx + 1]
push eax
push edi
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy]
lea eax, [edi + esi]
add esp, 0xc
mov edi, dword [ebp + 8]
cmp byte [edi + esi - 1], 0x5f
jne 0x43cc48
mov byte [eax - 1], 0x2c
mov esi, eax
xor cl, cl
jmp 0x43cc4d
mov ebx, 1
xor edi, edi
test ebx, ebx
push esi
cmovne edi, dword [0x4d99e0]
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x43c86f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43c86f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x43c86f
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor ebx, ebx
cmp dword [eax], 0x4034b50
jne 0x43cab0
push ebx
push dword [ebp - 0x2c]
lea edx, [ebp - 0x24]
mov ecx, eax
call fcn.004af6e0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43cab0
lea edi, [ebx + 2]
lea ecx, [edi + 8]
cmp edi, ecx
sbb eax, eax
and eax, ecx
je 0x43ca6b
cmp eax, 0x400
ja 0x43ca53
call fcn.004c1c90
mov eax, esp
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43ca70
mov dword [eax], 0xcccc
add eax, 8
jmp 0x43ca6d
push eax
call esi
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43ca70
mov dword [eax], 0xdddd
add eax, 8
jmp 0x43ca6d
xor eax, eax
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x24]
push ebx
push esi
push eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x14]
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 - 0x1c]
mov eax, dword [ebp - 0x14]
add esp, 4
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], eax
jmp 0x43cab3
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp + 0x14]
lea ecx, [edi + 8]
cmp edi, ecx
mov byte [eax], 1
sbb eax, eax
test ecx, eax
je 0x43cb0a
cmp edi, ecx
sbb eax, eax
and eax, ecx
cmp eax, 0x400
ja 0x43caed
cmp edi, ecx
sbb eax, eax
and eax, ecx
call fcn.004c1c90
mov esi, esp
test esi, esi
je 0x43cb0c
mov dword [esi], 0xcccc
add esi, 8
jmp 0x43cb0c
cmp edi, ecx
sbb eax, eax
and eax, ecx
push eax
call esi
mov esi, eax
add esp, 4
test esi, esi
je 0x43cb0c
mov dword [esi], 0xdddd
add esi, 8
jmp 0x43cb0c
xor esi, esi
push 0xfde9
push 0xc
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x84]
call fcn.004a94b0
push 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x84]
push esi
call fcn.004a96a0
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x638]
test edx, edx
je 0x43cb69
cmp byte [ebp + 0x18], 0
je 0x43cb69
mov ecx, esi
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43cb50
push esi
sub ecx, edi
push ecx
push str._s_n
push edx
call fcn.0042bae0
add esp, 0x10
mov eax, dword [0x4d70f4]
mov ecx, dword [ebp - 0x18]
mov edi, dword [eax + 0x94]
mov dword [eax + 0x94], 0
lea eax, [ebp - 0x184]
push eax
push esi
call fcn.0042e890
test eax, eax
jne 0x43cbeb
test ebx, ebx
je 0x43cba3
push ebx
push eax
push dword [ebp - 0x30]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x2c]
add eax, 1
je 0x43cbb7
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [0x4d70f4]
mov dword [eax + 0x94], edi
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
test esi, esi
je 0x43c749
add esi, 0xfffffff8
cmp dword [esi], 0xdddd
jne 0x43c749
push esi
call dword [ebp - 0x1c]
add esp, 4
jmp 0x43c749
test ebx, ebx
je 0x43cbfd
push ebx
push 0
push dword [ebp - 0x30]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43cc10
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test esi, esi
je 0x43cc26
add esi, 0xfffffff8
cmp dword [esi], 0xdddd
jne 0x43cc26
push esi
call dword [ebp - 0x1c]
add esp, 4
mov eax, dword [0x4d70f4]
mov ecx, dword [ebp - 0x18]
push 0
push dword [ebp + 0xc]
mov dword [eax + 0x94], edi
push dword [ebp + 8]
call fcn.0043cf60
mov esi, eax
jmp 0x43c74b
lea esi, [eax + 1]
mov cl, 0x2c
push 0x4cc3fc
push ebx
mov byte [eax], cl
call dword [ebp + 0x14]
mov cl, byte [eax + 1]
add esp, 8
lea edx, [eax + 1]
cmp cl, 0x5c
je 0x43ce5a
mov ebx, 0x2a
nop
cmp cl, 0x55
je 0x43ce49
cmp cl, 0x75
je 0x43ce49
cmp cl, 0x7a
je 0x43ce0c
cmp cl, 0x5a
je 0x43ce0c
cmp cl, 0x73
je 0x43ce01
cmp cl, 0x53
je 0x43ce01
cmp cl, 0x74
je 0x43cdf6
cmp cl, 0x54
je 0x43cdf6
cmp cl, 0x61
je 0x43cde2
cmp cl, 0x41
je 0x43cde2
cmp cl, 0x77
je 0x43cdce
cmp cl, 0x57
je 0x43cdce
cmp cl, 0x78
je 0x43ce0c
cmp cl, 0x58
je 0x43ce0c
cmp cl, 0x69
je 0x43ccf8
cmp cl, 0x49
jne 0x43cd18
cmp byte [edx + 1], 0x36
jne 0x43cd18
mov eax, dword [str.INT64]
mov dword [esi], eax
mov ax, word [0x4cc41c]
mov word [esi + 4], ax
add esi, 5
inc edx
jmp 0x43ce20
cmp cl, 0x69
je 0x43cdaf
cmp cl, 0x49
je 0x43cdaf
cmp cl, 0x68
je 0x43cda0
cmp cl, 0x48
je 0x43cda0
cmp cl, 0x63
je 0x43cd89
cmp cl, 0x43
je 0x43cd89
cmp cl, 0x66
je 0x43cd77
cmp cl, 0x46
je 0x43cd77
cmp cl, 0x64
je 0x43cd56
cmp cl, 0x44
jne 0x43ce20
mov eax, dword [str.DOUBLE]
mov dword [esi], eax
mov ax, word [0x4cc43c]
mov word [esi + 4], ax
mov al, byte [0x4cc43e]
mov byte [esi + 6], al
add esi, 6
jmp 0x43ce20
mov eax, dword [str.FLOAT]
mov dword [esi], eax
mov ax, word [0x4cc434]
jmp 0x43ce19
mov eax, dword [str.CHAR]
mov dword [esi], eax
mov al, byte [0x4cc42c]
mov byte [esi + 4], al
add esi, 4
jmp 0x43ce20
mov eax, dword [str.SHORT]
mov dword [esi], eax
mov ax, word [0x4cc424]
jmp 0x43ce19
cmp byte [edx + 1], 0x5c
jne 0x43cdc3
mov al, byte [esi - 1]
cmp al, 0x75
je 0x43cdc3
cmp al, 0x55
je 0x43cdc3
dec esi
jmp 0x43ce20
mov dword [esi], 0x544e49
add esi, 3
jmp 0x43ce20
mov eax, dword [str.WSTR]
mov dword [esi], eax
mov al, byte [0x4cc414]
mov byte [esi + 4], al
add esi, 4
jmp 0x43ce20
mov eax, dword [str.ASTR]
mov dword [esi], eax
mov al, byte [0x4cc40c]
mov byte [esi + 4], al
add esi, 4
jmp 0x43ce20
mov dword [esi], 0x525450
add esi, 3
jmp 0x43ce20
mov dword [esi], 0x525453
add esi, 3
jmp 0x43ce20
mov eax, dword [str.UCHAR]
mov dword [esi], eax
mov ax, word [0x4cc404]
mov word [esi + 4], ax
add esi, 5
mov al, byte [edx + 1]
cmp al, 0x2a
je 0x43ce2f
cmp al, 0x70
je 0x43ce2f
cmp al, 0x50
jne 0x43ce33
mov word [esi], bx
inc esi
mov ax, word [0x4cc440]
mov word [esi], ax
mov al, byte [0x4cc442]
mov byte [esi + 2], al
add esi, 2
jmp 0x43ce4d
mov byte [esi], 0x55
inc esi
mov cl, byte [edx + 1]
inc edx
cmp cl, 0x5c
jne 0x43cc70
mov ebx, dword [ebp - 0x18]
xor eax, eax
mov word [esi - 2], ax
mov edx, dword [ebx + 0x638]
test edx, edx
je 0x43ce9f
cmp byte [ebp + 0x18], al
je 0x43ce9f
lea ecx, [ebp - 0x384]
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43ce80
lea eax, [ebp - 0x384]
sub ecx, esi
push eax
push ecx
push str._s_n
push edx
call fcn.0042bae0
add esp, 0x10
lea eax, [ebp - 0x384]
push 0x2c
push eax
call dword [ebp - 0x34]
add esp, 8
lea edx, [ebp - 0x384]
lea ecx, [eax + 1]
call fcn.004ae430
push 0
push dword [ebp + 0xc]
mov ecx, ebx
push edi
call fcn.0043cf60
mov esi, eax
jmp 0x43c74b
xor esi, esi
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x84], vtable.TextMem.0
test eax, eax
je 0x43cf0f
cmp byte [ebp - 0x48], 0
je 0x43cf08
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x43cf02
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x50]
add esp, 0xc
push eax
call ebx
add esp, 4
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x84], vtable.TextStream.0
test eax, eax
je 0x43cf38
push 0x2000
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push dword [ebp - 0x54]
call ebx
add esp, 4
mov eax, esi
lea esp, [ebp - 0x49c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14