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

Disassembly:
sub esp, 0x64
mov eax, dword [0x58e2fc]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
push ebx
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov esi, dword [esp + 0x78]
xor ebx, ebx
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ebx
call fcn.00b78cdc
mov ecx, dword [ebp]
mov edi, dword [esi]
mov ebp, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ecx
call fcn.00b770fc
xor esi, esi
lea esp, [esp]
mov edx, dword [esp + 0x84]
cmp dword [esi + 0x58aa10], edx
jne 0xb707f4
mov eax, dword [esi + 0x58aa14]
push eax
call fcn.00b78c7c
add esp, 4
test eax, eax
je 0xb7088f
mov ebx, eax
add esi, 8
cmp esi, 0x60
jb 0xb707cc
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
add edi, 8
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], eax
mov ecx, dword [edi + 4]
mov dword [esp + 0x3c], ecx
add edi, 8
sub ebp, 0x10
mov dword [esp + 0x34], edx
mov eax, 8
xor ecx, ecx
jmp 0xb7082c
mov edx, dword [esp + ecx + 0x30]
cmp edx, dword [ecx + 0x52c300]
jne 0xb708a7
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0xb7082c
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea ecx, [esp + 0x54]
push ecx
push 1
push edx
mov edx, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
push ecx
push edx
push ebx
call fcn.00b7893c
call fcn.00b7821c
push eax
call fcn.00b7353c
mov esi, eax
add esp, 0x24
mov dword [esp + 0x18], esi
test esi, esi
jne 0xb708bf
mov dword [esp + 0x10], 7
jmp 0xb70a6d
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00bd9175
add esp, 0x64
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00bd9175
add esp, 0x64
ret
lea eax, [esp + 0x28]
push eax
push 0
push 0x81
push esi
call fcn.00b732cc
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x38]
push ecx
push 0
push 0
push 0
push ebx
push edx
call fcn.00b77edc
add esp, 0x28
test eax, eax
jne 0xb708fe
mov dword [esp + 0x10], 6
jmp 0xb70a6d
mov eax, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x58]
push edx
xor ebx, ebx
push ebx
push ebx
push eax
call fcn.00b77edc
add esp, 0x18
test eax, eax
jne 0xb70932
mov dword [esp + 0x10], 6
jmp 0xb70a6d
mov esi, dword [esi + 0x20]
push 0x3d6
push 0x52c330
push 0x2c52
call fcn.00b76f0c
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 4], ebx
add esp, 0xc
mov dword [esp + 0x30], eax
mov dword [esi + 4], ebx
mov dword [esi], ebx
jmp 0xb70962
mov eax, dword [esp + 0x30]
cmp ebp, 0x2000
jl 0xb70990
push 0x2000
push edi
push eax
call fcn.00bd9b0c
add esp, 0xc
add edi, 0x2000
sub ebp, 0x2000
mov ebx, 0x2000
mov dword [esp + 0x24], ebp
jmp 0xb709ab
push ebp
push edi
push eax
call fcn.00bd9b0c
add esp, 0xc
mov dword [esp + 0x24], 0
add edi, ebp
mov ebx, ebp
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edx
test ebx, ebx
jle 0xb70a25
lea ebp, [esi + 0xa0]
jmp 0xb709cc
cmp ebx, 0x1000
mov edi, 0x1000
jg 0xb709db
mov edi, ebx
mov eax, dword [esp + 0x2c]
push edi
push eax
push esi
lea eax, [esi + 0x14]
push ebp
push eax
call fcn.00b7814c
mov ecx, dword [esi]
mov edx, dword [esp + 0x28]
push ecx
push ebp
push edx
call fcn.00bd9b0c
mov ecx, dword [esi]
mov eax, dword [esp + 0x40]
add dword [eax + 4], ecx
mov edx, dword [esi]
add dword [esp + 0x4c], edi
add dword [esp + 0x34], edx
sub ebx, edi
add esp, 0x20
mov dword [esi + 4], 0
test ebx, ebx
jg 0xb709cc
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
test ebp, ebp
jg 0xb7095e
push esi
lea edi, [esi + 0xa0]
lea eax, [esi + 0x14]
push edi
push eax
call fcn.00b781fc
mov ecx, dword [esi]
mov edx, dword [esp + 0x20]
push ecx
push edi
push edx
call fcn.00bd9b0c
mov eax, dword [esp + 0x38]
mov ecx, dword [esi]
add esp, 0x18
add dword [eax + 4], ecx
mov eax, dword [esp + 0x30]
test eax, eax
je 0xb70a69
push eax
call fcn.00b770bc
add esp, 4
mov esi, dword [esp + 0x18]
test esi, esi
je 0xb70a7a
push esi
call fcn.00b72e5c
add esp, 4
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00bd9175
add esp, 0x64
ret