Function at 0x4ae430
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2adc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x268
push esi
push edi
mov dword [ebp - 0x40], edx
mov esi, ecx
nop dword [eax]
mov al, byte [esi]
cmp al, 0x20
je 0x4ae47a
cmp al, 9
jne 0x4ae47d
inc esi
jmp 0x4ae470
mov eax, dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbschr]
push 0x2c
push ecx
mov dword [ebp - 0x38], eax
call eax
mov edi, eax
add esp, 8
test edi, edi
je 0x4af23a
cmp byte [edi], 0
je 0x4af23a
push 0x2c
push esi
inc edi
call dword [ebp - 0x38]
add esp, 8
test eax, eax
je 0x4ae4ba
push 0x2c
push esi
call dword [ebp - 0x38]
add esp, 8
mov byte [eax], 0
mov al, byte [edi]
test al, al
je 0x4ae4f8
mov ecx, edi
cmp al, 0x20
je 0x4ae4ca
cmp al, 9
jne 0x4ae4d0
mov al, byte [ecx + 1]
inc ecx
jmp 0x4ae4c2
mov eax, ecx
sub eax, edi
je 0x4ae4f8
mov edx, ecx
lea eax, [edx + 1]
mov dword [ebp - 0x34], eax
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x4ae4e0
sub edx, dword [ebp - 0x34]
lea eax, [edx + 1]
push eax
push ecx
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ae500
lea eax, [ebp - 0x60]
sub ecx, edx
push eax
push ecx
push esi
mov ecx, 0x4dba98
call fcn.0043cf60
test eax, eax
je 0x4ae528
push esi
push str.Duplicate_function_definition.
jmp 0x4af242
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ae530
push 0
push dword [ebp - 0x60]
sub ecx, edx
push 0
push ecx
push esi
mov ecx, 0x4dba98
call fcn.0043e510
mov dword [ebp - 0x54], eax
test eax, eax
jne 0x4ae566
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [ebp - 0x40]
mov edx, str._A_ScriptDir_
sub esi, edi
mov dword [eax + 8], 0x4699b0
add esi, 0x4001
mov byte [eax + 0x51], 1
mov ecx, edi
mov dword [eax + 0x14], 0
mov dword [ebp - 0x14], esi
call fcn.004ac1a0
test eax, eax
je 0x4ae5d0
mov ecx, dword [0x4dc0b4]
lea edx, [ebp - 0x170]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x4ae5a4
push 0
push 0
push esi
push 1
lea eax, [ebp - 0x170]
mov edx, str._A_ScriptDir_
push 0
push eax
mov ecx, edi
call fcn.004ac590
add esp, 0x18
mov edx, str._A_AppData_
mov ecx, edi
call fcn.004ac1a0
test eax, eax
je 0x4ae610
lea eax, [ebp - 0x170]
push str.A_AppData
push eax
call fcn.00465d40
push 0
push 0
push esi
push 1
lea eax, [ebp - 0x170]
mov edx, str._A_AppData_
push 0
push eax
mov ecx, edi
call fcn.004ac590
add esp, 0x20
mov edx, str._A_AppDataCommon_
mov ecx, edi
call fcn.004ac1a0
test eax, eax
je 0x4ae650
lea eax, [ebp - 0x170]
push str.A_AppDataCommon
push eax
call fcn.00465d40
push 0
push 0
push esi
push 1
lea eax, [ebp - 0x170]
mov edx, str._A_AppDataCommon_
push 0
push eax
mov ecx, edi
call fcn.004ac590
add esp, 0x20
mov edx, str._A_AhkPath_
mov ecx, edi
call fcn.004ac1a0
test eax, eax
je 0x4ae6aa
push 0x104
lea eax, [ebp - 0x278]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor ecx, ecx
mov al, byte [ebp + ecx - 0x278]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x171], al
test al, al
jne 0x4ae676
push 0
push 0
push esi
push 1
lea eax, [ebp - 0x170]
mov edx, str._A_AhkPath_
push 0
push eax
mov ecx, edi
call fcn.004ac590
add esp, 0x18
mov edx, str._A_AhkDir_
mov ecx, edi
call fcn.004ac1a0
test eax, eax
je 0x4ae723
push 0x104
lea eax, [ebp - 0x278]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x278]
push 0x5c
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsrchr]
mov esi, eax
lea eax, [ebp - 0x278]
sub esi, eax
push esi
push eax
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy]
add esp, 0x14
mov byte [ebp + esi - 0x170], 0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x170]
mov edx, str._A_AhkDir_
mov ecx, edi
push 0
push 0
push esi
push 1
push 0
push eax
call fcn.004ac590
add esp, 0x18
mov edx, str._A_DllDir_
mov ecx, edi
call fcn.004ac1a0
test eax, eax
je 0x4ae7ba
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x278]
push 0x104
push eax
push dword [0x4d99e0]
call esi
test eax, eax
jne 0x4ae765
push 0x104
lea eax, [ebp - 0x278]
push eax
push 0
call esi
lea eax, [ebp - 0x278]
push 0x5c
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsrchr]
mov esi, eax
lea eax, [ebp - 0x278]
sub esi, eax
push esi
push eax
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy]
add esp, 0x14
mov byte [ebp + esi - 0x170], 0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x170]
mov edx, str._A_DllDir_
mov ecx, edi
push 0
push 0
push esi
push 1
push 0
push eax
call fcn.004ac590
add esp, 0x18
mov edx, str._A_DllPath_
mov ecx, edi
call fcn.004ac1a0
test eax, eax
je 0x4ae834
push 0x104
lea eax, [ebp - 0x278]
push eax
push dword [0x4d99e0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ae7fa
push 0x104
lea eax, [ebp - 0x278]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x278]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x171], al
test al, al
jne 0x4ae800
push 0
push 0
push esi
push 1
lea eax, [ebp - 0x170]
mov edx, str._A_DllPath_
push 0
push eax
mov ecx, edi
call fcn.004ac590
add esp, 0x18
mov esi, dword [ebp - 0x38]
push 0x25
push edi
call esi
add esp, 8
test eax, eax
je 0x4ae84e
push edi
push str.Reference_not_allowed_here__use__where_possible._Only__A_AhkPath___A_AhkDir___A_DllPath___A_DllDir___A_ScriptDir___A_AppData_Common___can_be_used_here.
jmp 0x4af242
push 0x2c
push edi
call esi
add esp, 8
test eax, eax
je 0x4ae865
push 0x2c
push edi
call esi
add esp, 8
mov byte [eax], 0
mov edx, str._s_A_Fa_f0_9__:_A_Fa_f0_9____s_
mov ecx, edi
call fcn.0046cb70
mov edx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
mov eax, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__strtoi64]
mov dword [ebp - 0x48], eax
mov eax, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__atoi64]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], edx
je 0x4aeaa5
push 0x3a
push edi
mov dword [ebp - 0x30], 0x7830
call esi
add esp, 8
test eax, eax
je 0x4ae8b3
push 0x3a
push edi
call esi
mov esi, eax
add esp, 8
sub esi, edi
jmp 0x4ae8c1
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4ae8b8
sub esi, ecx
mov eax, esi
cdq
sub eax, edx
mov edx, eax
sar edx, 1
mov dword [ebp - 0x14], edx
lea ecx, [edx - 1]
cmp ecx, 0x7fff
ja 0x4aea9a
cmp dword [0x4db1dc], 0
jne 0x4ae8fa
call fcn.004a8e80
mov dword [0x4db1dc], eax
test eax, eax
je 0x4aea9a
mov edx, dword [ebp - 0x14]
mov ecx, dword [0x4db1d8]
cmp edx, dword [ecx + 8]
jbe 0x4ae91e
call fcn.004a8e80
mov ecx, dword [0x4db1d8]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x4aea9a
mov edx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x3c], eax
mov dword [0x4db1d4], eax
mov eax, edx
and eax, 3
mov dword [ebp - 0x34], eax
mov eax, edx
je 0x4ae940
sub eax, dword [ebp - 0x34]
add eax, 4
mov dword [ebp - 0x14], eax
jmp 0x4ae943
mov dword [ebp - 0x14], edx
mov ecx, dword [0x4db1d8]
add eax, dword [ebp - 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x14]
sub dword [ecx + 8], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4aea9a
push 0x40
push 0x1000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x4ae97e
push edi
push str.Could_not_commit_memory_for_DllImport.
jmp 0x4af242
xor edx, edx
mov dword [ebp - 0x14], edx
test esi, esi
jle 0x4ae9c3
lea eax, [edx + edi]
push 2
push eax
lea eax, [ebp - 0x2e]
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy]
add esp, 0xc
lea eax, [ebp - 0x30]
push 0x10
push 0
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov edx, dword [ebp - 0x3c]
shr ecx, 1
mov byte [ecx + edx], al
mov edx, dword [ebp - 0x14]
add edx, 2
mov dword [ebp - 0x14], edx
cmp edx, esi
jl 0x4ae987
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ae9c8
sub ecx, edx
lea esi, [edi + 1]
add esi, ecx
je 0x4aeb60
cmp byte [esi], al
je 0x4aeb60
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ae9f0
sub ecx, edx
mov dword [ebp - 0x2c], ecx
lea edx, [ecx + 1]
mov dword [ebp - 0x14], edx
cmp ecx, 0x7fff
ja 0x4aeb4c
cmp dword [0x4db1dc], 0
jne 0x4aea2c
call fcn.004a8e80
mov dword [0x4db1dc], eax
test eax, eax
je 0x4aeb4c
mov edx, dword [ebp - 0x14]
mov edi, dword [0x4db1d8]
cmp edx, dword [edi + 8]
jbe 0x4aea50
call fcn.004a8e80
mov edi, dword [0x4db1d8]
mov dword [edi + 0xc], eax
test eax, eax
je 0x4aeb4c
mov edx, dword [ebp - 0x14]
mov ecx, dword [edi + 4]
mov eax, edx
mov dword [ebp - 0x24], ecx
mov dword [0x4db1d4], ecx
and eax, 3
je 0x4aea68
sub edx, eax
add edx, 4
sub dword [edi + 8], edx
lea eax, [ecx + edx]
mov dword [edi + 4], eax
test ecx, ecx
je 0x4aeb4c
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4aea91
push eax
push esi
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov byte [ecx + eax], 0
jmp 0x4aeb6e
push edi
push str.Out_of_memory.
jmp 0x4af242
mov ecx, edi
mov al, byte [ecx]
cmp al, 0x20
je 0x4aeab1
cmp al, 9
jne 0x4aeab4
inc ecx
jmp 0x4aeaa7
test al, al
je 0x4aeaf1
cmp al, 0x2d
je 0x4aeac0
cmp al, 0x2b
jne 0x4aeac7
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4aeaf1
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x4aead6
cmp al, 0x58
jne 0x4aeaf1
movsx eax, byte [ecx + 2]
push eax
call edx
add esp, 4
test eax, eax
je 0x4aeaf1
push 0x10
push 0
push edi
call dword [ebp - 0x48]
add esp, 0xc
jmp 0x4aeaf8
push edi
call dword [ebp - 0x4c]
add esp, 4
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x4ae9c3
push 0x5c
push edi
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsrchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x4aeb2d
push edi
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x4aeb2a
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [esi], 0x5c
xor edx, edx
mov ecx, edi
call fcn.004683b0
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x4ae9c3
push edi
push str.Call_to_nonexistent_function.
jmp 0x4af242
push esi
push str.Out_of_memory.
mov ecx, 0x4dba98
call fcn.0044da60
xor ecx, ecx
jmp 0x4aeb65
mov ecx, 0x4c3c29
mov edi, dword [0x4db1d8]
mov dword [ebp - 0x24], ecx
mov al, byte [ecx]
mov byte [ebp - 0x19], 0
test al, al
je 0x4aebe6
cmp al, 0x20
je 0x4aeb80
cmp al, 9
jne 0x4aeb86
mov al, byte [ecx + 1]
inc ecx
jmp 0x4aeb78
test al, al
je 0x4aebc9
cmp al, 0x2d
je 0x4aeb92
cmp al, 0x2b
jne 0x4aeb99
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4aebc9
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x4aeba8
cmp al, 0x58
jne 0x4aebc9
movsx eax, byte [ecx + 2]
push eax
call dword [ebp - 0x44]
add esp, 4
test eax, eax
je 0x4aebc9
push 0x10
push 0
push dword [ebp - 0x24]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
jmp 0x4aebd5
push dword [ebp - 0x24]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov edi, dword [0x4db1d8]
mov dword [ebp - 0x28], 1
test eax, eax
je 0x4aebed
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x24]
cmp byte [eax], 0
je 0x4aec43
mov edi, dword [ebp - 0x38]
push 0x2c
push esi
call edi
add esp, 8
test eax, eax
je 0x4aec22
push 0x2c
push esi
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x4aec13
inc esi
inc dword [ebp - 0x28]
push 0x2c
push esi
call edi
add esp, 8
test eax, eax
jne 0x4aec04
mov eax, dword [ebp - 0x24]
cmp byte [eax], 0
je 0x4aec3d
cmp dword [ebp - 0x28], 1
jge 0x4aec3d
push dword [ebp - 0x40]
push str.Parameter_3_required
jmp 0x4af242
mov edi, dword [0x4db1d8]
cmp dword [0x4db1dc], 0
jne 0x4aec60
call fcn.004a8e80
mov dword [0x4db1dc], eax
test eax, eax
je 0x4aec92
mov edi, dword [0x4db1d8]
cmp dword [edi + 8], 0x10
jae 0x4aec78
call fcn.004a8e80
mov edi, dword [0x4db1d8]
mov dword [edi + 0xc], eax
test eax, eax
je 0x4aec92
mov edx, dword [edi + 4]
add dword [edi + 8], 0xfffffff0
mov dword [ebp - 0x40], edx
mov dword [0x4db1d4], edx
lea eax, [edx + 0x10]
mov dword [edi + 4], eax
test edx, edx
jne 0x4aeca1
push 0x4c3c29
push str.Out_of_memory.
jmp 0x4af242
mov ecx, dword [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0x20
movups xmmword [edx], xmm0
test cl, 1
jne 0x4aecc2
mov dword [edx + 8], 2
jmp 0x4aed72
mov al, byte [esi]
cmp al, 0x20
je 0x4aeccc
cmp al, 9
jne 0x4aeccf
inc esi
jmp 0x4aecc2
push 5
push str.CDecl
push esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], 0
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbicmp]
add esp, 0xc
test eax, eax
jne 0x4aed25
mov edx, 0x10
add esi, 5
mov dword [ebp - 0x2c], edx
nop dword [eax]
mov al, byte [esi]
cmp al, 0x20
je 0x4aed0a
cmp al, 9
jne 0x4aed0d
inc esi
jmp 0x4aed00
mov dword [ebp - 0x5c], esi
test al, al
jne 0x4aed25
mov esi, dword [ebp - 0x40]
mov eax, 2
mov dword [esi + 8], 2
jmp 0x4aed44
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x5c]
mov edx, esi
call fcn.00467c90
mov eax, dword [esi + 8]
test eax, eax
je case.0x4aef6e.0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 0x19], 1
mov ecx, dword [ebp - 0x28]
dec ecx
cmp byte [esi + 0xc], 0
mov dword [ebp - 0x28], ecx
jne 0x4aed6c
cmp eax, 7
jne 0x4aed5e
or edx, 0x200
jmp 0x4aed69
cmp eax, 6
jne 0x4aed6c
or edx, 0x100
mov dword [ebp - 0x2c], edx
mov edi, dword [0x4db1d8]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x34], eax
je 0x4aeee7
mov esi, eax
shl esi, 4
lea eax, [esi - 1]
cmp eax, 0x7fff
ja 0x4aeddc
cmp dword [0x4db1dc], 0
jne 0x4aedae
call fcn.004a8e80
mov edi, dword [0x4db1d8]
mov dword [0x4db1dc], eax
test eax, eax
je 0x4aeddc
cmp esi, dword [edi + 8]
jbe 0x4aedc5
call fcn.004a8e80
mov edi, dword [0x4db1d8]
mov dword [edi + 0xc], eax
test eax, eax
je 0x4aeddc
mov ecx, dword [edi + 4]
sub dword [edi + 8], esi
mov dword [ebp - 0x18], ecx
mov dword [0x4db1d4], ecx
lea eax, [esi + ecx]
mov dword [edi + 4], eax
jmp 0x4aede3
mov dword [ebp - 0x18], 0
lea eax, [esi - 1]
cmp eax, 0x7fff
ja 0x4aee44
cmp dword [0x4db1dc], 0
jne 0x4aee0a
call fcn.004a8e80
mov edi, dword [0x4db1d8]
mov dword [0x4db1dc], eax
test eax, eax
je 0x4aee44
cmp esi, dword [edi + 8]
jbe 0x4aee21
call fcn.004a8e80
mov edi, dword [0x4db1d8]
mov dword [edi + 0xc], eax
test eax, eax
je 0x4aee44
mov edx, dword [edi + 4]
mov eax, esi
mov dword [ebp - 0x20], edx
mov dword [0x4db1d4], edx
and eax, 3
je 0x4aee39
sub esi, eax
add esi, 4
sub dword [edi + 8], esi
lea eax, [edx + esi]
mov dword [edi + 4], eax
jmp 0x4aee49
xor edx, edx
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x18], 0
je 0x4aec92
test edx, edx
je 0x4aec92
mov ecx, dword [ebp - 0x34]
shl ecx, 2
mov esi, ecx
mov dword [ebp - 0x14], ecx
lea eax, [esi - 1]
cmp eax, 0x7fff
ja 0x4aeefa
cmp dword [0x4db1dc], 0
jne 0x4aee9f
call fcn.004a8e80
mov dword [0x4db1dc], eax
test eax, eax
jne 0x4aee99
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], edi
jmp 0x4aeefd
mov edi, dword [0x4db1d8]
cmp esi, dword [edi + 8]
jbe 0x4aeec4
call fcn.004a8e80
mov edi, dword [0x4db1d8]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x4aeec4
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], edi
jmp 0x4aeefd
mov edx, dword [edi + 4]
sub dword [edi + 8], esi
mov ecx, dword [ebp - 0x20]
mov dword [0x4db1d4], edx
lea eax, [esi + edx]
mov dword [ebp - 0x20], ecx
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], edi
jmp 0x4aef02
shl eax, 2
xor edi, edi
mov dword [ebp - 0x20], 0
mov esi, eax
mov dword [ebp - 0x18], edi
jmp 0x4aef00
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x50], edx
test esi, esi
je 0x4aef1d
test edx, edx
je 0x4aec92
push eax
push 0
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], 1
cmp eax, 1
jle 0x4af1d0
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x14], edi
nop
push 0x2c
push esi
call dword [ebp - 0x38]
mov edi, eax
mov dword [ebp - 0x68], esi
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x68]
add esp, 8
mov edx, esi
mov byte [edi], 0
inc edi
mov dword [ebp - 0x24], edi
call fcn.00467c90
mov ecx, dword [esi + 8]
cmp ecx, 8
ja case.0x4aef6e.2
jmp dword [ecx*4 + 0x4af260]
mov ecx, edi
mov al, byte [ecx]
cmp al, 0x20
je 0x4aef81
cmp al, 9
jne 0x4aef84
inc ecx
jmp 0x4aef77
test al, al
je 0x4aefc2
cmp al, 0x2d
je 0x4aef90
cmp al, 0x2b
jne 0x4aef97
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4aefc2
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x4aefa6
cmp al, 0x58
jne 0x4aefc2
movsx eax, byte [ecx + 2]
push eax
call dword [ebp - 0x44]
add esp, 4
test eax, eax
je 0x4aefc2
push 0x10
push 0
push edi
call dword [ebp - 0x48]
add esp, 0xc
jmp 0x4aefc9
push edi
call dword [ebp - 0x4c]
add esp, 4
or eax, edx
jne case.0x4aef6e.0
mov dword [esi], edi
jmp 0x4af19b
mov ecx, edi
nop word [eax + eax]
mov al, byte [ecx]
cmp al, 0x20
je 0x4aefea
cmp al, 9
jne 0x4aefed
inc ecx
jmp 0x4aefe0
test al, al
je 0x4af02b
cmp al, 0x2d
je 0x4aeff9
cmp al, 0x2b
jne 0x4af000
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4af02b
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x4af00f
cmp al, 0x58
jne 0x4af02b
movsx eax, byte [ecx + 2]
push eax
call dword [ebp - 0x44]
add esp, 4
test eax, eax
je 0x4af02b
push 0x10
push 0
push edi
call dword [ebp - 0x48]
add esp, 0xc
jmp 0x4af032
push edi
call dword [ebp - 0x4c]
add esp, 4
or eax, edx
jne case.0x4aef6e.0
push 0x2c
push edi
call dword [ebp - 0x38]
mov edi, eax
add esp, 8
test edi, edi
je 0x4af04c
mov byte [edi], 0
push 0xc
call fcn.004c0cb5
mov esi, eax
add esp, 4
mov dword [ebp - 0x58], esi
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov ecx, dword [ebp - 0x24]
mov edx, esi
push 0
mov byte [ebp - 4], 1
push 0xffffffffffffffff
mov dword [esi], vtable.CStringWCharFromChar.0
call fcn.004a8f40
mov eax, dword [ebp - 0x50]
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x30]
mov dword [eax + ecx*4], esi
test edi, edi
je 0x4af09f
mov byte [edi], 0x2c
mov ecx, dword [eax + ecx*4]
call fcn.00478370
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
mov dword [ecx], eax
jmp 0x4af19b
mov ecx, edi
call fcn.00428e40
cmp dword [esi + 8], 6
movsd qword [esi], xmm0
jne 0x4af19b
cvtsd2ss xmm0, xmm0
movss dword [esi], xmm0
jmp 0x4af19b
cmp byte [esi + 0xd], 0
je 0x4af142
cmp ecx, 5
jne 0x4af142
mov ecx, edi
mov al, byte [ecx]
cmp al, 0x20
je 0x4af0ed
cmp al, 9
jne 0x4af0f0
inc ecx
jmp 0x4af0e3
test al, al
je 0x4af12e
cmp al, 0x2d
je 0x4af0fc
cmp al, 0x2b
jne 0x4af103
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4af12e
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x4af112
cmp al, 0x58
jne 0x4af12e
movsx eax, byte [ecx + 2]
push eax
call dword [ebp - 0x44]
add esp, 4
test eax, eax
je 0x4af12e
push 0x10
push 0
push edi
call dword [ebp - 0x48]
add esp, 0xc
jmp 0x4af135
push edi
call dword [ebp - 0x4c]
add esp, 4
or eax, edx
jne 0x4af142
mov ecx, edi
call fcn.0044f230
jmp 0x4af196
mov ecx, edi
mov al, byte [ecx]
cmp al, 0x20
je 0x4af14e
cmp al, 9
jne 0x4af151
inc ecx
jmp 0x4af144
test al, al
je 0x4af18f
cmp al, 0x2d
je 0x4af15d
cmp al, 0x2b
jne 0x4af164
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4af18f
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x4af173
cmp al, 0x58
jne 0x4af18f
movsx eax, byte [ecx + 2]
push eax
call dword [ebp - 0x44]
add esp, 4
test eax, eax
je 0x4af18f
push 0x10
push 0
push edi
call dword [ebp - 0x48]
add esp, 0xc
jmp 0x4af196
push edi
call dword [ebp - 0x4c]
add esp, 4
mov dword [esi], eax
mov dword [esi + 4], edx
push 0x2c
push edi
call dword [ebp - 0x38]
mov esi, eax
add esp, 8
test esi, esi
je 0x4af1ae
mov byte [esi], 0
inc esi
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
add eax, 2
add dword [ebp - 0x14], 0x10
inc ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x28]
jl 0x4aef40
mov eax, dword [ebp - 0x28]
jmp 0x4af1d3
mov edi, dword [ebp - 0x58]
cmp byte [ebp - 0x19], 0
je 0x4af1e0
test eax, eax
je 0x4af1e0
mov byte [edi], 0
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x3c]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x40]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x50]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [edx + 0x34], eax
mov eax, 3
mov dword [edx + 0x10], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push dword [ebp - 0x40]
push str.Parameter_2_required
mov ecx, 0x4dba98
call fcn.0044da60
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret