Function at 0x4a0c90
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 0x4b508c
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 0x4a0cda
cmp al, 9
jne 0x4a0cdd
inc esi
jmp 0x4a0cd0
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 0x4a1aed
cmp byte [edi], 0
je 0x4a1aed
push 0x2c
inc edi
push esi
mov dword [ebp - 0x2c], edi
call dword [ebp - 0x38]
add esp, 8
test eax, eax
je 0x4a0d1d
push 0x2c
push esi
call dword [ebp - 0x38]
add esp, 8
mov byte [eax], 0
mov al, byte [edi]
test al, al
je 0x4a0d59
mov ecx, edi
cmp al, 0x20
je 0x4a0d2d
cmp al, 9
jne 0x4a0d33
mov al, byte [ecx + 1]
inc ecx
jmp 0x4a0d25
mov eax, ecx
sub eax, edi
je 0x4a0d59
mov edx, ecx
lea eax, [edx + 1]
mov dword [ebp - 0x34], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x4a0d41
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
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a0d60
lea eax, [ebp - 0x60]
sub ecx, edx
push eax
push ecx
push esi
mov ecx, 0x4cc848
call fcn.0042e8f0
test eax, eax
je 0x4a0d88
push esi
push str.Duplicate_function_definition.
jmp 0x4a1af5
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a0d90
push 0
push dword [ebp - 0x60]
sub ecx, edx
push 0
push ecx
push esi
mov ecx, 0x4cc848
call fcn.0042fea0
mov dword [ebp - 0x54], eax
test eax, eax
jne 0x4a0dc6
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], 0x45b490
add esi, 0x4001
mov byte [eax + 0x51], 1
mov ecx, edi
mov dword [eax + 0x14], 0
mov dword [ebp - 0x14], esi
call fcn.0049eb30
test eax, eax
je 0x4a0e30
mov ecx, dword [0x4cce64]
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 0x4a0e04
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.0049ef20
add esp, 0x18
mov edx, str._A_AppData_
mov ecx, edi
call fcn.0049eb30
test eax, eax
je 0x4a0e70
lea eax, [ebp - 0x170]
push str.A_AppData
push eax
call fcn.00457830
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.0049ef20
add esp, 0x20
mov edx, str._A_AppDataCommon_
mov ecx, edi
call fcn.0049eb30
test eax, eax
je 0x4a0eb0
lea eax, [ebp - 0x170]
push str.A_AppDataCommon
push eax
call fcn.00457830
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.0049ef20
add esp, 0x20
mov edx, str._A_AhkPath_
mov ecx, edi
call fcn.0049eb30
test eax, eax
je 0x4a0f64
xor esi, esi
lea eax, [ebp - 0x278]
push esi
push ecx
push eax
push ecx
call fcn.0049fac0
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x4a0f01
nop
test esi, esi
jne 0x4a0f01
mov esi, 0x100
lea eax, [ebp - 0x278]
push esi
push ecx
push eax
push ecx
call fcn.0049fac0
mov edx, eax
add esp, 0x10
test edx, edx
je 0x4a0ee0
xor ecx, ecx
mov al, byte [ebp + ecx - 0x278]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x171], al
test al, al
jne 0x4a0f03
test edx, edx
je 0x4a0f42
mov esi, 0x103
lea edi, [ebp - 0x170]
sub esi, edx
add edi, edx
push esi
push str.AutoHotkey.exe
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [edi + esi], 0
add esp, 0xc
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x170]
push 0
push 0
push esi
push 1
push 0
push eax
mov edx, str._A_AhkPath_
mov ecx, edi
call fcn.0049ef20
add esp, 0x18
mov edx, str._A_AhkDir_
mov ecx, edi
call fcn.0049eb30
test eax, eax
je 0x4a0fd7
push 0
push ecx
lea eax, [ebp - 0x278]
push eax
push ecx
call fcn.0049fac0
add esp, 0x10
test eax, eax
jne 0x4a0fa1
push 0x100
push ecx
lea eax, [ebp - 0x278]
push eax
push ecx
call fcn.0049fac0
add esp, 0x10
xor ecx, ecx
mov al, byte [ebp + ecx - 0x278]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x171], al
test al, al
jne 0x4a0fa3
push 0
push 0
push esi
push 1
lea eax, [ebp - 0x170]
mov edx, str._A_AhkDir_
push 0
push eax
mov ecx, edi
call fcn.0049ef20
add esp, 0x18
mov edx, str._A_DllDir_
mov ecx, edi
call fcn.0049eb30
test eax, eax
je 0x4a1070
push 0x104
lea eax, [ebp - 0x278]
push eax
push dword [0x4ca7b8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4a101b
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_DllDir_
mov ecx, edi
push 0
push 0
push esi
push 1
push 0
push eax
call fcn.0049ef20
add esp, 0x18
mov edx, str._A_DllPath_
mov ecx, edi
call fcn.0049eb30
test eax, eax
je 0x4a10e6
push 0x104
lea eax, [ebp - 0x278]
push eax
push dword [0x4ca7b8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4a10b0
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 0x4a10b2
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.0049ef20
add esp, 0x18
mov esi, dword [ebp - 0x38]
push 0x25
push edi
call esi
add esp, 8
test eax, eax
je 0x4a1100
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 0x4a1af5
push 0x2c
push edi
call esi
add esp, 8
test eax, eax
je 0x4a1117
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.0045e500
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 0x4a1357
push 0x3a
push edi
mov dword [ebp - 0x2c], 0x7830
call esi
add esp, 8
test eax, eax
je 0x4a1165
push 0x3a
push edi
call esi
mov esi, eax
add esp, 8
sub esi, edi
jmp 0x4a1179
mov esi, edi
lea ecx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4a1170
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 0x4a134c
cmp dword [0x4cbf8c], 0
jne 0x4a11b2
call fcn.0049ba10
mov dword [0x4cbf8c], eax
test eax, eax
je 0x4a134c
mov edx, dword [ebp - 0x14]
mov ecx, dword [0x4cbf88]
cmp edx, dword [ecx + 8]
jbe 0x4a11d6
call fcn.0049ba10
mov ecx, dword [0x4cbf88]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x4a134c
mov edx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x3c], eax
mov dword [0x4cbf84], eax
mov eax, edx
and eax, 3
mov dword [ebp - 0x34], eax
mov eax, edx
je 0x4a11f8
sub eax, dword [ebp - 0x34]
add eax, 4
mov dword [ebp - 0x14], eax
jmp 0x4a11fb
mov dword [ebp - 0x14], edx
mov ecx, dword [0x4cbf88]
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 0x4a134c
push 0x40
push 0x1000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x4a1236
push edi
push str.Could_not_commit_memory_for_DllImport.
jmp 0x4a1af5
xor edx, edx
mov dword [ebp - 0x14], edx
test esi, esi
jle 0x4a127c
nop
lea eax, [edx + edi]
push 2
push eax
lea eax, [ebp - 0x2a]
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy]
add esp, 0xc
lea eax, [ebp - 0x2c]
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 0x4a1240
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a1281
sub ecx, edx
lea esi, [ecx + 1]
add esi, edi
je 0x4a1419
cmp byte [esi], al
je 0x4a1419
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a12a2
sub ecx, edx
mov dword [ebp - 0x30], ecx
lea edx, [ecx + 1]
mov dword [ebp - 0x14], edx
cmp ecx, 0x7fff
ja 0x4a1405
cmp dword [0x4cbf8c], 0
jne 0x4a12de
call fcn.0049ba10
mov dword [0x4cbf8c], eax
test eax, eax
je 0x4a1405
mov edx, dword [ebp - 0x14]
mov edi, dword [0x4cbf88]
cmp edx, dword [edi + 8]
jbe 0x4a1302
call fcn.0049ba10
mov edi, dword [0x4cbf88]
mov dword [edi + 0xc], eax
test eax, eax
je 0x4a1405
mov edx, dword [ebp - 0x14]
mov ecx, dword [edi + 4]
mov eax, edx
mov dword [ebp - 0x24], ecx
mov dword [0x4cbf84], ecx
and eax, 3
je 0x4a131a
sub edx, eax
add edx, 4
sub dword [edi + 8], edx
lea eax, [ecx + edx]
mov dword [edi + 4], eax
test ecx, ecx
je 0x4a1405
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4a1343
push eax
push esi
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov byte [ecx + eax], 0
jmp 0x4a1427
push edi
push str.Out_of_memory.
jmp 0x4a1af5
mov ecx, edi
nop dword [eax]
mov al, byte [ecx]
cmp al, 0x20
je 0x4a136a
cmp al, 9
jne 0x4a136d
inc ecx
jmp 0x4a1360
test al, al
je 0x4a13aa
cmp al, 0x2d
je 0x4a1379
cmp al, 0x2b
jne 0x4a1380
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4a13aa
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x4a138f
cmp al, 0x58
jne 0x4a13aa
movsx eax, byte [ecx + 2]
push eax
call edx
add esp, 4
test eax, eax
je 0x4a13aa
push 0x10
push 0
push edi
call dword [ebp - 0x48]
add esp, 0xc
jmp 0x4a13b1
push edi
call dword [ebp - 0x4c]
add esp, 4
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x4a127c
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 0x4a13e6
push edi
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x4a13e3
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [esi], 0x5c
xor edx, edx
mov ecx, edi
call fcn.00459ea0
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x4a127c
push edi
push str.Call_to_nonexistent_function.
jmp 0x4a1af5
push esi
push str.Out_of_memory.
mov ecx, 0x4cc848
call fcn.0043ee10
xor ecx, ecx
jmp 0x4a141e
mov ecx, 0x4b6ba9
mov edi, dword [0x4cbf88]
mov dword [ebp - 0x24], ecx
mov al, byte [ecx]
mov byte [ebp - 0x19], 0
test al, al
je 0x4a149f
cmp al, 0x20
je 0x4a1439
cmp al, 9
jne 0x4a143f
mov al, byte [ecx + 1]
inc ecx
jmp 0x4a1431
test al, al
je 0x4a1482
cmp al, 0x2d
je 0x4a144b
cmp al, 0x2b
jne 0x4a1452
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4a1482
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x4a1461
cmp al, 0x58
jne 0x4a1482
movsx eax, byte [ecx + 2]
push eax
call dword [ebp - 0x44]
add esp, 4
test eax, eax
je 0x4a1482
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 0x4a148e
push dword [ebp - 0x24]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov edi, dword [0x4cbf88]
mov dword [ebp - 0x28], 1
test eax, eax
je 0x4a14a6
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x24]
cmp byte [eax], 0
je 0x4a14ff
mov edi, dword [ebp - 0x38]
push 0x2c
push esi
call edi
add esp, 8
test eax, eax
je 0x4a14de
nop dword [eax]
push 0x2c
push esi
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x4a14cf
inc esi
inc dword [ebp - 0x28]
push 0x2c
push esi
call edi
add esp, 8
test eax, eax
jne 0x4a14c0
mov eax, dword [ebp - 0x24]
cmp byte [eax], 0
je 0x4a14f9
cmp dword [ebp - 0x28], 1
jge 0x4a14f9
push dword [ebp - 0x40]
push str.Parameter_3_required
jmp 0x4a1af5
mov edi, dword [0x4cbf88]
cmp dword [0x4cbf8c], 0
jne 0x4a151c
call fcn.0049ba10
mov dword [0x4cbf8c], eax
test eax, eax
je 0x4a154e
mov edi, dword [0x4cbf88]
cmp dword [edi + 8], 0x10
jae 0x4a1534
call fcn.0049ba10
mov edi, dword [0x4cbf88]
mov dword [edi + 0xc], eax
test eax, eax
je 0x4a154e
mov edx, dword [edi + 4]
add dword [edi + 8], 0xfffffff0
mov dword [ebp - 0x40], edx
mov dword [0x4cbf84], edx
lea eax, [edx + 0x10]
mov dword [edi + 4], eax
test edx, edx
jne 0x4a155d
push 0x4b6ba9
push str.Out_of_memory.
jmp 0x4a1af5
mov ecx, dword [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0x20
movups xmmword [edx], xmm0
test cl, 1
jne 0x4a1580
mov dword [edx + 8], 2
jmp 0x4a1629
mov al, byte [esi]
cmp al, 0x20
je 0x4a158a
cmp al, 9
jne 0x4a158d
inc esi
jmp 0x4a1580
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 0x4a15dc
mov edx, 0x10
add esi, 5
mov dword [ebp - 0x30], edx
mov al, byte [esi]
cmp al, 0x20
je 0x4a15c1
cmp al, 9
jne 0x4a15c4
inc esi
jmp 0x4a15b7
mov dword [ebp - 0x5c], esi
test al, al
jne 0x4a15dc
mov esi, dword [ebp - 0x40]
mov eax, 2
mov dword [esi + 8], 2
jmp 0x4a15fb
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x5c]
mov edx, esi
call fcn.00459780
mov eax, dword [esi + 8]
test eax, eax
je case.0x4a1823.0
mov edx, dword [ebp - 0x30]
mov byte [ebp - 0x19], 1
mov ecx, dword [ebp - 0x28]
dec ecx
cmp byte [esi + 0xc], 0
mov dword [ebp - 0x28], ecx
jne 0x4a1623
cmp eax, 7
jne 0x4a1615
or edx, 0x200
jmp 0x4a1620
cmp eax, 6
jne 0x4a1623
or edx, 0x100
mov dword [ebp - 0x30], edx
mov edi, dword [0x4cbf88]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x34], eax
je 0x4a179e
mov esi, eax
shl esi, 4
lea eax, [esi - 1]
cmp eax, 0x7fff
ja 0x4a1693
cmp dword [0x4cbf8c], 0
jne 0x4a1665
call fcn.0049ba10
mov edi, dword [0x4cbf88]
mov dword [0x4cbf8c], eax
test eax, eax
je 0x4a1693
cmp esi, dword [edi + 8]
jbe 0x4a167c
call fcn.0049ba10
mov edi, dword [0x4cbf88]
mov dword [edi + 0xc], eax
test eax, eax
je 0x4a1693
mov ecx, dword [edi + 4]
sub dword [edi + 8], esi
mov dword [ebp - 0x18], ecx
mov dword [0x4cbf84], ecx
lea eax, [esi + ecx]
mov dword [edi + 4], eax
jmp 0x4a169a
mov dword [ebp - 0x18], 0
lea eax, [esi - 1]
cmp eax, 0x7fff
ja 0x4a16fb
cmp dword [0x4cbf8c], 0
jne 0x4a16c1
call fcn.0049ba10
mov edi, dword [0x4cbf88]
mov dword [0x4cbf8c], eax
test eax, eax
je 0x4a16fb
cmp esi, dword [edi + 8]
jbe 0x4a16d8
call fcn.0049ba10
mov edi, dword [0x4cbf88]
mov dword [edi + 0xc], eax
test eax, eax
je 0x4a16fb
mov edx, dword [edi + 4]
mov eax, esi
mov dword [ebp - 0x20], edx
mov dword [0x4cbf84], edx
and eax, 3
je 0x4a16f0
sub esi, eax
add esi, 4
sub dword [edi + 8], esi
lea eax, [edx + esi]
mov dword [edi + 4], eax
jmp 0x4a1700
xor edx, edx
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x18], 0
je 0x4a154e
test edx, edx
je 0x4a154e
mov ecx, dword [ebp - 0x34]
shl ecx, 2
mov esi, ecx
mov dword [ebp - 0x14], ecx
lea eax, [esi - 1]
cmp eax, 0x7fff
ja 0x4a17b1
cmp dword [0x4cbf8c], 0
jne 0x4a1756
call fcn.0049ba10
mov dword [0x4cbf8c], eax
test eax, eax
jne 0x4a1750
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], edi
jmp 0x4a17b4
mov edi, dword [0x4cbf88]
cmp esi, dword [edi + 8]
jbe 0x4a177b
call fcn.0049ba10
mov edi, dword [0x4cbf88]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x4a177b
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], edi
jmp 0x4a17b4
mov edx, dword [edi + 4]
sub dword [edi + 8], esi
mov ecx, dword [ebp - 0x20]
mov dword [0x4cbf84], 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 0x4a17b9
shl eax, 2
xor edi, edi
mov dword [ebp - 0x20], 0
mov esi, eax
mov dword [ebp - 0x18], edi
jmp 0x4a17b7
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x50], edx
test esi, esi
je 0x4a17d4
test edx, edx
je 0x4a154e
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 - 0x2c], ecx
mov dword [ebp - 0x34], 1
cmp eax, 1
jle 0x4a1a83
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x14], edi
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.00459780
mov ecx, dword [esi + 8]
cmp ecx, 8
ja case.0x4a1823.2
jmp dword [ecx*4 + 0x4a1b14]
mov ecx, edi
nop dword [eax]
mov al, byte [ecx]
cmp al, 0x20
je 0x4a183a
cmp al, 9
jne 0x4a183d
inc ecx
jmp 0x4a1830
test al, al
je 0x4a187b
cmp al, 0x2d
je 0x4a1849
cmp al, 0x2b
jne 0x4a1850
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4a187b
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x4a185f
cmp al, 0x58
jne 0x4a187b
movsx eax, byte [ecx + 2]
push eax
call dword [ebp - 0x44]
add esp, 4
test eax, eax
je 0x4a187b
push 0x10
push 0
push edi
call dword [ebp - 0x48]
add esp, 0xc
jmp 0x4a1882
push edi
call dword [ebp - 0x4c]
add esp, 4
or eax, edx
jne case.0x4a1823.0
mov dword [esi], edi
jmp 0x4a1a4e
mov ecx, edi
mov al, byte [ecx]
cmp al, 0x20
je 0x4a189d
cmp al, 9
jne 0x4a18a0
inc ecx
jmp 0x4a1893
test al, al
je 0x4a18de
cmp al, 0x2d
je 0x4a18ac
cmp al, 0x2b
jne 0x4a18b3
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4a18de
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x4a18c2
cmp al, 0x58
jne 0x4a18de
movsx eax, byte [ecx + 2]
push eax
call dword [ebp - 0x44]
add esp, 4
test eax, eax
je 0x4a18de
push 0x10
push 0
push edi
call dword [ebp - 0x48]
add esp, 0xc
jmp 0x4a18e5
push edi
call dword [ebp - 0x4c]
add esp, 4
or eax, edx
jne case.0x4a1823.0
push 0x2c
push edi
call dword [ebp - 0x38]
mov edi, eax
add esp, 8
test edi, edi
je 0x4a18ff
mov byte [edi], 0
push 0xc
call fcn.004b37d4
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.0049bad0
mov eax, dword [ebp - 0x50]
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
mov dword [eax + ecx*4], esi
test edi, edi
je 0x4a1952
mov byte [edi], 0x2c
mov ecx, dword [eax + ecx*4]
call fcn.00469f40
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
mov dword [ecx], eax
jmp 0x4a1a4e
mov ecx, edi
call fcn.00421130
cmp dword [esi + 8], 6
movsd qword [esi], xmm0
jne 0x4a1a4e
cvtsd2ss xmm0, xmm0
movss dword [esi], xmm0
jmp 0x4a1a4e
cmp byte [esi + 0xd], 0
je 0x4a19f5
cmp ecx, 5
jne 0x4a19f5
mov ecx, edi
mov al, byte [ecx]
cmp al, 0x20
je 0x4a19a0
cmp al, 9
jne 0x4a19a3
inc ecx
jmp 0x4a1996
test al, al
je 0x4a19e1
cmp al, 0x2d
je 0x4a19af
cmp al, 0x2b
jne 0x4a19b6
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4a19e1
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x4a19c5
cmp al, 0x58
jne 0x4a19e1
movsx eax, byte [ecx + 2]
push eax
call dword [ebp - 0x44]
add esp, 4
test eax, eax
je 0x4a19e1
push 0x10
push 0
push edi
call dword [ebp - 0x48]
add esp, 0xc
jmp 0x4a19e8
push edi
call dword [ebp - 0x4c]
add esp, 4
or eax, edx
jne 0x4a19f5
mov ecx, edi
call fcn.00440570
jmp 0x4a1a49
mov ecx, edi
mov al, byte [ecx]
cmp al, 0x20
je 0x4a1a01
cmp al, 9
jne 0x4a1a04
inc ecx
jmp 0x4a19f7
test al, al
je 0x4a1a42
cmp al, 0x2d
je 0x4a1a10
cmp al, 0x2b
jne 0x4a1a17
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4a1a42
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x4a1a26
cmp al, 0x58
jne 0x4a1a42
movsx eax, byte [ecx + 2]
push eax
call dword [ebp - 0x44]
add esp, 4
test eax, eax
je 0x4a1a42
push 0x10
push 0
push edi
call dword [ebp - 0x48]
add esp, 0xc
jmp 0x4a1a49
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 0x4a1a61
mov byte [esi], 0
inc esi
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
add eax, 2
add dword [ebp - 0x14], 0x10
inc ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x28]
jl 0x4a17f5
mov eax, dword [ebp - 0x28]
jmp 0x4a1a86
mov edi, dword [ebp - 0x58]
cmp byte [ebp - 0x19], 0
je 0x4a1a93
test eax, eax
je 0x4a1a93
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 - 0x30]
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, 0x4cc848
call fcn.0043ee10
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