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

Disassembly:
push 0xffffffffffffffff
push 0x10080fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x10097288]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10097288]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x90]
mov dword [esp + 0x38], eax
mov eax, dword [ecx]
mov ebp, dword [eax + 0x24]
cmp ebp, 3
jle 0x1003b86c
cmp byte [eax + 0x3c], 0
mov byte [esp + 0x16], 1
jne 0x1003b871
mov byte [esp + 0x16], 0
mov esi, dword [esp + 0x88]
cmp ebp, 5
mov eax, 4
mov dword [esp + 0x70], 0
sete byte [esp + 0x17]
mov ebx, 0x1008c970
cmp ebp, eax
mov dword [esp + 0x3c], ebx
lea ecx, [esi + 6]
cmovg ebp, eax
mov eax, 0x66666667
imul ecx
lea ecx, [esi + 5]
mov dword [esp + 0x34], ebp
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x60], eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x64], eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, 0x66666667
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul esi
mov dword [esp + 0x68], ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x6c], eax
jmp 0x1003b900
mov ebx, dword [ebx]
cmp ebx, ebp
jge 0x1003bbad
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0xc]
mov edx, dword [edi]
mov ecx, edi
push ebx
mov esi, eax
call dword [edx + 8]
cmp eax, esi
jge 0x1003bbad
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 8]
cmp ebp, 3
mov dword [esp + 0x50], eax
lea ebp, [ebx*4]
jle 0x1003b944
mov ecx, dword [ebp + 0x1008c950]
jmp 0x1003b94a
mov ecx, dword [ebp + 0x1008c9b0]
push ecx
lea ecx, [esp + 0x48]
call fcn.10018f50
mov eax, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 0x80], 0
mov esi, dword [eax]
cmp dword [esi + 0x18], edi
jbe 0x1003bb71
lea ecx, [esp + 0x60]
add ecx, ebp
mov dword [esp + 0x58], ecx
lea ebx, [ebx]
mov ecx, dword [eax + 4]
mov eax, 0x4bda12f7
sub ecx, esi
mov dword [esp + 0x20], 0
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x1003bb61
xor ecx, ecx
mov dword [esp + 0x24], ecx
lea esp, [esp]
mov eax, dword [ecx + esi + 0x4c]
lea ebp, [ecx + esi]
mov esi, dword [ebp + 0x40]
mov eax, dword [eax + edi*4]
mov esi, dword [esi + edi*4]
mov dword [esp + 0x54], eax
cmp esi, eax
jae 0x1003bb29
lea esp, [esp]
cmp byte [esp + 0x8c], 0
je 0x1003b9f2
mov eax, dword [esp + 0x38]
push esi
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp eax, 0xff
je 0x1003bb1a
cmp byte [esp + 0x16], 0
je 0x1003ba10
cmp ebx, 3
jge 0x1003ba10
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
je 0x1003bb1a
cmp byte [esp + 0x17], 0
je 0x1003ba2e
cmp ebx, 4
jge 0x1003ba2e
mov ecx, dword [ebp + 0x10]
push esi
push edi
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jg 0x1003bb1a
push dword [esp + 0x50]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push esi
push edi
push ebx
push dword [ebp + ebx*4]
lea ecx, [esp + 0x60]
push ebp
call fcn.100215d0
mov ecx, dword [ebp + ebx*4]
add esp, 0x20
mov dword [esp + 0x40], eax
mov edx, dword [ecx]
push esi
push edi
call dword [edx + 0xc]
cmp byte [esp + 0x17], 0
mov dword [esp + 0x5c], eax
je 0x1003ba84
cmp ebx, 4
jne 0x1003ba84
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x20]
cmovg ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
cmp byte [esp + 0x8c], 0
je 0x1003baa4
mov eax, dword [esp + 0x38]
push esi
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, 0xff
sub edx, eax
jmp 0x1003baa9
mov edx, 0xff
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
mov eax, 0x80808081
imul ecx, edx
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x5c]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x44]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x34]
sub edx, eax
sub ecx, eax
call fcn.1003b6e0
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x38]
add eax, dword [esp + 0x48]
add esp, 8
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x50]
push edx
push ebx
call dword [eax + 0x14]
mov ecx, dword [ebp + ebx*4]
push dword [esp + 0x30]
push esi
mov eax, dword [ecx]
push edi
call dword [eax + 4]
inc esi
cmp esi, dword [esp + 0x54]
jb 0x1003b9d0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add ecx, 0x6c
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
inc ebp
mov dword [esp + 0x20], ebp
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x4bda12f7
imul ecx
mov ecx, dword [esp + 0x24]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jl 0x1003b9b0
mov eax, dword [esp + 0x28]
inc edi
mov esi, dword [eax]
cmp edi, dword [esi + 0x18]
jb 0x1003b980
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1003bba5
push eax
call fcn.1006f76a
add esp, 4
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
add ebx, 4
mov dword [esp + 0x3c], ebx
cmp ebx, 0x1008c984
jl 0x1003b900
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.1006ece9
add esp, 0x70
ret