Function at 0x4a0600
Capabilities:
Allocate or change rwx memory

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 0x4cf02c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x258
push esi
push edi
mov dword [ebp - 0x3c], edx
mov esi, ecx
nop dword [eax]
mov al, byte [esi]
cmp al, 0x20
je 0x4a064a
cmp al, 9
jne 0x4a064d
inc esi
jmp 0x4a0640
push 0x2c
push ecx
call fcn.004b87b6
mov edi, eax
add esp, 8
test edi, edi
je 0x4a1484
cmp byte [edi], 0
je 0x4a1484
push 0x2c
inc edi
push esi
mov dword [ebp - 0x28], edi
call fcn.004b87b6
add esp, 8
test eax, eax
je 0x4a068c
push 0x2c
push esi
call fcn.004b87b6
add esp, 8
mov byte [eax], 0
mov al, byte [edi]
test al, al
je 0x4a06c8
mov ecx, edi
cmp al, 0x20
je 0x4a069c
cmp al, 9
jne 0x4a06a2
mov al, byte [ecx + 1]
inc ecx
jmp 0x4a0694
mov eax, ecx
sub eax, edi
je 0x4a06c8
mov edx, ecx
lea eax, [edx + 1]
mov dword [ebp - 0x34], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x4a06b0
sub edx, dword [ebp - 0x34]
lea eax, [edx + 1]
push eax
push ecx
push edi
call fcn.004b4620
add esp, 0xc
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a06d0
lea eax, [ebp - 0x50]
sub ecx, edx
push eax
push ecx
push esi
mov ecx, 0x4ed830
call fcn.0042e730
test eax, eax
je 0x4a06f8
push esi
push str.Duplicate_function_definition.
jmp 0x4a148c
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a0700
push 0
push dword [ebp - 0x50]
sub ecx, edx
push 0
push ecx
push esi
mov ecx, 0x4ed830
call fcn.0042feb0
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x4a0736
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 - 0x3c]
mov edx, str._A_ScriptDir_
sub esi, edi
mov dword [eax + 8], 0x45b260
add esi, 0x4001
mov byte [eax + 0x51], 1
mov ecx, edi
mov dword [eax + 0x14], 0
mov dword [ebp - 0x14], esi
call fcn.0049e4d0
test eax, eax
je 0x4a07a0
mov ecx, dword [0x4ede4c]
lea edx, [ebp - 0x160]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x4a0774
push 0
push 0
push esi
push 1
lea eax, [ebp - 0x160]
mov edx, str._A_ScriptDir_
push 0
push eax
mov ecx, edi
call fcn.0049e8b0
add esp, 0x18
mov edx, str._A_AppData_
mov ecx, edi
call fcn.0049e4d0
test eax, eax
je 0x4a07e0
lea eax, [ebp - 0x160]
push str.A_AppData
push eax
call fcn.00457640
push 0
push 0
push esi
push 1
lea eax, [ebp - 0x160]
mov edx, str._A_AppData_
push 0
push eax
mov ecx, edi
call fcn.0049e8b0
add esp, 0x20
mov edx, str._A_AppDataCommon_
mov ecx, edi
call fcn.0049e4d0
test eax, eax
je 0x4a0820
lea eax, [ebp - 0x160]
push str.A_AppDataCommon
push eax
call fcn.00457640
push 0
push 0
push esi
push 1
lea eax, [ebp - 0x160]
mov edx, str._A_AppDataCommon_
push 0
push eax
mov ecx, edi
call fcn.0049e8b0
add esp, 0x20
mov edx, str._A_AhkPath_
mov ecx, edi
call fcn.0049e4d0
test eax, eax
je 0x4a08d3
xor esi, esi
lea eax, [ebp - 0x268]
push esi
push ecx
push eax
push ecx
call fcn.0049f430
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x4a0871
nop
test esi, esi
jne 0x4a0871
mov esi, 0x100
lea eax, [ebp - 0x268]
push esi
push ecx
push eax
push ecx
call fcn.0049f430
mov edx, eax
add esp, 0x10
test edx, edx
je 0x4a0850
xor ecx, ecx
mov al, byte [ebp + ecx - 0x268]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x161], al
test al, al
jne 0x4a0873
test edx, edx
je 0x4a08b1
mov esi, 0x103
lea edi, [ebp - 0x160]
sub esi, edx
add edi, edx
push esi
push str.AutoHotkey.exe
push edi
call fcn.004ba990
mov byte [edi + esi], 0
add esp, 0xc
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x160]
push 0
push 0
push esi
push 1
push 0
push eax
mov edx, str._A_AhkPath_
mov ecx, edi
call fcn.0049e8b0
add esp, 0x18
mov edx, str._A_AhkDir_
mov ecx, edi
call fcn.0049e4d0
test eax, eax
je 0x4a0946
push 0
push ecx
lea eax, [ebp - 0x268]
push eax
push ecx
call fcn.0049f430
add esp, 0x10
test eax, eax
jne 0x4a0910
push 0x100
push ecx
lea eax, [ebp - 0x268]
push eax
push ecx
call fcn.0049f430
add esp, 0x10
xor ecx, ecx
mov al, byte [ebp + ecx - 0x268]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x161], al
test al, al
jne 0x4a0912
push 0
push 0
push esi
push 1
lea eax, [ebp - 0x160]
mov edx, str._A_AhkDir_
push 0
push eax
mov ecx, edi
call fcn.0049e8b0
add esp, 0x18
mov edx, str._A_DllDir_
mov ecx, edi
call fcn.0049e4d0
test eax, eax
je 0x4a09dd
push 0x104
lea eax, [ebp - 0x268]
push eax
push dword [0x4eb7a0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4a098a
push 0x104
lea eax, [ebp - 0x268]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x268]
push 0x5c
push eax
call fcn.004be03b
mov esi, eax
lea eax, [ebp - 0x268]
sub esi, eax
push esi
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.004be2bd
add esp, 0x14
mov byte [ebp + esi - 0x160], 0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x160]
mov edx, str._A_DllDir_
mov ecx, edi
push 0
push 0
push esi
push 1
push 0
push eax
call fcn.0049e8b0
add esp, 0x18
mov edx, str._A_DllPath_
mov ecx, edi
call fcn.0049e4d0
test eax, eax
je 0x4a0a54
push 0x104
lea eax, [ebp - 0x268]
push eax
push dword [0x4eb7a0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4a0a1d
push 0x104
lea eax, [ebp - 0x268]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor ecx, ecx
nop
mov al, byte [ebp + ecx - 0x268]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x161], al
test al, al
jne 0x4a0a20
push 0
push 0
push esi
push 1
lea eax, [ebp - 0x160]
mov edx, str._A_DllPath_
push 0
push eax
mov ecx, edi
call fcn.0049e8b0
add esp, 0x18
push 0x25
push edi
call fcn.004b87b6
add esp, 8
test eax, eax
je 0x4a0a6e
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 0x4a148c
push 0x2c
push edi
call fcn.004b87b6
add esp, 8
test eax, eax
je 0x4a0a8b
push 0x2c
push edi
call fcn.004b87b6
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.0045e2e0
test eax, eax
je 0x4a0cb6
push 0x3a
push edi
mov dword [ebp - 0x28], 0x7830
call fcn.004b87b6
add esp, 8
test eax, eax
je 0x4a0ac6
push 0x3a
push edi
call fcn.004b87b6
mov esi, eax
add esp, 8
sub esi, edi
jmp 0x4a0ad9
mov esi, edi
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4a0ad0
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 0x4a0cab
cmp dword [0x4ecf74], 0
jne 0x4a0b12
call fcn.0049b400
mov dword [0x4ecf74], eax
test eax, eax
je 0x4a0cab
mov edx, dword [ebp - 0x14]
mov ecx, dword [0x4ecf70]
cmp edx, dword [ecx + 8]
jbe 0x4a0b36
call fcn.0049b400
mov ecx, dword [0x4ecf70]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x4a0cab
mov edx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x38], eax
mov dword [0x4ecf6c], eax
mov eax, edx
and eax, 3
mov dword [ebp - 0x34], eax
mov eax, edx
je 0x4a0b58
sub eax, dword [ebp - 0x34]
add eax, 4
mov dword [ebp - 0x14], eax
jmp 0x4a0b5b
mov dword [ebp - 0x14], edx
mov ecx, dword [0x4ecf70]
add eax, dword [ebp - 0x38]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x14]
sub dword [ecx + 8], eax
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4a0cab
push 0x40
push 0x1000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x4a0b96
push edi
push str.Could_not_commit_memory_for_DllImport.
jmp 0x4a148c
xor edx, edx
mov dword [ebp - 0x14], edx
test esi, esi
jle 0x4a0bda
nop
lea eax, [edx + edi]
push 2
push eax
lea eax, [ebp - 0x26]
push eax
call fcn.004be2bd
add esp, 0xc
lea eax, [ebp - 0x28]
push 0x10
push 0
push eax
call fcn.004b9ad3
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov edx, dword [ebp - 0x38]
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 0x4a0ba0
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a0be0
sub ecx, edx
lea esi, [ecx + 1]
add esi, edi
je 0x4a0d77
cmp byte [esi], al
je 0x4a0d77
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a0c01
sub ecx, edx
mov dword [ebp - 0x30], ecx
lea edx, [ecx + 1]
mov dword [ebp - 0x14], edx
cmp ecx, 0x7fff
ja 0x4a0d63
cmp dword [0x4ecf74], 0
jne 0x4a0c3d
call fcn.0049b400
mov dword [0x4ecf74], eax
test eax, eax
je 0x4a0d63
mov edx, dword [ebp - 0x14]
mov edi, dword [0x4ecf70]
cmp edx, dword [edi + 8]
jbe 0x4a0c61
call fcn.0049b400
mov edi, dword [0x4ecf70]
mov dword [edi + 0xc], eax
test eax, eax
je 0x4a0d63
mov edx, dword [ebp - 0x14]
mov ecx, dword [edi + 4]
mov eax, edx
mov dword [ebp - 0x24], ecx
mov dword [0x4ecf6c], ecx
and eax, 3
je 0x4a0c79
sub edx, eax
add edx, 4
sub dword [edi + 8], edx
lea eax, [ecx + edx]
mov dword [edi + 4], eax
test ecx, ecx
je 0x4a0d63
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4a0ca2
push eax
push esi
push ecx
call fcn.004b4620
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov byte [ecx + eax], 0
jmp 0x4a0d85
push edi
push str.Out_of_memory.
jmp 0x4a148c
mov ecx, edi
mov al, byte [ecx]
cmp al, 0x20
je 0x4a0cc2
cmp al, 9
jne 0x4a0cc5
inc ecx
jmp 0x4a0cb8
test al, al
je 0x4a0d07
cmp al, 0x2d
je 0x4a0cd1
cmp al, 0x2b
jne 0x4a0cd8
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4a0d07
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x4a0ce7
cmp al, 0x58
jne 0x4a0d07
movsx eax, byte [ecx + 2]
push eax
call fcn.004b99b0
add esp, 4
test eax, eax
je 0x4a0d07
push 0x10
push 0
push edi
call fcn.004b9a3b
add esp, 0xc
jmp 0x4a0d10
push edi
call fcn.004b94ac
add esp, 4
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x4a0bda
push 0x5c
push edi
call fcn.004be03b
mov esi, eax
add esp, 8
test esi, esi
je 0x4a0d44
push edi
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x4a0d41
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [esi], 0x5c
xor edx, edx
mov ecx, edi
call fcn.00459c80
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x4a0bda
push edi
push str.Call_to_nonexistent_function.
jmp 0x4a148c
push esi
push str.Out_of_memory.
mov ecx, 0x4ed830
call fcn.0043ed90
xor ecx, ecx
jmp 0x4a0d7c
mov ecx, 0x4d5231
mov edi, dword [0x4ecf70]
mov dword [ebp - 0x24], ecx
mov al, byte [ecx]
mov byte [ebp - 0x19], 0
test al, al
je 0x4a0e04
mov edx, ecx
cmp al, 0x20
je 0x4a0d9d
cmp al, 9
jne 0x4a0da3
mov al, byte [edx + 1]
inc edx
jmp 0x4a0d95
test al, al
je 0x4a0dea
cmp al, 0x2d
je 0x4a0daf
cmp al, 0x2b
jne 0x4a0db6
lea eax, [edx + 1]
mov edx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4a0dea
mov al, byte [edx + 1]
cmp al, 0x78
je 0x4a0dc5
cmp al, 0x58
jne 0x4a0dea
movsx eax, byte [edx + 2]
push eax
call fcn.004b99b0
add esp, 4
test eax, eax
je 0x4a0de7
push 0x10
push 0
push dword [ebp - 0x24]
call fcn.004b9ad3
add esp, 0xc
jmp 0x4a0df3
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004b9548
add esp, 4
mov edi, dword [0x4ecf70]
mov dword [ebp - 0x2c], 1
test eax, eax
je 0x4a0e0b
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x24]
cmp byte [eax], 0
je 0x4a0e67
push 0x2c
push esi
call fcn.004b87b6
add esp, 8
test eax, eax
je 0x4a0e46
push 0x2c
push esi
call fcn.004b87b6
mov esi, eax
add esp, 8
test esi, esi
je 0x4a0e34
inc esi
inc dword [ebp - 0x2c]
push 0x2c
push esi
call fcn.004b87b6
add esp, 8
test eax, eax
jne 0x4a0e22
mov eax, dword [ebp - 0x24]
cmp byte [eax], 0
je 0x4a0e61
cmp dword [ebp - 0x2c], 1
jge 0x4a0e61
push dword [ebp - 0x3c]
push str.Parameter_3_required
jmp 0x4a148c
mov edi, dword [0x4ecf70]
cmp dword [0x4ecf74], 0
jne 0x4a0e84
call fcn.0049b400
mov dword [0x4ecf74], eax
test eax, eax
je 0x4a0eb6
mov edi, dword [0x4ecf70]
cmp dword [edi + 8], 0x10
jae 0x4a0e9c
call fcn.0049b400
mov edi, dword [0x4ecf70]
mov dword [edi + 0xc], eax
test eax, eax
je 0x4a0eb6
mov edx, dword [edi + 4]
add dword [edi + 8], 0xfffffff0
mov dword [ebp - 0x3c], edx
mov dword [0x4ecf6c], edx
lea eax, [edx + 0x10]
mov dword [edi + 4], eax
test edx, edx
jne 0x4a0ec5
push 0x4d5231
push str.Out_of_memory.
jmp 0x4a148c
mov ecx, dword [ebp - 0x2c]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0x20
movups xmmword [edx], xmm0
test cl, 1
jne 0x4a0ee6
mov dword [edx + 8], 2
jmp 0x4a0f92
mov al, byte [esi]
cmp al, 0x20
je 0x4a0ef0
cmp al, 9
jne 0x4a0ef3
inc esi
jmp 0x4a0ee6
push 5
push str.CDecl
push esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], 0
call fcn.004b653e
add esp, 0xc
test eax, eax
jne 0x4a0f45
mov edx, 0x10
add esi, 5
mov dword [ebp - 0x30], edx
nop dword [eax]
mov al, byte [esi]
cmp al, 0x20
je 0x4a0f2a
cmp al, 9
jne 0x4a0f2d
inc esi
jmp 0x4a0f20
mov dword [ebp - 0x4c], esi
test al, al
jne 0x4a0f45
mov esi, dword [ebp - 0x3c]
mov eax, 2
mov dword [esi + 8], 2
jmp 0x4a0f64
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x4c]
mov edx, esi
call fcn.00459550
mov eax, dword [esi + 8]
test eax, eax
je case.0x4a1190.0
mov edx, dword [ebp - 0x30]
mov byte [ebp - 0x19], 1
mov ecx, dword [ebp - 0x2c]
dec ecx
cmp byte [esi + 0xc], 0
mov dword [ebp - 0x2c], ecx
jne 0x4a0f8c
cmp eax, 7
jne 0x4a0f7e
or edx, 0x200
jmp 0x4a0f89
cmp eax, 6
jne 0x4a0f8c
or edx, 0x100
mov dword [ebp - 0x30], edx
mov edi, dword [0x4ecf70]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x34], eax
je 0x4a1107
mov esi, eax
shl esi, 4
lea eax, [esi - 1]
cmp eax, 0x7fff
ja 0x4a0ffc
cmp dword [0x4ecf74], 0
jne 0x4a0fce
call fcn.0049b400
mov edi, dword [0x4ecf70]
mov dword [0x4ecf74], eax
test eax, eax
je 0x4a0ffc
cmp esi, dword [edi + 8]
jbe 0x4a0fe5
call fcn.0049b400
mov edi, dword [0x4ecf70]
mov dword [edi + 0xc], eax
test eax, eax
je 0x4a0ffc
mov ecx, dword [edi + 4]
sub dword [edi + 8], esi
mov dword [ebp - 0x18], ecx
mov dword [0x4ecf6c], ecx
lea eax, [esi + ecx]
mov dword [edi + 4], eax
jmp 0x4a1003
mov dword [ebp - 0x18], 0
lea eax, [esi - 1]
cmp eax, 0x7fff
ja 0x4a1064
cmp dword [0x4ecf74], 0
jne 0x4a102a
call fcn.0049b400
mov edi, dword [0x4ecf70]
mov dword [0x4ecf74], eax
test eax, eax
je 0x4a1064
cmp esi, dword [edi + 8]
jbe 0x4a1041
call fcn.0049b400
mov edi, dword [0x4ecf70]
mov dword [edi + 0xc], eax
test eax, eax
je 0x4a1064
mov edx, dword [edi + 4]
mov eax, esi
mov dword [ebp - 0x20], edx
mov dword [0x4ecf6c], edx
and eax, 3
je 0x4a1059
sub esi, eax
add esi, 4
sub dword [edi + 8], esi
lea eax, [edx + esi]
mov dword [edi + 4], eax
jmp 0x4a1069
xor edx, edx
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x18], 0
je 0x4a0eb6
test edx, edx
je 0x4a0eb6
mov ecx, dword [ebp - 0x34]
shl ecx, 2
mov esi, ecx
mov dword [ebp - 0x14], ecx
lea eax, [esi - 1]
cmp eax, 0x7fff
ja 0x4a111a
cmp dword [0x4ecf74], 0
jne 0x4a10bf
call fcn.0049b400
mov dword [0x4ecf74], eax
test eax, eax
jne 0x4a10b9
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], edi
jmp 0x4a111d
mov edi, dword [0x4ecf70]
cmp esi, dword [edi + 8]
jbe 0x4a10e4
call fcn.0049b400
mov edi, dword [0x4ecf70]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x4a10e4
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], edi
jmp 0x4a111d
mov edx, dword [edi + 4]
sub dword [edi + 8], esi
mov ecx, dword [ebp - 0x20]
mov dword [0x4ecf6c], 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 0x4a1122
shl eax, 2
xor edi, edi
mov dword [ebp - 0x20], 0
mov esi, eax
mov dword [ebp - 0x18], edi
jmp 0x4a1120
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x40], edx
test esi, esi
je 0x4a113d
test edx, edx
je 0x4a0eb6
push eax
push 0
push edx
call fcn.004b4390
add esp, 0xc
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x34], 1
cmp eax, 1
jle 0x4a141a
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x14], edi
nop
push 0x2c
push esi
call fcn.004b87b6
mov edi, eax
mov dword [ebp - 0x58], esi
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x58]
add esp, 8
mov edx, esi
mov byte [edi], 0
inc edi
mov dword [ebp - 0x24], edi
call fcn.00459550
mov ecx, dword [esi + 8]
cmp ecx, 8
ja case.0x4a1190.2
jmp dword [ecx*4 + 0x4a14ac]
mov ecx, edi
nop dword [eax]
mov al, byte [ecx]
cmp al, 0x20
je 0x4a11aa
cmp al, 9
jne 0x4a11ad
inc ecx
jmp 0x4a11a0
test al, al
je 0x4a11ef
cmp al, 0x2d
je 0x4a11b9
cmp al, 0x2b
jne 0x4a11c0
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4a11ef
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x4a11cf
cmp al, 0x58
jne 0x4a11ef
movsx eax, byte [ecx + 2]
push eax
call fcn.004b99b0
add esp, 4
test eax, eax
je 0x4a11ef
push 0x10
push 0
push edi
call fcn.004b9a3b
add esp, 0xc
jmp 0x4a11f8
push edi
call fcn.004b94ac
add esp, 4
or eax, edx
jne case.0x4a1190.0
mov dword [esi], edi
jmp 0x4a13e4
mov ecx, edi
nop dword [eax]
mov al, byte [ecx]
cmp al, 0x20
je 0x4a121a
cmp al, 9
jne 0x4a121d
inc ecx
jmp 0x4a1210
test al, al
je 0x4a125f
cmp al, 0x2d
je 0x4a1229
cmp al, 0x2b
jne 0x4a1230
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4a125f
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x4a123f
cmp al, 0x58
jne 0x4a125f
movsx eax, byte [ecx + 2]
push eax
call fcn.004b99b0
add esp, 4
test eax, eax
je 0x4a125f
push 0x10
push 0
push edi
call fcn.004b9a3b
add esp, 0xc
jmp 0x4a1268
push edi
call fcn.004b94ac
add esp, 4
or eax, edx
jne case.0x4a1190.0
push 0x2c
push edi
call fcn.004b87b6
mov edi, eax
add esp, 8
test edi, edi
je 0x4a1284
mov byte [edi], 0
push 0xc
call fcn.004b3125
mov esi, eax
add esp, 4
mov dword [ebp - 0x48], 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.0049b4c0
mov eax, dword [ebp - 0x40]
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
mov dword [eax + ecx*4], esi
test edi, edi
je 0x4a12d7
mov byte [edi], 0x2c
mov ecx, dword [eax + ecx*4]
call fcn.00469c40
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
mov dword [ecx], eax
jmp 0x4a13e4
mov ecx, edi
call fcn.00421050
cmp dword [esi + 8], 6
movsd qword [esi], xmm0
jne 0x4a13e4
cvtsd2ss xmm0, xmm0
movss dword [esi], xmm0
jmp 0x4a13e4
cmp byte [esi + 0xd], 0
je 0x4a1385
cmp ecx, 5
jne 0x4a1385
mov ecx, edi
nop dword [eax + eax]
mov al, byte [ecx]
cmp al, 0x20
je 0x4a132a
cmp al, 9
jne 0x4a132d
inc ecx
jmp 0x4a1320
test al, al
je 0x4a136f
cmp al, 0x2d
je 0x4a1339
cmp al, 0x2b
jne 0x4a1340
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4a136f
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x4a134f
cmp al, 0x58
jne 0x4a136f
movsx eax, byte [ecx + 2]
push eax
call fcn.004b99b0
add esp, 4
test eax, eax
je 0x4a136f
push 0x10
push 0
push edi
call fcn.004b9a3b
add esp, 0xc
jmp 0x4a1378
push edi
call fcn.004b94ac
add esp, 4
or eax, edx
jne 0x4a1385
mov ecx, edi
call fcn.004404a0
jmp 0x4a13df
mov ecx, edi
mov al, byte [ecx]
cmp al, 0x20
je 0x4a1391
cmp al, 9
jne 0x4a1394
inc ecx
jmp 0x4a1387
test al, al
je 0x4a13d6
cmp al, 0x2d
je 0x4a13a0
cmp al, 0x2b
jne 0x4a13a7
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4a13d6
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x4a13b6
cmp al, 0x58
jne 0x4a13d6
movsx eax, byte [ecx + 2]
push eax
call fcn.004b99b0
add esp, 4
test eax, eax
je 0x4a13d6
push 0x10
push 0
push edi
call fcn.004b9a3b
add esp, 0xc
jmp 0x4a13df
push edi
call fcn.004b94ac
add esp, 4
mov dword [esi], eax
mov dword [esi + 4], edx
push 0x2c
push edi
call fcn.004b87b6
mov esi, eax
add esp, 8
test esi, esi
je 0x4a13f9
mov byte [esi], 0
inc esi
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x28]
add ecx, 2
add dword [ebp - 0x14], 0x10
inc edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x34], ecx
cmp ecx, eax
jl 0x4a1160
jmp 0x4a141d
mov edi, dword [ebp - 0x48]
cmp byte [ebp - 0x19], 0
je 0x4a142a
test eax, eax
je 0x4a142a
mov byte [edi], 0
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x40]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [ecx + 0x34], eax
mov eax, 3
mov dword [ecx + 0x10], edx
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 - 0x3c]
push str.Parameter_2_required
mov ecx, 0x4ed830
call fcn.0043ed90
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