Function at 0x4b3ce0
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 0x4ce6cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x468
push esi
push edi
mov dword [ebp - 0x34], edx
mov esi, ecx
nop dword [eax]
movzx eax, word [esi]
mov edi, eax
cmp eax, 0x20
je 0x4b3d2f
cmp edi, 9
jne 0x4b3d34
add esi, 2
jmp 0x4b3d20
mov eax, dword [sym.imp.VCRUNTIME140.dll_wcschr]
push 0x2c
push ecx
mov dword [ebp - 0x30], eax
call eax
mov edi, eax
add esp, 8
test edi, edi
je 0x4b4920
cmp word [edi], 0
je 0x4b4920
push 0x2c
add edi, 2
push esi
mov dword [ebp - 0x44], edi
call dword [ebp - 0x30]
add esp, 8
test eax, eax
je 0x4b3d79
push 0x2c
push esi
call dword [ebp - 0x30]
add esp, 8
xor ecx, ecx
mov word [eax], cx
movzx eax, word [edi]
mov ecx, eax
test ax, ax
je 0x4b3dd2
mov edx, edi
movzx eax, ax
cmp eax, 0x20
je 0x4b3d92
cmp eax, 9
jne 0x4b3d9b
movzx eax, word [edx + 2]
add edx, 2
jmp 0x4b3d85
mov eax, edx
sub eax, edi
cmp eax, 2
jb 0x4b3dd2
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x2c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b3db0
sub ecx, dword [ebp - 0x2c]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b3dd7
sub ecx, edx
lea eax, [ebp - 0x58]
sar ecx, 1
push eax
push ecx
push esi
mov ecx, 0x4fdb78
call fcn.0043e7d0
test eax, eax
je 0x4b3e05
push esi
push str.Duplicate_function_definition.
jmp 0x4b4928
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b3e10
push 0
push dword [ebp - 0x58]
sub ecx, edx
sar ecx, 1
push 0
push ecx
push esi
mov ecx, 0x4fdb78
call fcn.0043fd90
mov dword [ebp - 0x5c], eax
test eax, eax
jne 0x4b3e4c
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 dword [eax + 8], 0x46a5b0
mov esi, 0x4001
mov byte [eax + 0x51], 1
mov edx, str._A_ScriptDir_
mov dword [eax + 0x14], 0
mov ecx, edi
mov eax, edi
sub eax, dword [ebp - 0x34]
sar eax, 1
sub esi, eax
mov dword [ebp - 0x18], esi
call fcn.004b1850
test eax, eax
je 0x4b3ebf
mov ecx, dword [0x4fe65c]
lea edx, [ebp - 0x270]
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4b3e90
push 0
push 0
push esi
push 1
lea eax, [ebp - 0x270]
mov edx, str._A_ScriptDir_
push 0
push eax
mov ecx, edi
call fcn.004b1c60
add esp, 0x18
mov edx, str._A_AppData_
mov ecx, edi
call fcn.004b1850
test eax, eax
je 0x4b3eff
lea eax, [ebp - 0x270]
push str.A_AppData
push eax
call fcn.00466270
push 0
push 0
push esi
push 1
lea eax, [ebp - 0x270]
mov edx, str._A_AppData_
push 0
push eax
mov ecx, edi
call fcn.004b1c60
add esp, 0x20
mov edx, str._A_AppDataCommon_
mov ecx, edi
call fcn.004b1850
test eax, eax
je 0x4b3f3f
lea eax, [ebp - 0x270]
push str.A_AppDataCommon
push eax
call fcn.00466270
push 0
push 0
push esi
push 1
lea eax, [ebp - 0x270]
mov edx, str._A_AppDataCommon_
push 0
push eax
mov ecx, edi
call fcn.004b1c60
add esp, 0x20
mov edx, str._A_AhkPath_
mov ecx, edi
call fcn.004b1850
test eax, eax
je 0x4b3f9c
push 0x104
lea eax, [ebp - 0x478]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x478]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x272], ax
test ax, ax
jne 0x4b3f65
push 0
push 0
push esi
push 1
lea eax, [ebp - 0x270]
mov edx, str._A_AhkPath_
push 0
push eax
mov ecx, edi
call fcn.004b1c60
add esp, 0x18
mov edx, str._A_AhkDir_
mov ecx, edi
call fcn.004b1850
test eax, eax
je 0x4b4016
push 0x104
lea eax, [ebp - 0x478]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x478]
push 0x5c
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov esi, eax
lea eax, [ebp - 0x478]
sub esi, eax
sar esi, 1
push esi
push eax
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
add esp, 0x14
xor eax, eax
mov word [ebp + esi*2 - 0x270], ax
mov edx, str._A_AhkDir_
mov esi, dword [ebp - 0x18]
mov ecx, edi
push eax
push eax
push esi
push 1
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.004b1c60
add esp, 0x18
mov edx, str._A_DllDir_
mov ecx, edi
call fcn.004b1850
test eax, eax
je 0x4b40ae
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x478]
push 0x104
push eax
push dword [0x4fba50]
call esi
test eax, eax
jne 0x4b4058
push 0x104
lea eax, [ebp - 0x478]
push eax
push 0
call esi
lea eax, [ebp - 0x478]
push 0x5c
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov esi, eax
lea eax, [ebp - 0x478]
sub esi, eax
sar esi, 1
push esi
push eax
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
add esp, 0x14
xor eax, eax
mov word [ebp + esi*2 - 0x270], ax
mov edx, str._A_DllDir_
mov esi, dword [ebp - 0x18]
mov ecx, edi
push eax
push eax
push esi
push 1
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.004b1c60
add esp, 0x18
mov edx, str._A_DllPath_
mov ecx, edi
call fcn.004b1850
test eax, eax
je 0x4b4127
push 0x104
lea eax, [ebp - 0x478]
push eax
push dword [0x4fba50]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4b40ee
push 0x104
lea eax, [ebp - 0x478]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x478]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x272], ax
test ax, ax
jne 0x4b40f0
push 0
push 0
push esi
push 1
lea eax, [ebp - 0x270]
mov edx, str._A_DllPath_
push 0
push eax
mov ecx, edi
call fcn.004b1c60
add esp, 0x18
mov esi, dword [ebp - 0x30]
push 0x25
push edi
call esi
add esp, 8
test eax, eax
je 0x4b4141
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 0x4b4928
push 0x2c
push edi
call esi
add esp, 8
test eax, eax
je 0x4b415a
push 0x2c
push edi
call esi
add esp, 8
xor ecx, ecx
mov word [eax], cx
mov edx, str._s_A_Fa_f0_9__:_A_Fa_f0_9____s_
mov ecx, edi
call fcn.0046de10
test eax, eax
je 0x4b433a
push 0x3a
push edi
mov dword [ebp - 0x4c], 0x780030
mov dword [ebp - 0x48], 0
call esi
add esp, 8
test eax, eax
je 0x4b4196
push 0x3a
push edi
call esi
mov esi, eax
add esp, 8
sub esi, edi
jmp 0x4b41ad
mov esi, edi
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4b41a0
sub esi, ecx
sar esi, 1
mov eax, esi
cdq
sub eax, edx
mov edx, eax
sar edx, 1
mov dword [ebp - 0x18], edx
lea ecx, [edx - 1]
cmp ecx, 0xffff
ja 0x4b432f
cmp dword [0x4fd2d4], 0
jne 0x4b41e8
call fcn.004ae170
mov dword [0x4fd2d4], eax
test eax, eax
je 0x4b432f
mov edx, dword [ebp - 0x18]
mov ecx, dword [0x4fd2d0]
cmp edx, dword [ecx + 8]
jbe 0x4b420c
call fcn.004ae170
mov ecx, dword [0x4fd2d0]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x4b432f
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x38], eax
mov dword [0x4fd2cc], eax
mov eax, edx
and eax, 3
mov dword [ebp - 0x2c], eax
mov eax, edx
je 0x4b422e
sub eax, dword [ebp - 0x2c]
add eax, 4
mov dword [ebp - 0x18], eax
jmp 0x4b4231
mov dword [ebp - 0x18], edx
mov ecx, dword [0x4fd2d0]
add eax, dword [ebp - 0x38]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x18]
sub dword [ecx + 8], eax
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4b432f
push 0x40
push 0x1000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x4b426c
push edi
push str.Could_not_commit_memory_for_DllImport.
jmp 0x4b4928
test esi, esi
jle 0x4b42b5
mov eax, edi
xor edi, edi
mov dword [ebp - 0x18], eax
push 2
push eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
add esp, 0xc
lea eax, [ebp - 0x4c]
push 0x10
push 0
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
mov edx, dword [ebp - 0x38]
mov ecx, edi
shr ecx, 1
add edi, 2
add esp, 0xc
mov byte [ecx + edx], al
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
cmp edi, esi
jl 0x4b4277
mov edi, dword [ebp - 0x44]
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b42c0
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
lea esi, [edi + esi*2]
test esi, esi
je 0x4b43ca
cmp word [esi], ax
je 0x4b43ca
mov edi, esi
lea ecx, [edi + 2]
nop dword [eax + eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4b42f0
sub edi, ecx
sar edi, 1
lea eax, [edi + edi]
lea ecx, [eax + 2]
mov dword [ebp - 0x2c], eax
call fcn.004ae100
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x4b439c
push esi
push 0x4e3bcc
mov ecx, 0x4fdb78
call fcn.0044ec90
xor edi, edi
jmp 0x4b43cf
push edi
push 0x4e3bcc
jmp 0x4b4928
mov ecx, edi
call fcn.00405520
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x4b42b5
push 0x5c
push edi
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x4b437d
xor eax, eax
push edi
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x4b4375
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, 0x5c
mov word [esi], ax
xor edx, edx
mov ecx, edi
call fcn.00468c70
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x4b42b5
push edi
push str.Call_to_nonexistent_function.
jmp 0x4b4928
test edi, edi
je 0x4b43bc
lea eax, [edi + edi]
mov edi, dword [ebp - 0x14]
push eax
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x2c]
add esp, 0xc
xor ecx, ecx
mov word [eax + edi], cx
jmp 0x4b43d2
mov edi, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
mov word [eax + edi], cx
jmp 0x4b43d2
mov edi, 0x4cfc40
mov dword [ebp - 0x14], edi
cmp word [edi], 0
mov byte [ebp - 0x21], 0
je 0x4b43ee
mov ecx, edi
call fcn.0041a370
mov dword [ebp - 0x20], 1
test eax, eax
je 0x4b43f5
mov dword [ebp - 0x20], 0
cmp word [edi], 0
je 0x4b444c
push 0x2c
push esi
call dword [ebp - 0x30]
add esp, 8
test eax, eax
je 0x4b4433
mov edi, dword [ebp - 0x30]
nop dword [eax + eax]
push 0x2c
push esi
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x4b4421
add esi, 2
inc dword [ebp - 0x20]
push 0x2c
push esi
call edi
add esp, 8
test eax, eax
jne 0x4b4410
mov edi, dword [ebp - 0x14]
cmp word [edi], 0
je 0x4b444c
cmp dword [ebp - 0x20], 1
jge 0x4b444c
push dword [ebp - 0x34]
push str.Parameter_3_required
jmp 0x4b4928
cmp dword [0x4fd2d4], 0
jne 0x4b4463
call fcn.004ae170
mov dword [0x4fd2d4], eax
test eax, eax
je 0x4b449b
mov ecx, dword [0x4fd2d0]
cmp dword [ecx + 8], 0x10
jae 0x4b4481
call fcn.004ae170
mov ecx, dword [0x4fd2d0]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x4b449b
mov edx, dword [ecx + 4]
add dword [ecx + 8], 0xfffffff0
mov dword [ebp - 0x34], edx
mov dword [0x4fd2cc], edx
lea eax, [edx + 0x10]
mov dword [ecx + 4], eax
test edx, edx
jne 0x4b44aa
push 0x4cfc40
push 0x4e3bcc
jmp 0x4b4928
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0x20
movups xmmword [edx], xmm0
test al, 1
jne 0x4b44d0
mov dword [edx + 8], 2
jmp 0x4b4589
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x20
je 0x4b44df
cmp ecx, 9
jne 0x4b44e4
add esi, 2
jmp 0x4b44d0
push 5
push str.CDecl
push esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], 0
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x4b453d
mov edx, 0x10
add esi, 0xa
mov dword [ebp - 0x40], edx
nop
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x20
je 0x4b451f
cmp ecx, 9
jne 0x4b4524
add esi, 2
jmp 0x4b4510
mov dword [ebp - 0x54], esi
test cx, cx
jne 0x4b453d
mov esi, dword [ebp - 0x34]
mov eax, 2
mov dword [esi + 8], 2
jmp 0x4b455c
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x54]
mov edx, esi
call fcn.004684f0
mov eax, dword [esi + 8]
test eax, eax
je case.0x4b476d.0
mov edx, dword [ebp - 0x40]
mov byte [ebp - 0x21], 1
dec dword [ebp - 0x20]
cmp byte [esi + 0xc], 0
jne 0x4b4580
cmp eax, 7
jne 0x4b4572
or edx, 0x200
jmp 0x4b457d
cmp eax, 6
jne 0x4b4580
or edx, 0x100
mov dword [ebp - 0x40], edx
mov ecx, dword [0x4fd2d0]
mov eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x2c], eax
je 0x4b46dc
mov esi, eax
shl esi, 4
lea eax, [esi - 1]
cmp eax, 0xffff
ja 0x4b45f1
cmp dword [0x4fd2d4], 0
jne 0x4b45c3
call fcn.004ae170
mov ecx, dword [0x4fd2d0]
mov dword [0x4fd2d4], eax
test eax, eax
je 0x4b45f1
cmp esi, dword [ecx + 8]
jbe 0x4b45da
call fcn.004ae170
mov ecx, dword [0x4fd2d0]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x4b45f1
mov edx, dword [ecx + 4]
sub dword [ecx + 8], esi
mov dword [ebp - 0x1c], edx
mov dword [0x4fd2cc], edx
lea eax, [esi + edx]
mov dword [ecx + 4], eax
jmp 0x4b45f8
mov dword [ebp - 0x1c], 0
lea eax, [esi - 1]
cmp eax, 0xffff
ja 0x4b4659
cmp dword [0x4fd2d4], 0
jne 0x4b461f
call fcn.004ae170
mov ecx, dword [0x4fd2d0]
mov dword [0x4fd2d4], eax
test eax, eax
je 0x4b4659
cmp esi, dword [ecx + 8]
jbe 0x4b4636
call fcn.004ae170
mov ecx, dword [0x4fd2d0]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x4b4659
mov edx, dword [ecx + 4]
mov eax, esi
mov dword [ebp - 0x28], edx
mov dword [0x4fd2cc], edx
and eax, 3
je 0x4b464e
sub esi, eax
add esi, 4
sub dword [ecx + 8], esi
lea eax, [edx + esi]
mov dword [ecx + 4], eax
jmp 0x4b465e
xor edx, edx
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x1c], 0
je 0x4b449b
test edx, edx
je 0x4b449b
mov edx, dword [ebp - 0x2c]
shl edx, 2
mov esi, edx
mov dword [ebp - 0x14], edx
lea eax, [esi - 1]
cmp eax, 0xffff
ja 0x4b46fd
cmp dword [0x4fd2d4], 0
jne 0x4b46a2
call fcn.004ae170
mov dword [0x4fd2d4], eax
test eax, eax
je 0x4b46f1
mov ecx, dword [0x4fd2d0]
cmp esi, dword [ecx + 8]
jbe 0x4b46b9
call fcn.004ae170
mov ecx, dword [0x4fd2d0]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x4b46f1
mov edx, dword [ecx + 4]
sub dword [ecx + 8], esi
mov dword [0x4fd2cc], edx
lea eax, [esi + edx]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
jmp 0x4b4702
shl eax, 2
mov dword [ebp - 0x1c], 0
mov esi, eax
mov dword [ebp - 0x28], 0
jmp 0x4b4700
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x3c], edx
test esi, esi
je 0x4b471d
test edx, edx
je 0x4b449b
push eax
push 0
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x2c], 1
cmp ecx, 1
jle 0x4b48b4
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x44], esi
nop
push 0x2c
push edi
call dword [ebp - 0x30]
xor ecx, ecx
mov dword [ebp - 0x64], edi
add esp, 8
mov edx, esi
mov word [eax], cx
add eax, 2
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x14], eax
call fcn.004684f0
mov eax, dword [esi + 8]
cmp eax, 8
ja case.0x4b476d.2
jmp dword [eax*4 + 0x4b4948]
mov edi, dword [ebp - 0x14]
mov ecx, edi
call fcn.00405520
or eax, edx
jne case.0x4b476d.0
mov dword [esi], edi
jmp 0x4b4877
mov edi, dword [ebp - 0x14]
mov ecx, edi
call fcn.00405520
or eax, edx
jne case.0x4b476d.0
push 0x2c
push edi
call dword [ebp - 0x30]
add esp, 8
mov dword [ebp - 0x50], eax
test eax, eax
je 0x4b47b4
xor ecx, ecx
mov word [eax], cx
push 0xc
call fcn.004ccb15
mov esi, eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
push ecx
mov byte [ebp - 4], 1
mov edx, esi
push 0xffffffffffffffff
mov ecx, edi
mov dword [esi], vtable.CStringCharFromWChar.0
call fcn.004ae410
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
mov dword [edx + ecx*4], esi
test eax, eax
je 0x4b480a
mov esi, 0x2c
mov word [eax], si
mov esi, dword [edx + ecx*4]
push ecx
mov ecx, esi
call fcn.0040d9e0
mov eax, dword [esi + 4]
mov byte [esi + 8], 1
mov esi, dword [ebp - 0x44]
mov eax, dword [eax]
jmp 0x4b4875
mov edi, dword [ebp - 0x14]
mov ecx, edi
call fcn.0042ad80
cmp dword [esi + 8], 6
movsd qword [esi], xmm0
jne 0x4b4877
cvtsd2ss xmm0, xmm0
movss dword [esi], xmm0
jmp 0x4b4877
cmp byte [esi + 0xd], 0
mov edi, dword [ebp - 0x14]
je 0x4b4863
cmp eax, 5
jne 0x4b4863
mov ecx, edi
call fcn.00405520
or eax, edx
jne 0x4b4863
mov ecx, edi
call fcn.004505c0
jmp 0x4b486a
mov ecx, edi
call fcn.00405520
mov dword [esi], eax
mov dword [esi + 4], edx
cmp dword [esi + 8], 5
je 0x4b4877
mov dword [esi], eax
push 0x2c
push edi
call dword [ebp - 0x30]
mov edi, eax
add esp, 8
test edi, edi
je 0x4b488e
xor eax, eax
mov word [edi], ax
add edi, 2
mov eax, dword [ebp - 0x2c]
add esi, 0x10
mov edx, dword [ebp - 0x18]
add eax, 2
mov ecx, dword [ebp - 0x20]
inc edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x2c], eax
cmp eax, ecx
jl 0x4b4740
mov eax, dword [ebp - 0x14]
jmp 0x4b48b7
mov eax, dword [ebp - 0x48]
cmp byte [ebp - 0x21], 0
je 0x4b48c6
test ecx, ecx
je 0x4b48c6
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x34]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x28]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x40]
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 - 0x34]
push str.Parameter_2_required
mov ecx, 0x4fdb78
call fcn.0044ec90
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