Function at 0x6161c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
mov ebp, ecx
push esi
push ebx
mov esi, eax
mov edi, edx
sub esp, 0x1c
test edx, edx
mov dword [esp], 0x1f4
je 0x6163e0
call dword [edx]
test eax, eax
mov ebx, eax
je 0x6163d0
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], edx
mov dword [ebx + 8], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x17c], 0x10
mov dword [esp], 0x100
call eax
test eax, eax
mov dword [ebx + 0x188], eax
je 0x6163c4
mov dword [esp], 0x400
call dword [ebx + 0xc]
test eax, eax
mov dword [ebx + 0x2c], eax
je 0x6163b8
mov edx, dword [esp + 0x30]
add eax, 0x400
mov dword [ebx + 0x30], eax
test edx, edx
je 0x616390
mov eax, dword [esp + 0x30]
lea edi, [ebx + 0xc]
mov dword [ebx + 0x164], eax
mov dword [ebx + 0x178], 0
mov dword [ebx + 0x170], 0
mov edx, esi
mov dword [ebx + 0x130], 0
mov dword [ebx + 0x1d4], 0
mov eax, ebx
mov dword [ebx + 0x1d0], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0xf8], 0
mov byte [ebx + 0x1d8], 0x21
mov byte [ebx + 0xec], 0
mov byte [ebx + 0xed], 0
mov dword [ebx + 0x18c], 0
mov dword [ebx + 0x190], 0
mov byte [ebx + 0x194], 0
mov dword [ebx + 0x1a0], 0
mov dword [ebx + 0x1a4], 0
mov dword [ebx + 0x1b0], 0
mov dword [ebx + 0x1ac], 0
mov dword [ebx + 0x1a8], 0
mov dword [ebx + 0x1b4], edi
mov dword [ebx + 0x1b8], 0
mov dword [ebx + 0x1bc], 0
mov dword [ebx + 0x1c8], 0
mov dword [ebx + 0x1c4], 0
mov dword [ebx + 0x1c0], 0
mov dword [ebx + 0x1cc], edi
call fcn.006108c0
test esi, esi
je 0x61635c
mov eax, dword [ebx + 0xe8]
test eax, eax
je 0x616589
test ebp, ebp
je 0x616410
mov byte [ebx + 0xec], 1
call fcn.00622580
mov dword [ebx + 0xe4], eax
movzx eax, byte [ebp]
mov byte [ebx + 0x1d8], al
mov eax, ebx
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0xbc
lea edi, [ebx + 0xc]
call dword [ebx + 0xc]
test eax, eax
jne 0x616425
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 0x164], 0
mov dword [esp], eax
call dword [ebx + 0x14]
mov eax, dword [ebx + 0x188]
mov dword [esp], eax
call dword [ebx + 0x14]
mov dword [esp], ebx
call dword [ebx + 0x14]
lea esi, [esi]
add esp, 0x1c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
call sub.msvcrt.dll_malloc
test eax, eax
mov ebx, eax
je 0x6163d0
mov dword [eax + 0xc], sub.msvcrt.dll_malloc
mov dword [eax + 0x10], sub.msvcrt.dll_realloc
mov dword [eax + 0x14], fcn.006324d0
mov eax, sub.msvcrt.dll_malloc
jmp 0x6161f9
call fcn.006224b0
mov dword [ebx + 0xe4], eax
add esp, 0x1c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x64], edi
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 0x78], 0
mov dword [eax + 0x74], 0
mov dword [eax + 0x70], 0
mov dword [eax + 0x7c], edi
mov byte [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax], 0
mov dword [eax + 0x10], edi
mov byte [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x24], edi
mov byte [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x38], edi
mov byte [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x4c], edi
mov byte [eax + 0x83], 0
mov byte [eax + 0x88], 0
mov dword [eax + 0x8c], 0
mov dword [eax + 0x90], 0
mov dword [eax + 0x84], 0
mov dword [eax + 0x94], edi
mov dword [eax + 0x98], 0
mov dword [eax + 0x9c], 0
mov byte [eax + 0xa0], 0
mov dword [eax + 0xb8], 0
mov dword [eax + 0xa4], 0
mov dword [eax + 0xb4], 0
mov dword [eax + 0xac], 0
mov dword [eax + 0xb0], 0
mov dword [eax + 0xa8], 0
mov byte [eax + 0x80], 1
mov byte [eax + 0x81], 0
mov byte [eax + 0x82], 0
mov dword [ebx + 0x164], eax
jmp 0x61625e
mov dword [esp], ebx
call fcn.00615f70
xor eax, eax
jmp 0x616382