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

Disassembly:
sub esp, 0x4c
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
mov ebx, ebp
push esi
mov esi, dword [esp + 0x5c]
push edi
push dword [esp + 0x70]
mov eax, dword [esi + 4]
sub ebx, eax
push dword [esi + 0x64]
mov dword [esp + 0x20], eax
push ebp
mov dword [esp + 0x2c], ebx
call fcn.009bd340
mov ecx, dword [esi + 0x198]
xor edx, edx
and dword [esp + 0x48], 0
add esp, 0xc
and dword [esp + 0x40], 0
inc edx
mov dword [esp + 0x50], ecx
mov edi, dword [ecx + eax*4]
mov ecx, dword [esi + 0x60]
dec ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x1a0]
shl edx, cl
mov ecx, dword [esi + 8]
dec edx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x30], ecx
add ecx, eax
mov dword [esp + 0x24], eax
add eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, ebx
sub eax, edx
mov dword [esp + 0x38], ecx
cmp edx, ebx
mov dword [esp + 0x54], edx
sbb ecx, ecx
and dword [esp + 0x10], 0
dec dword [esp + 0x7c]
and ecx, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x28], eax
mov eax, edx
mov dword [esp + 0x44], ecx
and eax, ebx
mov ecx, dword [esp + 0x2c]
lea ecx, [ecx + eax*8]
mov dword [esp + 0x14], ecx
lea eax, [ebx + 8]
add ecx, 4
mov dword [esp + 0x58], eax
cmp dword [esp + 0x70], 3
mov ebx, eax
mov dword [esp + 0x1c], ecx
jne 0x9bdffb
push ebp
push esi
call fcn.009bd944
pop ecx
pop ecx
cmp eax, dword [esp + 0x28]
jbe 0x9bdffb
mov esi, dword [esp + 0x20]
sub esi, eax
mov dword [esp + 0x48], esi
cmp esi, 0x40000
jae 0x9bdffb
cmp dword [esp + 0x74], 0
je 0x9bdfa5
cmp eax, dword [esp + 0x24]
jae 0x9bdfa5
add eax, dword [esp + 0x30]
push 3
push eax
mov dword [esp + 0x78], eax
call fcn.009be784
push 3
push ebp
mov esi, eax
call fcn.009be784
add esp, 0x10
cmp esi, eax
jne 0x9bdffb
push dword [esp + 0x34]
mov eax, dword [esp + 0x74]
push dword [esp + 0x3c]
add eax, 3
push dword [esp + 0x70]
push eax
lea eax, [ebp + 3]
push eax
call fcn.009bc464
mov esi, dword [esp + 0x5c]
add esp, 0x14
add eax, 3
jmp 0x9bdfc5
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x7c]
add ecx, eax
mov al, byte [ecx + edx]
cmp al, byte [edx + ebp]
jne 0x9bdffb
push dword [esp + 0x68]
push ecx
push ebp
call fcn.009bc3bc
add esp, 0xc
cmp eax, dword [esp + 0x7c]
jbe 0x9bdffb
mov edx, dword [esp + 0x78]
lea ecx, [esi + 3]
xor esi, esi
mov dword [esp + 0x7c], eax
inc esi
mov dword [esp + 0x10], esi
mov dword [edx], ecx
mov dword [edx + 4], eax
cmp eax, 0x1000
ja 0x9be184
add eax, ebp
cmp eax, dword [esp + 0x68]
je 0x9be184
jmp 0x9bdfff
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x9be176
dec eax
mov dword [esp + 0x6c], eax
cmp edi, dword [esp + 0x28]
jbe 0x9be172
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
and eax, edi
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x40]
cmp dword [esp + 0x3c], ecx
mov esi, ecx
mov dword [esp + 0x48], eax
cmovb esi, dword [esp + 0x3c]
cmp dword [esp + 0x74], 0
je 0x9be091
lea eax, [esi + edi]
cmp eax, dword [esp + 0x24]
jae 0x9be091
push dword [esp + 0x34]
mov eax, dword [esp + 0x34]
push dword [esp + 0x3c]
add eax, edi
push dword [esp + 0x70]
mov dword [esp + 0x7c], eax
add eax, esi
push eax
lea eax, [esi + ebp]
push eax
call fcn.009bc464
add esi, eax
add esp, 0x14
lea eax, [esi + edi]
cmp eax, dword [esp + 0x24]
jb 0x9be0be
mov edx, dword [esp + 0x18]
add edx, edi
jmp 0x9be0c2
mov edx, dword [esp + 0x18]
add edx, edi
mov dword [esp + 0x70], edx
mov al, byte [edx + esi]
cmp al, byte [esi + ebp]
jne 0x9be0c2
push dword [esp + 0x68]
lea eax, [esi + 1]
add eax, edx
push eax
lea eax, [esi + 1]
add eax, ebp
push eax
call fcn.009bc3bc
inc esi
add esp, 0xc
add esi, eax
mov edx, dword [esp + 0x70]
cmp esi, dword [esp + 0x7c]
jbe 0x9be111
mov ebp, dword [esp + 0x78]
lea ecx, [esi + edi]
mov eax, ebx
mov dword [esp + 0x7c], esi
sub eax, edi
cmp esi, eax
mov eax, dword [esp + 0x20]
cmovbe ecx, ebx
sub eax, edi
mov ebx, ecx
add eax, 3
mov ecx, dword [esp + 0x10]
mov dword [ebp + ecx*8], eax
mov eax, ebp
mov ebp, dword [esp + 0x64]
mov dword [eax + ecx*8 + 4], esi
inc ecx
mov dword [esp + 0x10], ecx
cmp esi, 0x1000
ja 0x9be172
lea ecx, [esi + ebp]
cmp ecx, dword [esp + 0x68]
je 0x9be172
jmp 0x9be114
lea ecx, [esi + ebp]
mov al, byte [edx + esi]
cmp al, byte [ecx]
jae 0x9be138
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], esi
mov dword [eax], edi
cmp edi, dword [esp + 0x44]
jbe 0x9be160
mov eax, dword [esp + 0x48]
add eax, 4
mov dword [esp + 0x14], eax
jmp 0x9be150
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], esi
mov dword [ecx], edi
cmp edi, dword [esp + 0x44]
jbe 0x9be16a
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
mov edi, dword [eax]
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x9be01a
jmp 0x9be172
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x70]
jmp 0x9be17a
lea eax, [esp + 0x70]
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
and dword [ecx], 0
and dword [eax], 0
mov edx, dword [esp + 0x20]
lea ecx, [ebx - 8]
mov eax, dword [esp + 0x60]
inc edx
cmp ebx, dword [esp + 0x58]
pop edi
cmova edx, ecx
mov dword [eax + 0x14], edx
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret