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

Disassembly:
sub esp, 0xa0
mov eax, dword [esp + 0xa4]
push ebx
push ebp
push esi
mov edx, dword [eax + 4]
mov esi, dword [eax]
push edi
lea eax, [edx + 0x1e4]
mov dword [esp + 0xa4], eax
lea ecx, [esi + 0x1e4]
lea eax, [esi + 0x784]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], eax
lea ebp, [edx + 4]
lea eax, [edx + 0x784]
mov dword [esp + 0x80], ebp
mov dword [esp + 0xa0], eax
lea eax, [esi + 4]
mov dword [esp + 0x84], eax
lea eax, [esi + 0xa54]
mov dword [esp + 0x74], eax
lea eax, [edx + 0xa54]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ebx, dword [ecx + 0x844]
mov ecx, dword [ecx + 0x83c]
mov dword [esp + 0x9c], ebx
mov ebx, dword [eax + 0x844]
mov eax, dword [eax + 0x83c]
mov dword [esp + 0x70], ebx
lea ebx, [esi + 0x964]
mov dword [esp + 0x88], eax
mov eax, dword [esi]
mov dword [esp + 0x98], ebx
lea ebx, [edx + 0x964]
mov dword [esp + 0x7c], eax
mov eax, dword [edx]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0xa8], ebx
xor ebx, ebx
mov dword [esp + 0x8c], ecx
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], eax
cmp dword [esp + 0xcc], eax
jle 0x1001e003
mov edx, dword [esp + 0xd0]
mov esi, dword [esp + 0xd8]
add esi, 4
mov dword [esp + 0x34], esi
lea edi, [edx*4]
mov edx, ebp
mov ebp, dword [esp + 0xd4]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x30], edx
test ebp, ebp
jle 0x1001dd34
mov ebp, edx
mov edi, dword [esp + 0xbc]
mov edx, dword [esp + 0x84]
mov eax, esi
mov esi, dword [esp + 0x80]
sub edi, esi
sub edx, esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x88]
sub edx, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x8c]
sub edx, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x90]
sub edx, esi
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x94]
sub edx, esi
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x98]
sub edx, esi
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x9c]
sub edx, esi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x70]
sub edx, esi
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x74]
sub edx, esi
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0xc4]
sub edx, esi
mov esi, dword [esp + 0xd4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], esi
cmp dword [esp + 0xbc], 0
je 0x1001db5d
cmp dword [edi + ebp], 0
je 0x1001db5d
cmp dword [edx + ebp], 0
mov ebx, 1
cmovne ecx, ebx
mov ebx, 9
mov dword [esp + 0x3c], ecx
jmp 0x1001dcfe
mov ecx, dword [esp + 0x48]
mov edi, dword [ecx + ebp]
mov edx, edi
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x54], edi
mov ecx, dword [ecx + ebp]
cmp ecx, edi
mov dword [esp + 0x50], ecx
cmovl edx, ecx
cmp dword [esp + 0xc8], 0
mov dword [esp + 0x44], edx
je 0x1001dcea
mov eax, dword [esp + 0x20]
mov esi, dword [ebp + 0x960]
mov ecx, dword [eax + ebp]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + ebp]
mov eax, dword [esp + 0x40]
add eax, ebp
cmp ecx, edi
mov dword [esp + 0x58], eax
mov ebx, dword [eax]
mov eax, edi
cmovg eax, ecx
mov ecx, dword [esp + 0x50]
sar eax, 1
mov edi, ecx
sar edi, 1
sub edi, eax
mov eax, dword [esp + 0x54]
cmp edx, ecx
cmovg ecx, edx
mov edx, dword [esp + 0x44]
sar eax, 1
sar ecx, 1
sub edi, ecx
mov ecx, edx
add edi, eax
cmp esi, edx
mov eax, edx
cmovg eax, esi
sar eax, 1
sub ecx, eax
cmp ebx, edx
mov eax, edx
cmovg eax, ebx
sar eax, 1
sub ecx, eax
cmp ecx, edi
jle 0x1001dcde
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], 1
mov dword [eax + ebp], 1
mov eax, dword [esp + 0x10]
mov edi, dword [eax - 4]
cmp edi, dword [eax]
jge 0x1001dc52
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x10]
sub ebx, eax
lea esi, [eax + edi*4]
mov edx, dword [ebx + esi]
lea esi, [esi + 4]
mov ecx, dword [esi - 4]
inc edi
sar edx, 1
sar ecx, 1
lea eax, [ecx + edx]
sub edx, ecx
mov dword [ebx + esi - 4], eax
mov dword [esi - 4], edx
cmp edi, dword [ebp]
jl 0x1001dc23
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x28]
add esi, ebp
mov edx, dword [esp + 0x44]
jmp 0x1001dc56
mov esi, dword [esp + 0x58]
mov ecx, dword [ebp]
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x24]
cmp dword [ebx + ebp], ecx
cmovl ecx, dword [ebx + ebp]
mov dword [ebp], ecx
mov dword [ebx + ebp], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + ebp], edx
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x38]
mov dword [eax + ebp], edx
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x68]
mov eax, dword [eax + ebp]
mov dword [ecx + ebp], eax
mov eax, dword [ebp + 0x780]
mov ecx, dword [esp + 0x1c]
mov dword [ebp + 0x1e0], eax
mov eax, dword [esi]
mov esi, dword [esp + 0x18]
mov dword [ecx + ebp], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0x960]
mov dword [ecx + ebp], eax
mov ecx, dword [ebp + 0xa50]
cmp dword [edx + ebp], ecx
mov eax, dword [esp + 0x10]
cmovl ecx, dword [edx + ebp]
sar ecx, 1
mov dword [ebp + 0xa50], ecx
mov dword [edx + ebp], ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
jmp 0x1001dd02
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
inc ebx
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x24]
mov dword [edx + ebp], 0
mov dword [esp + 0x38], ebx
add eax, 4
add ebp, 4
sub esi, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], esi
jne 0x1001db33
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x6c]
mov ebp, dword [esp + 0xd4]
add eax, dword [esp + 0xd0]
add edx, edi
add esi, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], esi
cmp eax, dword [esp + 0xcc]
jl 0x1001da84
cmp ecx, 1
jne 0x1001e003
test ebx, ebx
je 0x1001dd86
cmp ebx, ebp
jge 0x1001dd6e
cmp ebx, 9
jl 0x1001dd86
mov eax, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
mov dword [eax], 1
pop ebx
add esp, 0xa0
ret
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0xd8]
mov edi, dword [esp + 0xc4]
mov esi, dword [esp + 0xd0]
mov dword [eax], 2
lea ebx, [ecx*4]
xor eax, eax
mov dword [esp + 0x14], ebx
mov ecx, edi
mov dword [esp + 0x24], eax
add edx, 4
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
nop dword [eax]
test ebp, ebp
jle 0x1001dfd9
mov ebx, ecx
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x84]
sub eax, edi
sub ecx, edi
mov esi, dword [esp + 0x80]
mov dword [esp + 0x68], ecx
sub esi, edi
mov ecx, dword [esp + 0x88]
mov ebp, edx
sub ecx, edi
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x8c]
sub ecx, edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x90]
sub ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x94]
sub ecx, edi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0xa0]
sub ecx, edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0xa4]
sub ecx, edi
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x98]
sub ecx, edi
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x9c]
sub ecx, edi
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0xa8]
sub ecx, edi
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x70]
sub ecx, edi
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0xac]
sub ecx, edi
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x74]
sub ecx, edi
mov dword [esp + 0x30], ecx
nop dword [eax + eax]
cmp dword [esp + 0xbc], 0
je 0x1001dec4
cmp dword [ebx + eax], 0
jne 0x1001df9d
cmp dword [ebx], 0
jne 0x1001df9d
mov dword [ebx], 1
mov edi, dword [ebp - 4]
cmp edi, dword [ebp]
jge 0x1001df1b
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
sub ebx, ecx
lea eax, [ecx + edi*4]
nop dword [eax + eax]
mov esi, dword [ebx + eax]
lea eax, [eax + 4]
mov edx, dword [eax - 4]
inc edi
sar esi, 1
sar edx, 1
lea ecx, [edx + esi]
sub esi, edx
mov dword [ebx + eax - 4], ecx
mov dword [eax - 4], esi
cmp edi, dword [ebp]
jl 0x1001def0
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x6c]
mov ecx, dword [ebx + esi]
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x34]
cmp dword [edi + ebx], ecx
cmovl ecx, dword [edi + ebx]
mov dword [ebx + esi], ecx
mov dword [edi + ebx], ecx
mov edi, dword [esp + 0x64]
mov ecx, dword [edi + ebx]
cmp dword [eax + ebx], ecx
cmovl ecx, dword [eax + ebx]
mov dword [edi + ebx], ecx
mov dword [eax + ebx], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x40]
mov eax, dword [eax + ebx]
mov dword [ecx + ebx], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov eax, dword [eax + ebx]
mov dword [ecx + ebx], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax + ebx]
mov dword [ecx + ebx], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov eax, dword [eax + ebx]
mov dword [ecx + ebx], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [edi + ebx]
cmp dword [eax + ebx], ecx
cmovl ecx, dword [eax + ebx]
sar ecx, 1
mov dword [edi + ebx], ecx
mov dword [eax + ebx], ecx
mov eax, dword [esp + 0x18]
add ebx, 4
add ebp, 4
sub edx, 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edx
jne 0x1001deb0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0xc4]
mov ebp, dword [esp + 0xd4]
mov esi, dword [esp + 0xd0]
add eax, esi
add ecx, ebx
add edx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
cmp eax, dword [esp + 0xcc]
jl 0x1001ddd0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
mov eax, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
mov dword [eax], 0
pop ebx
add esp, 0xa0
ret