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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b0
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x58]
cmp eax, 2
jge 0x101de35f
mov eax, 0xffffff7d
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 4], 0
jne 0x101de36f
mov eax, 0xffffff76
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x10]
push edi
test ebx, ebx
jl 0x101de711
mov edi, dword [ebp + 0xc]
jg 0x101de389
test edi, edi
jb 0x101de711
cmp ebx, dword [esi + 0x14]
jg 0x101de711
jl 0x101de39d
cmp edi, dword [esi + 0x10]
ja 0x101de711
cmp eax, 3
jl 0x101de3c8
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x38]
cmp ebx, dword [ecx + eax*8 + 4]
lea eax, [ecx + eax*8]
jl 0x101de3c3
jg 0x101de3b7
cmp edi, dword [eax]
jb 0x101de3c3
cmp ebx, dword [eax + 0xc]
jl 0x101de3c8
jg 0x101de3c3
cmp edi, dword [eax + 8]
jb 0x101de3c8
call fcn.101ddd00
mov edx, dword [esi + 0x5c]
or eax, 0xffffffff
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
lea eax, [esi + 0x78]
push edx
push eax
call fcn.101efff0
lea eax, [esi + 0x1e0]
push eax
call fcn.101e0ae0
push ebx
push edi
mov eax, esi
call fcn.101dce50
add esp, 0x14
test eax, eax
je 0x101de423
or eax, 0xffffffff
lea ecx, [ebp - 0x1b0]
push ecx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
call fcn.101ef870
add esp, 4
call fcn.101ddd00
pop edi
pop ebx
mov eax, 0xffffff77
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x5c]
xor eax, eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
push edx
lea eax, [ebp - 0x1b0]
push eax
call fcn.101f0190
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.101eff90
add esp, 0xc
mov edi, 3
cmp dword [esi + 0x58], edi
jl 0x101de502
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x1b0]
push eax
call fcn.101f0130
add esp, 8
test eax, eax
jle 0x101de502
mov eax, dword [esi + 0x60]
shl eax, 5
add eax, dword [esi + 0x48]
cmp dword [eax + 0x1c], 0
je 0x101de4f4
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.101e0620
mov ebx, eax
add esp, 8
test ebx, ebx
jns 0x101de4ad
lea eax, [esi + 0x78]
push 0
push eax
call fcn.101f0130
add esp, 8
xor ebx, ebx
jmp 0x101de4d9
cmp dword [ebp - 0x14], 0
je 0x101de4c9
cmp dword [ebp - 0xc], 0
jne 0x101de4c9
lea eax, [esi + 0x78]
push 0
push eax
call fcn.101f0130
add esp, 8
jmp 0x101de4d9
mov eax, dword [ebp + 8]
test eax, eax
je 0x101de4d9
lea edx, [ebx + eax]
sar edx, 2
add dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
mov eax, edx
and eax, edi
cmp eax, 0xffffffff
jne 0x101de622
mov dword [ebp + 8], ebx
jmp 0x101de450
lea eax, [esi + 0x78]
push 0
push eax
call fcn.101f0130
add esp, 8
cmp dword [ebp + 8], 0
jne 0x101de6e8
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push ecx
call fcn.101dceb0
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
test edx, edx
jl 0x101de6d8
jg 0x101de534
test eax, eax
jb 0x101de6d8
cmp dword [esi + 0x58], edi
jl 0x101de573
lea edx, [ebp - 0x28]
push edx
call fcn.101ef840
add esp, 4
cmp dword [esi + 0x5c], eax
je 0x101de56e
lea eax, [ebp - 0x28]
push eax
call fcn.101ef770
add esp, 4
test eax, eax
je 0x101de56e
call fcn.101ddd00
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.101ef870
add esp, 4
cmp dword [esi + 0x58], edi
jge 0x101de5f1
lea edx, [ebp - 0x28]
push edx
call fcn.101ef840
mov ecx, dword [esi + 0x34]
add esp, 4
xor edi, edi
mov ebx, eax
test ecx, ecx
jle 0x101de59c
mov eax, dword [esi + 0x40]
lea ecx, [ecx]
cmp dword [eax], ebx
je 0x101de59c
inc edi
add eax, 4
cmp edi, ecx
jl 0x101de590
cmp edi, ecx
je 0x101de450
lea eax, [esi + 0x78]
push ebx
push eax
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], ebx
call fcn.101efff0
lea eax, [ebp - 0x1b0]
push ebx
push eax
call fcn.101efff0
mov eax, dword [esi + 0x3c]
mov ecx, dword [ebp - 4]
add esp, 0x10
mov dword [esi + 0x58], 3
cmp ecx, dword [eax + edi*8 + 4]
jg 0x101de5ea
jl 0x101de5e1
mov edx, dword [ebp - 8]
cmp edx, dword [eax + edi*8]
ja 0x101de5ea
mov dword [ebp - 0xc], 1
jmp 0x101de5f1
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x78]
push eax
call fcn.101efc30
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x1b0]
push edx
call fcn.101efc30
lea eax, [ebp - 0x28]
push eax
call fcn.101ef790
add esp, 0x14
mov dword [ebp - 0x14], eax
jmp 0x101de450
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x44]
mov dword [ebp + 8], ecx
add ecx, ecx
sub edx, dword [eax + ecx*8]
sbb edi, dword [eax + ecx*8 + 4]
xor ecx, ecx
mov ebx, edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], ebx
cmp ebx, ecx
jg 0x101de650
jl 0x101de648
cmp edx, ecx
jae 0x101de650
xor ebx, ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
xor edi, edi
xor edx, edx
cmp dword [ebp + 8], 2
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
jl 0x101de693
mov edx, dword [esi + 0x60]
add edx, 0xfffffffe
shr edx, 1
inc edx
add eax, 0x18
mov dword [ebp + 8], edx
add edx, edx
mov dword [ebp - 0x14], edx
mov edx, dword [eax - 0x10]
add dword [ebp - 0x10], edx
mov edx, dword [eax - 0xc]
adc dword [ebp - 0xc], edx
add ecx, dword [eax]
adc edi, dword [eax + 4]
add eax, 0x20
dec dword [ebp + 8]
jne 0x101de674
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
cmp edx, dword [esi + 0x60]
jge 0x101de6b1
mov eax, dword [esi + 0x44]
shl edx, 4
mov eax, dword [edx + eax + 8]
add dword [ebp - 8], eax
mov eax, dword [esi + 0x44]
mov eax, dword [edx + eax + 0xc]
mov dword [ebp + 8], edx
adc ebx, eax
mov eax, dword [ebp - 0x18]
cdq
sub ecx, eax
sbb edi, edx
add ecx, dword [ebp - 0x10]
adc edi, dword [ebp - 0xc]
add ecx, dword [ebp - 8]
adc edi, ebx
xor eax, eax
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], edi
cmp edi, eax
jg 0x101de6f1
jl 0x101de6eb
cmp ecx, eax
jae 0x101de6f1
jmp 0x101de6eb
push 0xffffffffffffffff
push esi
call fcn.101de230
add esp, 8
mov dword [esi + 0x54], edx
jmp 0x101de6ee
or eax, 0xffffffff
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], eax
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.101ef870
fldz
add esp, 4
fst qword [esi + 0x68]
pop edi
fstp qword [esi + 0x70]
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
pop edi
pop ebx
mov eax, 0xffffff7d
pop esi
mov esp, ebp
pop ebp
ret