Function at 0x4b20f0
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 0x4cc5fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x460
push esi
push edi
mov dword [ebp - 0x30], edx
mov esi, ecx
nop dword [eax]
movzx eax, word [esi]
cmp eax, 0x20
je 0x4b213d
cmp eax, 9
jne 0x4b2142
add esi, 2
jmp 0x4b2130
mov eax, dword [sym.imp.VCRUNTIME140.dll_wcschr]
push 0x2c
push ecx
mov dword [ebp - 0x28], eax
call eax
mov edi, eax
add esp, 8
test edi, edi
je 0x4b2ca2
cmp word [edi], 0
je 0x4b2ca2
push 0x2c
add edi, 2
push esi
mov dword [ebp - 0x48], edi
call dword [ebp - 0x28]
add esp, 8
test eax, eax
je 0x4b2187
push 0x2c
push esi
call dword [ebp - 0x28]
add esp, 8
xor ecx, ecx
mov word [eax], cx
movzx eax, word [edi]
mov ecx, eax
test ax, ax
je 0x4b21e2
mov edx, edi
movzx eax, ax
cmp eax, 0x20
je 0x4b21a0
cmp eax, 9
jne 0x4b21a9
movzx eax, word [edx + 2]
add edx, 2
jmp 0x4b2193
mov eax, edx
sub eax, edi
cmp eax, 2
jb 0x4b21e2
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x38], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b21c0
sub ecx, dword [ebp - 0x38]
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 0x4b21e7
sub ecx, edx
lea eax, [ebp - 0x4c]
sar ecx, 1
push eax
push ecx
push esi
mov ecx, 0x4fbb78
call fcn.0043d120
test eax, eax
je 0x4b2215
push esi
push str.Duplicate_function_definition.
jmp 0x4b2caa
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b2220
push 0
push dword [ebp - 0x4c]
sub ecx, edx
sar ecx, 1
push 0
push ecx
push esi
mov ecx, 0x4fbb78
call fcn.0043e6d0
mov dword [ebp - 0x50], eax
test eax, eax
jne 0x4b225c
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], 0x469a70
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 - 0x30]
sar eax, 1
sub esi, eax
mov dword [ebp - 0x14], esi
call fcn.004afc80
test eax, eax
je 0x4b22cf
mov ecx, dword [0x4fc65c]
lea edx, [ebp - 0x268]
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4b22a0
push 0
push 0
push esi
push 1
lea eax, [ebp - 0x268]
mov edx, str._A_ScriptDir_
push 0
push eax
mov ecx, edi
call fcn.004b0090
add esp, 0x18
mov edx, str._A_AppData_
mov ecx, edi
call fcn.004afc80
test eax, eax
je 0x4b230f
lea eax, [ebp - 0x268]
push str.A_AppData
push eax
call fcn.004658b0
push 0
push 0
push esi
push 1
lea eax, [ebp - 0x268]
mov edx, str._A_AppData_
push 0
push eax
mov ecx, edi
call fcn.004b0090
add esp, 0x20
mov edx, str._A_AppDataCommon_
mov ecx, edi
call fcn.004afc80
test eax, eax
je 0x4b234f
lea eax, [ebp - 0x268]
push str.A_AppDataCommon
push eax
call fcn.004658b0
push 0
push 0
push esi
push 1
lea eax, [ebp - 0x268]
mov edx, str._A_AppDataCommon_
push 0
push eax
mov ecx, edi
call fcn.004b0090
add esp, 0x20
mov edx, str._A_AhkPath_
mov ecx, edi
call fcn.004afc80
test eax, eax
je 0x4b23ac
push 0x104
lea eax, [ebp - 0x470]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x470]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x26a], ax
test ax, ax
jne 0x4b2375
push 0
push 0
push esi
push 1
lea eax, [ebp - 0x268]
mov edx, str._A_AhkPath_
push 0
push eax
mov ecx, edi
call fcn.004b0090
add esp, 0x18
mov edx, str._A_AhkDir_
mov ecx, edi
call fcn.004afc80
test eax, eax
je 0x4b2426
push 0x104
lea eax, [ebp - 0x470]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x470]
push 0x5c
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov esi, eax
lea eax, [ebp - 0x470]
sub esi, eax
sar esi, 1
push esi
push eax
lea eax, [ebp - 0x268]
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 - 0x268], ax
mov edx, str._A_AhkDir_
mov esi, dword [ebp - 0x14]
mov ecx, edi
push eax
push eax
push esi
push 1
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.004b0090
add esp, 0x18
mov edx, str._A_DllDir_
mov ecx, edi
call fcn.004afc80
test eax, eax
je 0x4b24be
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x470]
push 0x104
push eax
push dword [0x4f9a50]
call esi
test eax, eax
jne 0x4b2468
push 0x104
lea eax, [ebp - 0x470]
push eax
push 0
call esi
lea eax, [ebp - 0x470]
push 0x5c
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov esi, eax
lea eax, [ebp - 0x470]
sub esi, eax
sar esi, 1
push esi
push eax
lea eax, [ebp - 0x268]
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 - 0x268], ax
mov edx, str._A_DllDir_
mov esi, dword [ebp - 0x14]
mov ecx, edi
push eax
push eax
push esi
push 1
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.004b0090
add esp, 0x18
mov edx, str._A_DllPath_
mov ecx, edi
call fcn.004afc80
test eax, eax
je 0x4b2537
push 0x104
lea eax, [ebp - 0x470]
push eax
push dword [0x4f9a50]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4b24fe
push 0x104
lea eax, [ebp - 0x470]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x470]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x26a], ax
test ax, ax
jne 0x4b2500
push 0
push 0
push esi
push 1
lea eax, [ebp - 0x268]
mov edx, str._A_DllPath_
push 0
push eax
mov ecx, edi
call fcn.004b0090
add esp, 0x18
mov esi, dword [ebp - 0x28]
push 0x25
push edi
call esi
add esp, 8
test eax, eax
je 0x4b2551
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 0x4b2caa
push 0x2c
push edi
call esi
add esp, 8
test eax, eax
je 0x4b256a
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.0046d390
test eax, eax
je 0x4b277b
push 0x3a
push edi
mov dword [ebp - 0x44], 0x780030
mov dword [ebp - 0x40], 0
call esi
add esp, 8
test eax, eax
je 0x4b25a6
push 0x3a
push edi
call esi
mov esi, eax
add esp, 8
sub esi, edi
jmp 0x4b25bd
mov esi, edi
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4b25b0
sub esi, ecx
sar esi, 1
mov eax, esi
cdq
sub eax, edx
mov edx, eax
sar edx, 1
mov dword [ebp - 0x14], edx
lea ecx, [edx - 1]
cmp ecx, 0xffff
ja 0x4b2770
cmp dword [0x4fb2d4], 0
jne 0x4b25f8
call fcn.004ac560
mov dword [0x4fb2d4], eax
test eax, eax
je 0x4b2770
mov edx, dword [ebp - 0x14]
mov ecx, dword [0x4fb2d0]
cmp edx, dword [ecx + 8]
jbe 0x4b261c
call fcn.004ac560
mov ecx, dword [0x4fb2d0]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x4b2770
mov edx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x34], eax
mov dword [0x4fb2cc], eax
mov eax, edx
and eax, 3
mov dword [ebp - 0x38], eax
mov eax, edx
je 0x4b263e
sub eax, dword [ebp - 0x38]
add eax, 4
mov dword [ebp - 0x14], eax
jmp 0x4b2641
mov dword [ebp - 0x14], edx
mov ecx, dword [0x4fb2d0]
add eax, dword [ebp - 0x34]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x14]
sub dword [ecx + 8], eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4b2770
push 0x40
push 0x1000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x4b267c
push edi
push str.Could_not_commit_memory_for_DllImport.
jmp 0x4b2caa
test esi, esi
jle 0x4b26c5
mov eax, edi
xor edi, edi
mov dword [ebp - 0x14], eax
push 2
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
add esp, 0xc
lea eax, [ebp - 0x44]
push 0x10
push 0
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
mov edx, dword [ebp - 0x34]
mov ecx, edi
shr ecx, 1
add edi, 2
add esp, 0xc
mov byte [ecx + edx], al
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
cmp edi, esi
jl 0x4b2687
mov edi, dword [ebp - 0x48]
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b26d0
sub ecx, edx
or edx, 0xffffffff
sar ecx, 1
inc ecx
lea esi, [edi + ecx*2]
mov ecx, esi
call fcn.004ac480
mov edi, eax
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x2c], edi
cmp word [edi], 0
je 0x4b270e
mov ecx, edi
call fcn.00419330
mov dword [ebp - 0x18], 1
test eax, eax
je 0x4b2715
mov dword [ebp - 0x18], 0
cmp word [edi], 0
je 0x4b27dd
push 0x2c
push esi
call dword [ebp - 0x28]
add esp, 8
test eax, eax
je 0x4b2753
mov edi, dword [ebp - 0x28]
nop
push 0x2c
push esi
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x4b2741
add esi, 2
inc dword [ebp - 0x18]
push 0x2c
push esi
call edi
add esp, 8
test eax, eax
jne 0x4b2730
mov edi, dword [ebp - 0x2c]
cmp word [edi], 0
je 0x4b27dd
cmp dword [ebp - 0x18], 1
jge 0x4b27dd
push dword [ebp - 0x30]
push str.Parameter_3_required
jmp 0x4b2caa
push edi
push 0x4e1bcc
jmp 0x4b2caa
mov ecx, edi
call fcn.00405220
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x4b26c5
push 0x5c
push edi
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x4b27be
xor eax, eax
push edi
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x4b27b6
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, 0x5c
mov word [esi], ax
xor edx, edx
mov ecx, edi
call fcn.00468200
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x4b26c5
push edi
push str.Call_to_nonexistent_function.
jmp 0x4b2caa
cmp dword [0x4fb2d4], 0
jne 0x4b27f4
call fcn.004ac560
mov dword [0x4fb2d4], eax
test eax, eax
je 0x4b282c
mov ecx, dword [0x4fb2d0]
cmp dword [ecx + 8], 0x10
jae 0x4b2812
call fcn.004ac560
mov ecx, dword [0x4fb2d0]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x4b282c
mov edi, dword [ecx + 4]
add dword [ecx + 8], 0xfffffff0
mov dword [ebp - 0x54], edi
mov dword [0x4fb2cc], edi
lea eax, [edi + 0x10]
mov dword [ecx + 4], eax
test edi, edi
jne 0x4b283b
push 0x4cdc40
push 0x4e1bcc
jmp 0x4b2caa
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0x20
movups xmmword [edi], xmm0
test al, 1
jne 0x4b2860
mov dword [edi + 8], 2
jmp 0x4b2911
movzx eax, word [esi]
cmp eax, 0x20
je 0x4b286d
cmp eax, 9
jne 0x4b2872
add esi, 2
jmp 0x4b2860
push 5
push str.CDecl
push esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], 0
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x4b28c8
mov edx, 0x10
add esi, 0xa
mov dword [ebp - 0x14], edx
nop dword [eax]
movzx eax, word [esi]
cmp eax, 0x20
je 0x4b28ad
cmp eax, 9
jne 0x4b28b2
add esi, 2
jmp 0x4b28a0
mov dword [ebp - 0x44], esi
test ax, ax
jne 0x4b28c8
mov dword [edi + 8], 2
mov eax, 2
jmp 0x4b28e4
mov edx, edi
lea ecx, [ebp - 0x44]
call fcn.00467a80
mov eax, dword [edi + 8]
test eax, eax
je case.0x4b2aff.0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 0x1d], 1
dec dword [ebp - 0x18]
cmp byte [edi + 0xc], 0
jne 0x4b2908
cmp eax, 7
jne 0x4b28fa
or edx, 0x200
jmp 0x4b2905
cmp eax, 6
jne 0x4b2908
or edx, 0x100
mov dword [ebp - 0x14], edx
mov ecx, dword [0x4fb2d0]
mov eax, dword [ebp - 0x18]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
je 0x4b2a7a
mov esi, edi
shl esi, 4
lea eax, [esi - 1]
cmp eax, 0xffff
ja 0x4b2978
cmp dword [0x4fb2d4], 0
jne 0x4b294a
call fcn.004ac560
mov ecx, dword [0x4fb2d0]
mov dword [0x4fb2d4], eax
test eax, eax
je 0x4b2978
cmp esi, dword [ecx + 8]
jbe 0x4b2961
call fcn.004ac560
mov ecx, dword [0x4fb2d0]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x4b2978
mov edx, dword [ecx + 4]
sub dword [ecx + 8], esi
mov dword [ebp - 0x1c], edx
mov dword [0x4fb2cc], edx
lea eax, [esi + edx]
mov dword [ecx + 4], eax
jmp 0x4b297f
mov dword [ebp - 0x1c], 0
lea eax, [esi - 1]
cmp eax, 0xffff
ja 0x4b29e0
cmp dword [0x4fb2d4], 0
jne 0x4b29a6
call fcn.004ac560
mov ecx, dword [0x4fb2d0]
mov dword [0x4fb2d4], eax
test eax, eax
je 0x4b29e0
cmp esi, dword [ecx + 8]
jbe 0x4b29bd
call fcn.004ac560
mov ecx, dword [0x4fb2d0]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x4b29e0
mov edx, dword [ecx + 4]
mov eax, esi
mov dword [ebp - 0x24], edx
mov dword [0x4fb2cc], edx
and eax, 3
je 0x4b29d5
sub esi, eax
add esi, 4
sub dword [ecx + 8], esi
lea eax, [esi + edx]
mov dword [ecx + 4], eax
jmp 0x4b29e5
xor edx, edx
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x1c], 0
je 0x4b282c
test edx, edx
je 0x4b282c
shl edi, 2
mov esi, edi
lea eax, [esi - 1]
cmp eax, 0xffff
ja 0x4b2a8d
cmp dword [0x4fb2d4], 0
jne 0x4b2a35
call fcn.004ac560
mov dword [0x4fb2d4], eax
test eax, eax
jne 0x4b2a2f
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
jmp 0x4b2a8d
mov ecx, dword [0x4fb2d0]
cmp esi, dword [ecx + 8]
jbe 0x4b2a5a
call fcn.004ac560
mov ecx, dword [0x4fb2d0]
mov dword [ecx + 0xc], eax
test eax, eax
jne 0x4b2a5a
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
jmp 0x4b2a8d
mov edx, dword [ecx + 4]
sub dword [ecx + 8], esi
mov dword [0x4fb2cc], edx
lea eax, [esi + edx]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
jmp 0x4b2a8f
shl edi, 2
mov dword [ebp - 0x24], 0
mov esi, edi
mov dword [ebp - 0x1c], 0
xor edx, edx
mov dword [ebp - 0x3c], edx
test esi, esi
je 0x4b2aaa
test edx, edx
je 0x4b282c
push edi
push 0
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x38], 1
cmp eax, 1
jle 0x4b2c36
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x48], esi
nop
push 0x2c
push eax
call dword [ebp - 0x28]
mov edi, eax
lea ecx, [ebp - 0x5c]
xor eax, eax
add esp, 8
mov edx, esi
mov word [edi], ax
add edi, 2
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], eax
call fcn.00467a80
mov eax, dword [esi + 8]
cmp eax, 8
ja case.0x4b2aff.2
jmp dword [eax*4 + 0x4b2cc8]
mov ecx, edi
call fcn.00405220
or eax, edx
jne case.0x4b2aff.0
mov dword [esi], edi
jmp 0x4b2bf7
mov ecx, edi
call fcn.00405220
or eax, edx
jne case.0x4b2aff.0
push 0x2c
push edi
call dword [ebp - 0x28]
add esp, 8
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4b2b40
xor ecx, ecx
mov word [eax], cx
push 0xc
call fcn.004caa05
mov esi, eax
mov dword [ebp - 0x40], 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.004ac800
mov ecx, dword [ebp - 0x30]
add esp, 0xc
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
mov dword [edx + ecx*4], esi
test eax, eax
je 0x4b2b96
mov esi, 0x2c
mov word [eax], si
mov esi, dword [edx + ecx*4]
push ecx
mov ecx, esi
call fcn.0040d0f0
mov eax, dword [esi + 4]
mov byte [esi + 8], 1
mov esi, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [esi], eax
jmp 0x4b2bf7
mov ecx, edi
call fcn.00429a50
cmp dword [esi + 8], 6
movsd qword [esi], xmm0
jne 0x4b2bf7
cvtsd2ss xmm0, xmm0
movss dword [esi], xmm0
jmp 0x4b2bf7
cmp byte [esi + 0xd], 0
je 0x4b2beb
cmp eax, 5
jne 0x4b2beb
mov ecx, edi
call fcn.00405220
or eax, edx
jne 0x4b2beb
mov ecx, edi
call fcn.0044f530
jmp 0x4b2bf2
mov ecx, edi
call fcn.00405220
mov dword [esi], eax
mov dword [esi + 4], edx
push 0x2c
push edi
call dword [ebp - 0x28]
add esp, 8
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4b2c12
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x38]
add esi, 0x10
mov edx, dword [ebp - 0x30]
add ecx, 2
inc edx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x38], ecx
cmp ecx, dword [ebp - 0x18]
jl 0x4b2ad0
mov eax, dword [ebp - 0x18]
jmp 0x4b2c39
mov edi, dword [ebp - 0x40]
cmp byte [ebp - 0x1d], 0
je 0x4b2c48
test eax, eax
je 0x4b2c48
xor eax, eax
mov word [edi], ax
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x34]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x54]
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 - 0x24]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x14]
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 - 0x30]
push str.Parameter_2_required
mov ecx, 0x4fbb78
call fcn.0044dc10
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