Function at 0x41dc50
Capabilities:
Accept command line arguments
Resolve function by parsing pe exports

Disassembly:
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41cfc8
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
lea esi, [eax + 0x340]
jne 0x41cfe6
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
push 0x24
mov dword [eax + 0x29c], esi
call fcn.004ebb43
add esp, 4
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x41d012
mov ecx, eax
call fcn.004df720
mov esi, eax
jmp 0x41d014
xor esi, esi
mov ecx, dword fs:[0x2c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41d03a
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
push 0x1c
mov dword [eax + 0x260], esi
call fcn.004ebb43
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x41d088
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
jmp 0x41d08a
xor esi, esi
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41d0a9
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
push 0x738
mov dword [eax + 0x294], esi
call fcn.004ebb43
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x41d0d8
mov ecx, eax
call fcn.0044eba0
mov esi, eax
jmp 0x41d0da
xor esi, esi
mov ecx, dword fs:[0x2c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41d100
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
push 0x10
mov dword [eax + 0x298], esi
call fcn.004ebb43
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x41d139
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
jmp 0x41d13b
xor esi, esi
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41d15a
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
push 0x64
mov dword [eax + 0x28c], esi
call fcn.004ebb43
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x41d209
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x48], vtable.CKuStringT_char__class_CKuStringUtilA_.0
mov dword [esi + 0x4c], 0
mov byte [esi + 0x50], 0
mov dword [esi + 0x54], 0x400
mov dword [esi + 0x58], 0x14
mov dword [esi + 0x5c], 2
mov byte [esi + 0x60], 0
jmp 0x41d20b
xor esi, esi
mov ecx, dword fs:[0x2c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41d231
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
push 0x10
mov dword [eax + 0x264], esi
call fcn.004ebb43
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x41d277
push 0x800
mov dword [esi + 0xc], 0x80
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [esi], eax
add esp, 4
lea ecx, [eax - 0x10]
mov eax, dword [esi + 0xc]
shl eax, 4
add eax, ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
jmp 0x41d279
xor esi, esi
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41d298
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
mov eax, dword [eax + 0x264]
mov dword [eax], esi
call ebx
mov esi, eax
mov eax, dword fs:[0x2c]
mov ecx, dword [edi + eax]
cmp byte [ecx + 0x2198], 0
jne 0x41d2c4
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [edi + eax]
mov dword [eax + 0x250], esi
call fcn.004cd480
mov edx, dword fs:[0x2c]
mov esi, eax
mov ecx, dword [edi + edx]
cmp byte [ecx + 0x2198], 0
jne 0x41d2f3
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov eax, dword [edi + edx]
cmp byte [eax + 0x2198], 0
mov dword [eax + 0x20d0], esi
jne 0x41d311
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov eax, dword [edi + edx]
push 0x50
mov ecx, dword [eax + 0x260]
call fcn.004df760
mov esi, eax
mov dword [ebp - 0x5c], esi
mov dword [ebp - 4], 5
test esi, esi
je 0x41d36c
push str.IsSet
mov ecx, esi
call fcn.00418f10
mov dword [esi + 0x40], 0
mov dword [esi], vtable.BuiltInFunc.0
mov dword [esi + 0x48], 0x47c610
mov dword [esi + 0x38], 1
mov dword [esi + 0x34], 1
mov byte [esi + 0x3c], 0
mov dword [esi + 0x4c], 0
jmp 0x41d36e
xor esi, esi
mov ecx, dword fs:[0x2c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41d394
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
push 1
mov dword [eax + 0x22c], esi
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0
call fcn.004a3b90
mov ecx, dword fs:[0x2c]
add esp, 4
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41d3ce
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
mov esi, dword [eax + 0x260]
jne 0x41d3ec
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
mov ecx, 0x4f6190
mov eax, dword [eax + 0x6a0]
test eax, eax
je 0x41d405
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push 0xffffffffffffffff
push ecx
mov ecx, esi
call fcn.004dfa20
mov ecx, dword fs:[0x2c]
mov esi, eax
mov ecx, dword [edi + ecx]
cmp byte [ecx + 0x2198], 0
jne 0x41d429
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 0x168], esi
xor eax, eax
mov dword [ebp - 0x40], eax
cmp word [ecx], ax
je 0x41d45b
lea eax, [ebp - 0x40]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
jmp 0x41d460
xor ecx, ecx
mov dword [ebp - 0x48], ecx
xor ebx, ebx
mov dword [ebp - 0x44], ebx
test eax, eax
jle 0x41d86c
jmp 0x41d473
mov ecx, dword [ebp - 0x48]
mov esi, dword [ecx + ebx*4]
push str._ErrorStdOut
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x41d4c9
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41d4a8
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov ecx, dword [edi + ecx]
lea eax, [esi + 0x1a]
xor edx, edx
cmp word [esi + 0x18], 0x3d
cmovne eax, edx
mov ecx, dword [ecx + 0x298]
push eax
call fcn.0046d3c0
jmp 0x41d85f
push str._validate
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x41d510
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41d4fb
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
mov eax, dword [eax + 0x298]
mov byte [eax + 0x6dc], 1
jmp 0x41d85f
push str._iLib
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x41d5ca
inc ebx
cmp ebx, dword [ebp - 0x40]
jge 0x41de1d
push 0x38
call fcn.004ebb43
add esp, 4
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x41d54d
mov ecx, eax
call fcn.00418ff0
mov esi, eax
jmp 0x41d54f
xor esi, esi
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41d56e
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
mov eax, dword [eax + 0x298]
mov dword [eax + 0x6e0], esi
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41d59c
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
mov ecx, dword [ebp - 0x48]
push 0xfde9
push 0x15
mov eax, dword [eax + 0x298]
push dword [ecx + ebx*4]
mov ecx, dword [eax + 0x6e0]
call fcn.004e1370
test al, al
je 0x41de1d
jmp 0x41d85f
push 3
push 0x4f6520
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x41d61a
lea eax, [esi + 6]
push eax
call fcn.004e6170
mov ecx, dword fs:[0x2c]
add esp, 4
mov esi, eax
mov ecx, dword [edi + ecx]
cmp byte [ecx + 0x2198], 0
jne 0x41d605
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
mov dword [eax + 0x218], esi
jmp 0x41d85f
mov eax, dword fs:[0x2c]
mov eax, dword [edi + eax]
cmp byte [eax + 0x2198], 0
jne 0x41d631
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [edi + eax]
mov eax, dword [eax + 0x264]
cmp dword [eax + 4], 0xffffffff
jne 0x41d86c
push 6
push str._Debug
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x41d86c
movzx eax, word [esi + 0xc]
test ax, ax
je 0x41d79d
cmp eax, 0x3d
jne 0x41d86c
add esi, 0xe
push 0x3a
push esi
call sub.VCRUNTIME140.dll_wcsrchr
add esp, 8
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x41d70d
mov ebx, eax
mov eax, dword fs:[0x2c]
sub ebx, esi
sar ebx, 1
mov ecx, dword [edi + eax]
cmp byte [ecx + 0x2198], 0
jne 0x41d6b1
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [edi + eax]
push 0
push 0x3f
push ebx
add eax, 0x690
push eax
push esi
call fcn.004dffb0
mov ecx, dword fs:[0x2c]
add esp, 0x14
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41d6e7
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
push 0
push 0x3f
add eax, 0x684
push 0xffffffffffffffff
push eax
mov eax, dword [ebp - 0x3c]
add eax, 2
push eax
call fcn.004dffb0
mov ebx, dword [ebp - 0x44]
add esp, 0x14
jmp 0x41d85f
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41d72c
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
push 0
push 0x3f
push 0xffffffffffffffff
add eax, 0x690
push eax
push esi
call fcn.004dffb0
mov ecx, dword fs:[0x2c]
add esp, 0x14
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41d763
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov esi, dword [edi + ecx]
mov ecx, dword [esi + 0x688]
test ecx, ecx
je 0x41d775
call fcn.0041c470
push 0x14
call fcn.004ebb43
add esp, 4
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x41d850
push 0xffffffffffffffff
push str.9000
mov ecx, eax
call fcn.00418d20
jmp 0x41d852
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41d7bc
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov esi, dword [edi + ecx]
mov ecx, dword [esi + 0x694]
test ecx, ecx
je 0x41d7ce
call fcn.0041c470
push 0x14
call fcn.004ebb43
add esp, 4
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x41d7ef
push 0xffffffffffffffff
push str.localhost
mov ecx, eax
call fcn.00418d20
jmp 0x41d7f1
xor eax, eax
mov ecx, dword fs:[0x2c]
mov dword [esi + 0x694], eax
mov byte [esi + 0x698], 0
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41d81d
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov esi, dword [edi + ecx]
mov ecx, dword [esi + 0x688]
test ecx, ecx
je 0x41d82f
call fcn.0041c470
push 0x14
call fcn.004ebb43
add esp, 4
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x41d850
push 0xffffffffffffffff
push str.9000
mov ecx, eax
call fcn.00418d20
jmp 0x41d852
xor eax, eax
mov byte [esi + 0x68c], 0
mov dword [esi + 0x688], eax
inc ebx
mov dword [ebp - 0x44], ebx
cmp ebx, dword [ebp - 0x40]
jl 0x41d470
mov eax, dword fs:[0x2c]
mov eax, dword [edi + eax]
cmp byte [eax + 0x2198], 0
jne 0x41d883
call fcn.004ebad3
mov eax, dword fs:[0x2c]
push 0x41
push 6
push str.A_Args
mov eax, dword [edi + eax]
mov ecx, dword [eax + 0x298]
call fcn.0045cec0
mov ebx, eax
test ebx, ebx
je 0x41de0f
mov eax, dword fs:[0x2c]
mov ecx, dword [edi + eax]
cmp byte [ecx + 0x2198], 0
jne 0x41d8c7
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [edi + eax]
push 0x41
push 9
push str.A_ArgsMap
mov ecx, dword [eax + 0x298]
call fcn.0045cec0
mov esi, eax
test esi, esi
je 0x41de0f
push dword [ebp - 0x40]
push dword [ebp - 0x48]
call fcn.004d03b0
add esp, 8
test eax, eax
je 0x41de0f
push eax
mov ecx, ebx
call fcn.004e6ed0
push dword [ebp - 0x40]
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.004d05a0
add esp, 8
test eax, eax
je 0x41de08
push eax
mov ecx, esi
call fcn.004e6ed0
test ebx, ebx
je 0x41d930
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41d94f
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
push 0x57
push 0
mov esi, dword [eax + 0x29c]
push esi
call sub.VCRUNTIME140.dll_memset
mov byte [esi + 0x57], 1
add esp, 0xc
mov dword [esi + 0x58], 0
mov dword [esi + 0x88], 1
mov dword [esi + 0x60], 2
mov dword [esi + 0x90], 0x10000
mov dword [esi + 0x94], 0x2000101
mov dword [esi + 0x5c], 5
mov dword [esi + 0x64], 0x64
mov dword [esi + 0x68], 0x14
mov dword [esi + 0x6c], 0xa
mov dword [esi + 0x70], 0xffffffff
mov dword [esi + 0x74], 0xffffffff
mov dword [esi + 0x78], 0xffffffff
mov dword [esi + 0x7c], 0xa
mov dword [esi + 0x80], 0xffffffff
mov word [esi + 0x98], 1
mov byte [esi + 0x9a], 1
mov dword [esi + 0x8c], 0
mov byte [esi + 0xa0], 5
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41da17
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
mov edx, dword [0x5276ac]
mov dword [ebp - 0x3c], edx
cmp byte [eax + 0x2198], 0
mov ebx, dword [eax + 0x298]
jne 0x41da3e
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
mov esi, dword [eax + 0x24c]
jne 0x41da5c
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
mov ecx, ebx
push 1
push dword [ebp - 0x50]
push dword [ebp - 0x3c]
push 0
push esi
push dword [eax + 0x29c]
call fcn.0045f6c0
cmp eax, 1
jne 0x41de1d
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41da9f
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
mov esi, dword [eax + 0x298]
jne 0x41dabd
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
mov ecx, esi
push 0x4f5b70
push dword [eax + 0x24c]
call fcn.004632c0
cmp eax, 0xffffffff
je 0x41de1d
test eax, eax
je 0x41ddd5
mov ebx, dword [ebp - 0x50]
cmp word [ebx], 0
je 0x41db1a
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41db0b
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
mov eax, dword [eax + 0x298]
mov dword [eax + 0x6bc], ebx
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41db39
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov ecx, dword [edi + ecx]
mov ecx, dword [ecx + 0x298]
call fcn.00453b50
cmp eax, 1
jne 0x41de1d
mov ebx, eax
mov esi, 0x52b6dc
nop word [eax + eax]
cmp esi, 0x5326c0
je 0x41de1d
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41db7e
inc ebx
add esi, 0x1c
jmp 0x41db60
mov edx, dword fs:[0x2c]
mov eax, dword [edi + edx]
cmp byte [eax + 0x2198], 0
jne 0x41db9d
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov ecx, dword [edi + edx]
lea esi, [ebx*8]
sub esi, ebx
cmp byte [ecx + 0x2198], 0
mov eax, dword [ecx + 0x214]
mov dword [esi*4 + 0x52b6c0], eax
jne 0x41dbcb
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov ecx, dword [edi + edx]
cmp byte [ecx + 0x2198], 0
mov eax, dword [ecx + 0x298]
mov dword [esi*4 + 0x52b6c4], eax
jne 0x41dbf0
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov ecx, dword [edi + edx]
cmp byte [ecx + 0x2198], 0
mov eax, dword [ecx + 0x938]
mov dword [esi*4 + 0x52b6c8], eax
jne 0x41dc15
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov ecx, dword [edi + edx]
cmp byte [ecx + 0x2198], 0
mov eax, dword [ecx + 0x944]
mov dword [esi*4 + 0x52b6cc], eax
jne 0x41dc3a
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov ecx, dword [edi + edx]
cmp byte [ecx + 0x2198], 0
lea eax, [ecx + 0x340]
mov dword [esi*4 + 0x52b6d0], eax
add byte [ebp + 0xc], dh
add byte [ebp + 0xc], dh
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov eax, dword [edi + edx]
push 0
push 4
push 0
mov eax, dword [eax + 0x250]
mov dword [esi*4 + 0x52b6d4], eax
mov eax, dword fs:[0x18]
push 1
mov eax, dword [eax + 0x2c]
mov dword [esi*4 + 0x52b6d8], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_setvbuf]
add esp, 0x10
call fcn.0043a630
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41dcbe
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
mov byte [eax + 0x123], 0
jne 0x41dcdd
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
mov byte [eax + 0x12f], 0
jne 0x41dcfc
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, dword [eax + 0x298]
mov byte [eax + 0x6d4], 1
call ebx
push eax
push str.ahk_d
lea eax, [ebp - 0x38]
push 0x14
push eax
call fcn.004e6440
add esp, 0x10
lea eax, [ebp - 0x38]
push eax
push 1
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0041c8d0
cmp eax, 3
je 0x41cfa1
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41dd73
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
push dword [eax + 0x24c]
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call eax
mov ecx, dword fs:[0x2c]
add esp, 4
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41dda5
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
mov dword [eax + 0x24c], 0
jne 0x41ddc7
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
mov eax, dword [eax + 0x25c]
jmp 0x41dec8
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41ddf4
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
mov dword [eax + 0x25c], 0
xor eax, eax
jmp 0x41dec8
test ebx, ebx
je 0x41de1d
push ebx
jmp 0x41de17
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x41de1d
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41de3c
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
cmp dword [eax + 0x24c], 0
je 0x41de9c
cmp byte [eax + 0x2198], 0
jne 0x41de5d
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
push dword [eax + 0x24c]
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call eax
mov ecx, dword fs:[0x2c]
add esp, 4
mov eax, dword [edi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x41de8f
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [edi + ecx]
mov dword [eax + 0x24c], 0
cmp byte [eax + 0x2198], 0
jne 0x41deb1
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov ecx, dword [edi + ecx]
push 2
push 6
mov ecx, dword [ecx + 0x298]
call fcn.0046da80
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ebadf
mov esp, ebp
pop ebp
ret 4