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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
sub esp, 0xc
test edx, edx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
je 0x70b6e7
mov dword [esp], 0x1f0
call dword [edx]
test eax, eax
mov ebx, eax
je 0x70b6dd
mov eax, dword [esi]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 4]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 8]
mov dword [ebx + 0x14], eax
test ebx, ebx
je 0x70b6dd
mov dword [ebx + 8], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x17c], 0x10
mov dword [esp], 0x100
call dword [ebx + 0xc]
test eax, eax
mov dword [ebx + 0x188], eax
je 0x70b8c0
mov dword [esp], 0x400
call dword [ebx + 0xc]
test eax, eax
mov dword [ebx + 0x2c], eax
je 0x70b8b4
add eax, 0x400
test edi, edi
mov dword [ebx + 0x30], eax
je 0x70b728
mov dword [ebx + 0x164], edi
lea edx, [ebx + 0xc]
mov byte [ebx + 0x1d8], 0x21
mov eax, ebx
mov byte [ebx + 0xec], 0
mov byte [ebx + 0xed], 0
mov byte [ebx + 0x194], 0
mov dword [ebx + 0x1b4], edx
mov dword [ebx + 0x1cc], edx
mov edx, dword [ebp - 0x10]
mov dword [ebx + 0x178], 0
mov dword [ebx + 0x170], 0
mov dword [ebx + 0x130], 0
mov dword [ebx + 0x1d4], 0
mov dword [ebx + 0x1d0], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0xf8], 0
mov dword [ebx + 0x18c], 0
mov dword [ebx + 0x190], 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 + 0x1b8], 0
mov dword [ebx + 0x1bc], 0
mov dword [ebx + 0x1c8], 0
mov dword [ebx + 0x1c4], 0
mov dword [ebx + 0x1c0], 0
call fcn.00709fb0
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x70b6b8
mov esi, dword [ebx + 0xe8]
test esi, esi
je 0x70b8cd
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x70b713
mov byte [ebx + 0xec], 1
call fcn.0071a8e0
mov edx, dword [ebp - 0x14]
mov dword [ebx + 0xe4], eax
movzx eax, byte [edx]
mov byte [ebx + 0x1d8], al
add esp, 0xc
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x1f0
call sub.msvcrt.dll_malloc
test eax, eax
mov ebx, eax
je 0x70b6dd
mov dword [eax + 0xc], sub.msvcrt.dll_malloc
mov dword [eax + 0x10], sub.msvcrt.dll_realloc
mov dword [eax + 0x14], fcn.008f2ba8
jmp 0x70b550
call fcn.0071a860
mov dword [ebx + 0xe4], eax
add esp, 0xc
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0xbc
call dword [ebx + 0xc]
test eax, eax
je 0x70b8a1
lea edx, [ebx + 0xc]
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], edx
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], edx
mov byte [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax], 0
mov dword [eax + 0x10], edx
mov byte [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x24], edx
mov byte [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x38], edx
mov byte [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x4c], edx
mov byte [eax + 0x83], 0
mov byte [eax + 0x88], 0
mov byte [eax + 0xa0], 0
mov byte [eax + 0x80], 1
mov byte [eax + 0x81], 0
mov byte [eax + 0x82], 0
mov dword [eax + 0x8c], 0
mov dword [eax + 0x90], 0
mov dword [eax + 0x84], 0
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], 0
mov dword [eax + 0x9c], 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 dword [ebx + 0x164], eax
jmp 0x70b5b6
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]
xor ebx, ebx
jmp 0x70b6dd
mov dword [esp], ebx
xor ebx, ebx
call fcn.0070b0f0
jmp 0x70b6dd