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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002d81c
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x1003a37c]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push esi
mov eax, dword [0x1003a37c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
xor ebx, ebx
mov dword [esp + 0x80], ebx
lea eax, [esp + 0x40]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0xf
mov byte [esp + 0x40], bl
mov ecx, dword [esp + 0x20]
lea esi, [esp + 0x50]
mov byte [esp + 0x80], 2
call fcn.00b90fbc
mov byte [esp + 0x80], 3
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [ecx + edx*2]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], eax
call fcn.00b9210c
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x80], 4
cmp dword [esp + 0x58], ebx
jbe 0xb91c3f
mov esi, dword [esp + 0x50]
lea edx, [esp + 0x60]
cmp esi, edx
je 0xb91c3f
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0xb91c30
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push esi
push eax
call edx
add esp, 8
jmp 0xb91c3f
call dword [0x1002f008]
push esi
push ebx
push eax
call dword [0x1002f004]
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0xb91c5a
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
add esp, 4
cmp dword [esp + 0x18], ebx
jl 0xb91d5f
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x10]
and eax, 0x1c0
cmp eax, 0x40
sete dl
cmp eax, 0x100
sete al
mov dword [esp + 0x18], ecx
mov byte [esp + 0x16], dl
mov byte [esp + 0x17], al
test dl, dl
jne 0xb91c9e
test al, al
jne 0xb91c9e
mov dl, 1
jmp 0xb91ca0
xor dl, dl
mov ebx, dword [edi + 0x18]
cmp ebx, ecx
jbe 0xb91caf
sub ebx, ecx
mov dword [esp + 0x1c], ebx
jmp 0xb91cbb
mov dword [esp + 0x1c], 0
mov ebx, dword [esp + 0x1c]
test dl, dl
je 0xb91cd2
test ebx, ebx
je 0xb91cd2
push ebx
mov esi, edi
call fcn.00b90e1c
mov al, byte [esp + 0x1b]
add esp, 4
test al, al
je 0xb91ce5
test ebx, ebx
je 0xb91ce5
push ebx
mov esi, edi
call fcn.00b90e1c
add esp, 4
mov eax, dword [edi + 0xc]
mov esi, dword [esp + 0x18]
add esi, eax
cmp esi, eax
jb 0xb91d55
mov eax, dword [edi + 8]
cmp esi, eax
jbe 0xb91d2e
lea ebx, [eax + eax]
cmp esi, ebx
jbe 0xb91d02
mov ebx, esi
mov eax, dword [edi]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ebx
lea ecx, [edi + 4]
push ecx
push 0x3e8
push eax
call edx
add esp, 0x10
test eax, eax
jne 0xb91d22
mov dword [edi + 8], ebx
jmp 0xb91d2a
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov ebx, dword [esp + 0x1c]
cmp esi, dword [edi + 8]
ja 0xb91d55
mov eax, dword [edi + 4]
add eax, dword [edi + 0xc]
mov dword [edi + 0xc], esi
je 0xb91d55
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0xb91d55
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push eax
call fcn.00baca3c
add esp, 0xc
cmp byte [esp + 0x16], 0
jmp 0xb91e5a
xor ecx, ecx
inc ecx
cmp byte [ecx + 0x10031f70], 0
jne 0xb91d61
mov eax, dword [edi + 0x10]
and eax, 0x1c0
cmp eax, 0x40
sete bl
cmp eax, 0x100
sete dl
mov dword [esp + 0x18], ecx
mov byte [esp + 0x17], bl
mov byte [esp + 0x16], dl
test bl, bl
jne 0xb91d99
test dl, dl
jne 0xb91d99
mov al, 1
jmp 0xb91d9b
xor al, al
mov ebx, dword [edi + 0x18]
cmp ebx, ecx
jbe 0xb91daa
sub ebx, ecx
mov dword [esp + 0x1c], ebx
jmp 0xb91db6
mov dword [esp + 0x1c], 0
mov ebx, dword [esp + 0x1c]
test al, al
je 0xb91dd1
test ebx, ebx
je 0xb91dd1
push ebx
mov esi, edi
call fcn.00b90e1c
mov dl, byte [esp + 0x1a]
mov ecx, dword [esp + 0x1c]
add esp, 4
test dl, dl
je 0xb91de8
test ebx, ebx
je 0xb91de8
push ebx
mov esi, edi
call fcn.00b90e1c
mov ecx, dword [esp + 0x1c]
add esp, 4
mov eax, dword [edi + 0xc]
lea esi, [ecx + eax]
cmp esi, eax
jb 0xb91e55
mov eax, dword [edi + 8]
cmp esi, eax
jbe 0xb91e32
lea ebx, [eax + eax]
cmp esi, ebx
jbe 0xb91e02
mov ebx, esi
mov eax, dword [edi]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ebx
lea ecx, [edi + 4]
push ecx
push 0x3e8
push eax
call edx
mov ecx, dword [esp + 0x28]
add esp, 0x10
test eax, eax
jne 0xb91e26
mov dword [edi + 8], ebx
jmp 0xb91e2e
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov ebx, dword [esp + 0x1c]
cmp esi, dword [edi + 8]
ja 0xb91e55
mov eax, dword [edi + 4]
add eax, dword [edi + 0xc]
mov dword [edi + 0xc], esi
je 0xb91e55
test ecx, ecx
je 0xb91e55
push ecx
push 0x10031f70
push eax
call fcn.00baca3c
add esp, 0xc
cmp byte [esp + 0x17], 0
je 0xb91e6b
test ebx, ebx
je 0xb91e6b
push ebx
mov esi, edi
call fcn.00b90e1c
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [edi + 0x18], 0
mov ebx, dword [eax + 0x38]
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0xb91f0f
xor ebx, ebx
jmp 0xb91e8c
inc ebx
cmp byte [ebx + 0x10031f9c], 0
jne 0xb91e8c
mov eax, dword [edi + 0xc]
lea esi, [ebx + eax]
cmp esi, eax
jb 0xb91f04
mov eax, dword [edi + 8]
cmp esi, eax
jbe 0xb91ee1
lea ecx, [eax + eax]
mov dword [esp + 0x18], ecx
cmp esi, ecx
jbe 0xb91eb8
mov dword [esp + 0x18], esi
mov ecx, esi
mov eax, dword [edi]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
lea ecx, [edi + 4]
push ecx
push 0x3e8
push eax
call edx
add esp, 0x10
test eax, eax
jne 0xb91ed9
mov eax, dword [esp + 0x18]
jmp 0xb91ede
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
cmp esi, dword [edi + 8]
ja 0xb91f04
mov eax, dword [edi + 4]
add eax, dword [edi + 0xc]
mov dword [edi + 0xc], esi
je 0xb91f04
test ebx, ebx
je 0xb91f04
push ebx
push 0x10031f9c
push eax
call fcn.00baca3c
add esp, 0xc
mov ebx, dword [esp + 0x20]
mov dword [edi + 0x18], 0
mov dword [esp + 0x80], 5
cmp dword [esp + 0x38], 0
jbe 0xb91f53
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x40]
cmp esi, ecx
je 0xb91f53
mov eax, dword [esp + 0x3c]
test eax, eax
je 0xb91f43
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x14]
call eax
add esp, 8
jmp 0xb91f53
call dword [0x1002f008]
push esi
push 0
push eax
call dword [0x1002f004]
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x3c]
test eax, eax
je 0xb91f71
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
add esp, 4
test ebx, ebx
jne 0xb91b99
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00bab426
mov esp, ebp
pop ebp
ret