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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf6c
push ebx
push esi
push edi
mov esi, ecx
lea eax, [ebp + 8]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x230]
call fcn.00b81280
xor ebx, ebx
cmp dword [eax], ebx
mov eax, dword [esp + 0x10]
setne bl
test eax, eax
je 0xb89e3a
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test ebx, ebx
jne 0xb89e50
mov eax, dword [ebp + 0x30]
mov dword [eax], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
lea eax, [ebp + 8]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x140]
call fcn.00b2a1d0
xor ebx, ebx
cmp dword [eax], ebx
mov eax, dword [esp + 0x10]
setne bl
test eax, eax
je 0xb89e79
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test ebx, ebx
je 0xb89ecf
mov ecx, dword [0x10109818]
mov eax, dword [ecx]
call dword [eax + 0xf8]
test eax, eax
je 0xb89eb4
push 0x100f2480
push 0x100dfdac
push 2
lea ecx, [esp + 0x6c]
call fcn.00b3a6c0
mov ecx, eax
call fcn.00b3c950
lea ecx, [esp + 0x60]
call fcn.00b3c6e0
mov eax, dword [ebp + 0x30]
mov dword [eax], 0
mov eax, dword [ebp + 0x2c]
mov dword [eax], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
cmp dword [ebp + 0x10], 0
je 0xb89f30
lea eax, [ebp + 8]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0xd4]
call fcn.00b2a1d0
xor ebx, ebx
cmp dword [eax], ebx
mov eax, dword [esp + 0x10]
setne bl
test eax, eax
je 0xb89efe
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test ebx, ebx
jne 0xb89f15
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0xac]
call fcn.00b82130
test eax, eax
je 0xb89f30
mov eax, dword [ebp + 0x30]
mov dword [eax], 0
mov eax, dword [ebp + 0x2c]
mov dword [eax], 0xc000000d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push ecx
lea eax, [esi + 0x208]
lea ecx, [ebp + 8]
mov dword [esp + 0x60], eax
push ecx
mov ecx, eax
call fcn.00b81220
test eax, eax
jne 0xb8a641
lea ecx, [esp + 0x500]
call fcn.00bb0fd0
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0x140]
call fcn.00b81220
mov edi, dword [esp + 0x3c]
test eax, eax
je 0xb8a3de
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
cmp eax, 2
je 0xb89fb1
mov eax, dword [ebp + 0x30]
mov dword [eax], 0
mov eax, dword [ebp + 0x2c]
mov dword [eax], 0xc000000d
jmp 0xb8a418
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
push eax
call fcn.00b97f20
add esp, 4
test eax, eax
jne 0xb89fdc
mov eax, dword [ebp + 0x30]
mov dword [eax], 0
mov eax, dword [ebp + 0x2c]
mov dword [eax], 0xc0000022
jmp 0xb8a418
mov eax, dword [edi]
lea ecx, [esp + 0xa0]
push ecx
mov ecx, edi
call dword [eax + 0x18]
push eax
lea ecx, [esp + 0x504]
call fcn.00bb1000
lea ecx, [esp + 0xa0]
call fcn.00bb0fe0
lea ecx, [esp + 0x938]
call fcn.00bb0fd0
lea ecx, [esp + 0xd70]
call fcn.00bb0fd0
mov edi, esi
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x504]
mov esi, dword [edi]
call fcn.00bb10c0
lea ecx, [esp + 0xd70]
push ecx
lea ecx, [esp + 0x93c]
push ecx
push dword [eax + 4]
mov ecx, edi
push dword [eax]
call dword [esi + 0x38]
mov dword [esp + 0x10], 0
lea ecx, [esp + 0xb40]
call fcn.00b6e120
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x504]
call fcn.00bb10c0
mov esi, dword [edi + 0x13c]
lea ecx, [esp + 0x938]
call fcn.00bb0e60
movzx eax, ax
lea ecx, [esp + 0xb40]
push eax
lea eax, [esp + 0x80]
push eax
push esi
call fcn.00b6e150
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xb44]
call fcn.00bac9b0
lea ecx, [esp + 0x708]
call fcn.00b96be0
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x504]
call fcn.00bb10c0
mov esi, dword [edi + 0x138]
lea ecx, [esp + 0x938]
call fcn.00bb0e60
movzx eax, ax
lea ecx, [esp + 0x708]
push eax
lea eax, [esp + 0x8c]
push eax
push esi
call fcn.00b96cf0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x70c]
call fcn.00b97090
mov esi, dword [esp + 0xc]
mov dword [esp + 0x30], esi
test esi, esi
je 0xb8a11a
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea ecx, [esp + 0xb40]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.00b6e2f0
lea ecx, [esp + 0x44]
mov ebx, eax
call fcn.00b77900
lea eax, [esp + 0x44]
mov ecx, ebx
push eax
call fcn.00b779f0
test eax, eax
je 0xb8a29f
jmp 0xb8a160
lea ecx, [esp + 0xa0]
call fcn.00bb0fd0
lea ecx, [esp + 0x2d0]
call fcn.00bb0fd0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0xb8a1cf
push dword [esp + 0x4c]
cmp dword [esp + 0x48], eax
jne 0xb8a1d3
lea eax, [esp + 0x94]
mov ecx, ebx
push eax
call fcn.00b77950
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x2d4]
push eax
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.00b978b0
add esp, 0x14
test eax, eax
jne 0xb8a1f0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
lea ecx, [esp + 0x2d8]
call fcn.00bb1060
push eax
lea ecx, [esp + 0xa4]
call fcn.00bb1000
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x2d4]
call fcn.00bb10c0
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0xa4]
call fcn.00bb10c0
mov ecx, dword [edi + 0x13c]
lea edx, [esp + 0x6c]
push esi
push edx
lea edx, [esp + 0xa0]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x38]
push edx
call dword [eax + 0x40]
push dword [esp + 0x2c]
lea ecx, [esp + 0x28]
push esi
call fcn.00b7e450
test esi, esi
je 0xb8a24b
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, dword [esp + 0x2c]
test esi, esi
je 0xb8a26f
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0xb8a26f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x2d0]
call fcn.00bb0fe0
lea ecx, [esp + 0xa0]
call fcn.00bb0fe0
lea eax, [esp + 0x44]
mov ecx, ebx
push eax
call fcn.00b779f0
test eax, eax
jne 0xb8a160
mov dword [esp + 0x30], esi
push dword [edi + 0x13c]
lea ecx, [esp + 0x44]
call fcn.00b6e300
push dword [edi + 0x138]
lea ecx, [esp + 0x3c]
call fcn.00b970c0
lea ecx, [esp + 0x2d0]
call fcn.00b6e120
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x504]
call fcn.00bb10c0
mov ebx, dword [edi + 0x13c]
lea ecx, [esp + 0x938]
call fcn.00bb0e60
movzx eax, ax
lea ecx, [esp + 0x2d0]
push eax
lea eax, [esp + 0x78]
push eax
push ebx
call fcn.00b6e150
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2d4]
call fcn.00bac9b0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esp + 0x18]
mov ebx, eax
mov edx, dword [ecx]
call dword [edx + 0xc]
cmp eax, ebx
je 0xb8a437
mov eax, dword [esp + 0x18]
test eax, eax
je 0xb8a345
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x2d0]
call fcn.00b7d3c0
lea ecx, [esp + 0x38]
call fcn.00b970f0
lea ecx, [esp + 0x40]
call fcn.00b6e320
mov edx, dword [esp + 0x28]
test edx, edx
je 0xb8a371
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0xb8a37f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test esi, esi
je 0xb8a389
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x14]
test eax, eax
je 0xb8a39f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x910]
call fcn.00b918b0
lea ecx, [esp + 0x708]
call fcn.00bb0fe0
mov eax, dword [esp + 0xc]
test eax, eax
je 0xb8a3cd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0xc], 0
lea ecx, [esp + 0xb40]
call fcn.00b7d3c0
jmp 0xb8a053
lea eax, [esp + 0x500]
push eax
push 0
push 0x40
push 0
push dword [ebp + 8]
lea ecx, [esp + 0x58]
call fcn.00bb0be0
mov ecx, eax
call fcn.00bb0c90
push eax
mov ecx, esi
call fcn.00b81b40
test eax, eax
jne 0xb8a004
mov eax, dword [ebp + 0x30]
mov dword [eax], 1
test edi, edi
je 0xb8a422
mov eax, dword [edi]
push edi
call dword [eax + 8]
lea ecx, [esp + 0x500]
call fcn.00bb0fe0
mov eax, dword [esp + 0x1c]
jmp 0xb8a69a
lea ecx, [esp + 0xa0]
call fcn.00b96be0
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x504]
call fcn.00bb10c0
mov ebx, dword [edi + 0x138]
lea ecx, [esp + 0x938]
call fcn.00bb0e60
movzx eax, ax
lea ecx, [esp + 0xa0]
push eax
lea eax, [esp + 0x64]
push eax
push ebx
call fcn.00b96cf0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xa4]
call fcn.00b97090
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, eax
mov eax, dword [esp + 0x34]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
cmp ebx, eax
je 0xb8a4e2
mov eax, dword [esp + 0x20]
test eax, eax
je 0xb8a4c5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x2a8]
call fcn.00b918b0
lea ecx, [esp + 0xa0]
call fcn.00bb0fe0
jmp 0xb8a32f
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
test ecx, ecx
je 0xb8a4f8
mov eax, dword [ecx]
mov edx, dword [esp + 0x28]
push edx
call dword [eax + 0x1c]
mov eax, dword [esp + 0x20]
test eax, eax
je 0xb8a50e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x2a8]
call fcn.00b918b0
lea ecx, [esp + 0xa0]
call fcn.00bb0fe0
mov eax, dword [esp + 0x18]
test eax, eax
je 0xb8a53c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x2d0]
call fcn.00b7d3c0
lea ecx, [esp + 0x38]
call fcn.00b970f0
lea ecx, [esp + 0x40]
call fcn.00b6e320
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.00b7d7e0
lea ecx, [esp + 0x24]
call fcn.00b7d390
test esi, esi
je 0xb8a57b
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x14]
test eax, eax
je 0xb8a591
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x910]
call fcn.00b918b0
lea ecx, [esp + 0x708]
call fcn.00bb0fe0
mov eax, dword [esp + 0xc]
test eax, eax
je 0xb8a5bf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0xc], 0
lea ecx, [esp + 0xb40]
call fcn.00b7d3c0
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
push esi
push dword [ebp + 8]
call fcn.00b6e850
add esp, 0xc
test eax, eax
js 0xb8a609
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x1c]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00b7e020
mov eax, dword [esp + 0x34]
test eax, eax
je 0xb8a609
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test esi, esi
je 0xb8a613
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0xd70]
call fcn.00bb0fe0
lea ecx, [esp + 0x938]
call fcn.00bb0fe0
test edi, edi
je 0xb8a635
mov eax, dword [edi]
push edi
call dword [eax + 8]
lea ecx, [esp + 0x500]
call fcn.00bb0fe0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0xb8a688
push dword [ebp + 0x28]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [edx + 0xc]
test eax, eax
js 0xb8a684
mov eax, dword [ebp + 0x30]
mov dword [eax], 0
mov eax, dword [ebp + 0x2c]
mov dword [eax], 0x103
mov eax, dword [esp + 0x1c]
jmp 0xb8a69a
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x30]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], 0xc000000d
test eax, eax
je 0xb8a6a4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c