Function at 0x4b3830
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 0x4ce03c
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 0x4b387f
cmp edi, 9
jne 0x4b3884
add esi, 2
jmp 0x4b3870
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 0x4b4462
cmp word [edi], 0
je 0x4b4462
push 0x2c
add edi, 2
push esi
mov dword [ebp - 0x44], edi
call dword [ebp - 0x30]
add esp, 8
test eax, eax
je 0x4b38c9
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 0x4b3922
mov edx, edi
movzx eax, ax
cmp eax, 0x20
je 0x4b38e2
cmp eax, 9
jne 0x4b38eb
movzx eax, word [edx + 2]
add edx, 2
jmp 0x4b38d5
mov eax, edx
sub eax, edi
cmp eax, 2
jb 0x4b3922
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 0x4b3900
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 0x4b3927
sub ecx, edx
lea eax, [ebp - 0x58]
sar ecx, 1
push eax
push ecx
push esi
mov ecx, 0x4fdb90
call fcn.0043e520
test eax, eax
je 0x4b3955
push esi
push str.Duplicate_function_definition.
jmp 0x4b446a
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b3960
push 0
push dword [ebp - 0x58]
sub ecx, edx
sar ecx, 1
push 0
push ecx
push esi
mov ecx, 0x4fdb90
call fcn.0043fae0
mov dword [ebp - 0x5c], eax
test eax, eax
jne 0x4b399c
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], 0x46a1f0
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.004b13c0
test eax, eax
je 0x4b3a0f
mov edx, dword [0x4fe674]
lea ecx, [ebp - 0x270]
mov eax, ecx
sub edx, eax
nop
movzx eax, word [ecx + edx]
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
test ax, ax
jne 0x4b39e0
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.004b17d0
add esp, 0x18
mov edx, str._A_AppData_
mov ecx, edi
call fcn.004b13c0
test eax, eax
je 0x4b3a4f
lea eax, [ebp - 0x270]
push str.A_AppData
push eax
call fcn.00465ee0
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.004b17d0
add esp, 0x20
mov edx, str._A_AppDataCommon_
mov ecx, edi
call fcn.004b13c0
test eax, eax
je 0x4b3a8f
lea eax, [ebp - 0x270]
push str.A_AppDataCommon
push eax
call fcn.00465ee0
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.004b17d0
add esp, 0x20
mov edx, str._A_AhkPath_
mov ecx, edi
call fcn.004b13c0
test eax, eax
je 0x4b3aec
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 0x4b3ab5
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.004b17d0
add esp, 0x18
mov edx, str._A_AhkDir_
mov ecx, edi
call fcn.004b13c0
test eax, eax
je 0x4b3b66
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.004b17d0
add esp, 0x18
mov edx, str._A_DllDir_
mov ecx, edi
call fcn.004b13c0
test eax, eax
je 0x4b3bfe
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x478]
push 0x104
push eax
push dword [0x4fba60]
call esi
test eax, eax
jne 0x4b3ba8
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.004b17d0
add esp, 0x18
mov edx, str._A_DllPath_
mov ecx, edi
call fcn.004b13c0
test eax, eax
je 0x4b3c77
push 0x104
lea eax, [ebp - 0x478]
push eax
push dword [0x4fba60]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4b3c3e
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 0x4b3c40
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.004b17d0
add esp, 0x18
mov esi, dword [ebp - 0x30]
push 0x25
push edi
call esi
add esp, 8
test eax, eax
je 0x4b3c91
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 0x4b446a
push 0x2c
push edi
call esi
add esp, 8
test eax, eax
je 0x4b3caa
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.0046dab0
test eax, eax
je 0x4b3e8a
push 0x3a
push edi
mov dword [ebp - 0x4c], 0x780030
mov dword [ebp - 0x48], 0
call esi
add esp, 8
test eax, eax
je 0x4b3ce6
push 0x3a
push edi
call esi
mov esi, eax
add esp, 8
sub esi, edi
jmp 0x4b3cfd
mov esi, edi
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4b3cf0
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 0x4b3e7f
cmp dword [0x4fd2e8], 0
jne 0x4b3d38
call fcn.004adcc0
mov dword [0x4fd2e8], eax
test eax, eax
je 0x4b3e7f
mov edx, dword [ebp - 0x18]
mov ecx, dword [0x4fd2e4]
cmp edx, dword [ecx + 8]
jbe 0x4b3d5c
call fcn.004adcc0
mov ecx, dword [0x4fd2e4]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x4b3e7f
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x38], eax
mov dword [0x4fd2e0], eax
mov eax, edx
and eax, 3
mov dword [ebp - 0x2c], eax
mov eax, edx
je 0x4b3d7e
sub eax, dword [ebp - 0x2c]
add eax, 4
mov dword [ebp - 0x18], eax
jmp 0x4b3d81
mov dword [ebp - 0x18], edx
mov ecx, dword [0x4fd2e4]
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 0x4b3e7f
push 0x40
push 0x1000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x4b3dbc
push edi
push str.Could_not_commit_memory_for_DllImport.
jmp 0x4b446a
test esi, esi
jle 0x4b3e05
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 0x4b3dc7
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 0x4b3e10
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
lea esi, [edi + esi*2]
test esi, esi
je 0x4b3f1a
cmp word [esi], ax
je 0x4b3f1a
mov edi, esi
lea ecx, [edi + 2]
nop dword [eax + eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4b3e40
sub edi, ecx
sar edi, 1
lea eax, [edi + edi]
lea ecx, [eax + 2]
mov dword [ebp - 0x2c], eax
call fcn.004adc50
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x4b3eec
push esi
push 0x4e3be8
mov ecx, 0x4fdb90
call fcn.0044e970
xor edi, edi
jmp 0x4b3f1f
push edi
push 0x4e3be8
jmp 0x4b446a
mov ecx, edi
call fcn.004054a0
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x4b3e05
push 0x5c
push edi
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x4b3ecd
xor eax, eax
push edi
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x4b3ec5
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, 0x5c
mov word [esi], ax
xor edx, edx
mov ecx, edi
call fcn.004688e0
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x4b3e05
push edi
push str.Call_to_nonexistent_function.
jmp 0x4b446a
test edi, edi
je 0x4b3f0c
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 0x4b3f22
mov edi, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
mov word [eax + edi], cx
jmp 0x4b3f22
mov edi, 0x4cfc30
mov dword [ebp - 0x14], edi
cmp word [edi], 0
mov byte [ebp - 0x21], 0
je 0x4b3f3e
mov ecx, edi
call fcn.0041a370
mov dword [ebp - 0x20], 1
test eax, eax
je 0x4b3f45
mov dword [ebp - 0x20], 0
cmp word [edi], 0
je 0x4b3f98
push 0x2c
push esi
call dword [ebp - 0x30]
add esp, 8
test eax, eax
je 0x4b3f7f
mov edi, dword [ebp - 0x30]
nop dword [eax + eax]
push 0x2c
push esi
call edi
test eax, eax
push 0x2c
lea esi, [eax + 2]
cmove esi, eax
inc dword [ebp - 0x20]
push esi
call edi
add esp, 0x10
test eax, eax
jne 0x4b3f60
mov edi, dword [ebp - 0x14]
cmp word [edi], 0
je 0x4b3f98
cmp dword [ebp - 0x20], 1
jge 0x4b3f98
push dword [ebp - 0x34]
push str.Parameter_3_required
jmp 0x4b446a
cmp dword [0x4fd2e8], 0
jne 0x4b3faf
call fcn.004adcc0
mov dword [0x4fd2e8], eax
test eax, eax
je 0x4b3fe7
mov ecx, dword [0x4fd2e4]
cmp dword [ecx + 8], 0x10
jae 0x4b3fcd
call fcn.004adcc0
mov ecx, dword [0x4fd2e4]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x4b3fe7
mov edx, dword [ecx + 4]
add dword [ecx + 8], 0xfffffff0
mov dword [ebp - 0x34], edx
mov dword [0x4fd2e0], edx
lea eax, [edx + 0x10]
mov dword [ecx + 4], eax
test edx, edx
jne 0x4b3ff6
push 0x4cfc30
push 0x4e3be8
jmp 0x4b446a
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0x20
movups xmmword [edx], xmm0
test al, 1
jne 0x4b4016
mov dword [edx + 8], 2
jmp 0x4b40cd
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x20
je 0x4b4025
cmp ecx, 9
jne 0x4b402a
add esi, 2
jmp 0x4b4016
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 0x4b4081
mov edx, 0x10
add esi, 0xa
mov dword [ebp - 0x40], edx
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x20
je 0x4b4063
cmp ecx, 9
jne 0x4b4068
add esi, 2
jmp 0x4b4054
mov dword [ebp - 0x54], esi
test cx, cx
jne 0x4b4081
mov esi, dword [ebp - 0x34]
mov eax, 2
mov dword [esi + 8], 2
jmp 0x4b40a0
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x54]
mov edx, esi
call fcn.00468160
mov eax, dword [esi + 8]
test eax, eax
je case.0x4b42af.0
mov edx, dword [ebp - 0x40]
mov byte [ebp - 0x21], 1
dec dword [ebp - 0x20]
cmp byte [esi + 0xc], 0
jne 0x4b40c4
cmp eax, 7
jne 0x4b40b6
or edx, 0x200
jmp 0x4b40c1
cmp eax, 6
jne 0x4b40c4
or edx, 0x100
mov dword [ebp - 0x40], edx
mov ecx, dword [0x4fd2e4]
mov eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x2c], eax
je 0x4b4220
mov esi, eax
shl esi, 4
lea eax, [esi - 1]
cmp eax, 0xffff
ja 0x4b4135
cmp dword [0x4fd2e8], 0
jne 0x4b4107
call fcn.004adcc0
mov ecx, dword [0x4fd2e4]
mov dword [0x4fd2e8], eax
test eax, eax
je 0x4b4135
cmp esi, dword [ecx + 8]
jbe 0x4b411e
call fcn.004adcc0
mov ecx, dword [0x4fd2e4]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x4b4135
mov edx, dword [ecx + 4]
sub dword [ecx + 8], esi
mov dword [ebp - 0x1c], edx
mov dword [0x4fd2e0], edx
lea eax, [esi + edx]
mov dword [ecx + 4], eax
jmp 0x4b413c
mov dword [ebp - 0x1c], 0
lea eax, [esi - 1]
cmp eax, 0xffff
ja 0x4b419d
cmp dword [0x4fd2e8], 0
jne 0x4b4163
call fcn.004adcc0
mov ecx, dword [0x4fd2e4]
mov dword [0x4fd2e8], eax
test eax, eax
je 0x4b419d
cmp esi, dword [ecx + 8]
jbe 0x4b417a
call fcn.004adcc0
mov ecx, dword [0x4fd2e4]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x4b419d
mov edx, dword [ecx + 4]
mov eax, esi
mov dword [ebp - 0x28], edx
mov dword [0x4fd2e0], edx
and eax, 3
je 0x4b4192
sub esi, eax
add esi, 4
sub dword [ecx + 8], esi
lea eax, [edx + esi]
mov dword [ecx + 4], eax
jmp 0x4b41a2
xor edx, edx
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x1c], 0
je 0x4b3fe7
test edx, edx
je 0x4b3fe7
mov edx, dword [ebp - 0x2c]
shl edx, 2
mov esi, edx
mov dword [ebp - 0x14], edx
lea eax, [esi - 1]
cmp eax, 0xffff
ja 0x4b4241
cmp dword [0x4fd2e8], 0
jne 0x4b41e6
call fcn.004adcc0
mov dword [0x4fd2e8], eax
test eax, eax
je 0x4b4235
mov ecx, dword [0x4fd2e4]
cmp esi, dword [ecx + 8]
jbe 0x4b41fd
call fcn.004adcc0
mov ecx, dword [0x4fd2e4]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x4b4235
mov edx, dword [ecx + 4]
sub dword [ecx + 8], esi
mov dword [0x4fd2e0], 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 0x4b4246
shl eax, 2
mov dword [ebp - 0x1c], 0
mov esi, eax
mov dword [ebp - 0x28], 0
jmp 0x4b4244
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 0x4b4261
test edx, edx
je 0x4b3fe7
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 0x4b43f6
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x44], esi
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.00468160
mov eax, dword [esi + 8]
cmp eax, 8
ja case.0x4b42af.2
jmp dword [eax*4 + 0x4b4488]
mov edi, dword [ebp - 0x14]
mov ecx, edi
call fcn.004054a0
or eax, edx
jne case.0x4b42af.0
mov dword [esi], edi
jmp 0x4b43b9
mov edi, dword [ebp - 0x14]
mov ecx, edi
call fcn.004054a0
or eax, edx
jne case.0x4b42af.0
push 0x2c
push edi
call dword [ebp - 0x30]
add esp, 8
mov dword [ebp - 0x50], eax
test eax, eax
je 0x4b42f6
xor ecx, ecx
mov word [eax], cx
push 0xc
call fcn.004cc495
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.004adf60
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 0x4b434c
mov esi, 0x2c
mov word [eax], si
mov esi, dword [edx + ecx*4]
push ecx
mov ecx, esi
call fcn.0040d970
mov eax, dword [esi + 4]
mov byte [esi + 8], 1
mov esi, dword [ebp - 0x44]
mov eax, dword [eax]
jmp 0x4b43b7
mov edi, dword [ebp - 0x14]
mov ecx, edi
call fcn.0042acb0
cmp dword [esi + 8], 6
movsd qword [esi], xmm0
jne 0x4b43b9
cvtsd2ss xmm0, xmm0
movss dword [esi], xmm0
jmp 0x4b43b9
cmp byte [esi + 0xd], 0
mov edi, dword [ebp - 0x14]
je 0x4b43a5
cmp eax, 5
jne 0x4b43a5
mov ecx, edi
call fcn.004054a0
or eax, edx
jne 0x4b43a5
mov ecx, edi
call fcn.00450280
jmp 0x4b43ac
mov ecx, edi
call fcn.004054a0
mov dword [esi], eax
mov dword [esi + 4], edx
cmp dword [esi + 8], 5
je 0x4b43b9
mov dword [esi], eax
push 0x2c
push edi
call dword [ebp - 0x30]
mov edi, eax
add esp, 8
test edi, edi
je 0x4b43d0
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 0x4b4282
mov eax, dword [ebp - 0x14]
jmp 0x4b43f9
mov eax, dword [ebp - 0x48]
cmp byte [ebp - 0x21], 0
je 0x4b4408
test ecx, ecx
je 0x4b4408
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, 0x4fdb90
call fcn.0044e970
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