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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, 0xef53
push edi
mov edi, ecx
cmp word [esi + 0x38], ax
je 0x1008b812
xor al, al
jmp 0x1008ba50
mov eax, dword [esi + 0x18]
mov dword [edi], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 4], eax
test eax, eax
je 0x1008b825
cmp dword [edi], eax
jne 0x1008b80b
mov eax, dword [edi]
cmp eax, 6
ja 0x1008b80b
lea ecx, [eax + 0xa]
mov dword [edi], ecx
mov eax, dword [esi]
mov dword [edi + 8], eax
mov eax, dword [esi + 4]
push ebx
xor ebx, ebx
cmp dword [edi + 8], 2
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ebx
mov eax, dword [esi + 0xc]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ebx
mov eax, dword [esi + 0x10]
mov dword [edi + 0x20], eax
jb 0x1008ba4d
cmp dword [edi + 8], eax
jbe 0x1008ba4d
xor eax, eax
cmp ecx, 0xa
sete al
cmp dword [esi + 0x14], eax
jne 0x1008ba4d
mov eax, dword [esi + 0x20]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x28], eax
cmp dword [edi + 0x24], eax
jne 0x1008ba4d
cmp dword [edi + 0x24], ebx
je 0x1008ba4d
mov eax, dword [esi + 0x28]
mov dword [edi + 0x2c], eax
cmp eax, 1
jb 0x1008ba4d
cmp eax, dword [edi + 8]
ja 0x1008ba4d
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x4c]
push 0xb
pop edx
mov dword [edi + 0x40], eax
lea eax, [edx + 0x75]
mov dword [edi + 0x44], edx
mov word [edi + 0x48], ax
cmp dword [edi + 0x40], ebx
je 0x1008b91d
mov eax, dword [esi + 0x54]
mov dword [edi + 0x44], eax
movzx eax, word [esi + 0x58]
mov word [edi + 0x48], ax
cmp dword [edi + 0x44], edx
jb 0x1008ba4d
mov edx, eax
xor eax, eax
inc eax
shl eax, cl
cmp edx, eax
ja 0x1008ba4d
mov ecx, ebx
xor eax, eax
inc eax
shl eax, cl
cmp eax, edx
je 0x1008b915
inc ecx
cmp ecx, 0x20
jb 0x1008b903
or ecx, 0xffffffff
test ecx, ecx
js 0x1008ba4d
mov ax, word [esi + 0x5a]
mov word [edi + 0x4a], ax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x64]
mov dword [edi + 0x54], eax
push 0x10
lea eax, [esi + 0x68]
push eax
lea eax, [edi + 0x58]
push eax
call fcn.100b77a0
push 0x10
lea eax, [esi + 0x78]
push eax
lea eax, [edi + 0x68]
push eax
call fcn.100b77a0
push 0x40
lea eax, [esi + 0x88]
push eax
lea eax, [edi + 0x78]
push eax
call fcn.100b77a0
mov eax, dword [esi + 0xe0]
mov dword [edi + 0xb8], eax
mov ax, word [esi + 0xfe]
mov word [edi + 0xbc], ax
mov eax, dword [esi + 0x108]
mov dword [edi + 0xc0], eax
mov eax, dword [edi + 0x50]
shr eax, 7
add esp, 0x24
test al, 1
je 0x1008b9b2
mov eax, dword [esi + 0x96]
or dword [edi + 0x10], ebx
or dword [edi + 0x14], eax
mov eax, dword [esi + 0x158]
or dword [edi + 0x18], ebx
or dword [edi + 0x1c], eax
mov ebx, dword [edi + 0x10]
push 0x3f
xor edx, edx
pop eax
sub eax, dword [edi]
xor ecx, ecx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
cmp dword [edi + 0x14], ecx
jb 0x1008b9da
ja 0x1008ba4d
cmp ebx, edx
jae 0x1008ba4d
mov ax, word [esi + 0x15c]
mov word [edi + 0xc4], ax
mov eax, dword [esi + 0x178]
mov dword [edi + 0xc8], eax
mov eax, dword [esi + 0x17c]
mov dword [edi + 0xcc], eax
mov eax, dword [edi + 0x14]
test eax, eax
ja 0x1008ba0e
jb 0x1008ba4d
cmp ebx, 1
jb 0x1008ba4d
cmp dword [edi + 0x1c], eax
jb 0x1008ba1a
ja 0x1008ba4d
cmp dword [edi + 0x18], ebx
ja 0x1008ba4d
mov ecx, edi
call fcn.1008a285
mov ebx, edx
mov edx, dword [edi + 8]
xor ecx, ecx
add edx, dword [edi + 0x2c]
push 0
push dword [edi + 0x2c]
adc ecx, ecx
add edx, 0xffffffff
adc ecx, 0xffffffff
push ecx
push edx
mov esi, eax
call fcn.100b8e90
cmp esi, eax
jne 0x1008ba4d
cmp ebx, edx
jne 0x1008ba4d
mov al, 1
jmp 0x1008ba4f
xor al, al
pop ebx
pop edi
pop esi
pop ebp
ret 4