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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, ecx
xor edx, edx
push edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], edx
mov ebx, dword [esi + 0xb4]
mov edi, ebx
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], edi
cmp dword [esi + 0x70], edx
je 0x10002aef
mov eax, dword [esi]
mov ebp, edx
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x64]
sub ecx, eax
cmp eax, dword [esi + 0x3c]
mov dword [esp + 0x44], 0x52
sbb eax, eax
mov dword [esp + 0x48], edx
and eax, ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0xa8]
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x10002775
mov ecx, edi
sub ecx, ebx
lea eax, [ecx + 0x18]
cmp eax, dword [esi + 4]
jle 0x10002746
push ecx
mov edx, ebx
mov ecx, esi
call fcn.10001a99
pop ecx
mov edi, ebx
mov edx, dword [esi + 0xa4]
mov ecx, edi
mov eax, dword [edx + ebp*8]
mov dword [esp + 0x54], eax
mov eax, dword [edx + ebp*8 + 4]
lea edx, [esp + 0x38]
mov dword [esp + 0x50], eax
call fcn.10002615
inc ebp
mov edi, eax
cmp ebp, dword [esp + 0x2c]
jl 0x1000272d
mov dword [esp + 0x18], eax
xor edx, edx
mov dword [esi + 0xa8], edx
cmp dword [esi + 0x40], edx
jne 0x100027cc
mov ecx, dword [esi + 0x78]
test ecx, ecx
jne 0x10002796
mov eax, dword [esi + 0x4c]
mov edx, 0x1b58
add eax, edx
mov dword [esi + 0x74], eax
jmp 0x100027cf
mov ebp, dword [esi + 0x4c]
mov eax, ebp
sub eax, dword [esi + 0x74]
js 0x100027d2
mov edx, 0x1b58
cmp ecx, edx
cmovb ecx, edx
mov eax, ecx
shr eax, 1
add eax, ecx
mov ecx, 0x1d4c0
mov dword [esi + 0x78], eax
cmp eax, ecx
jbe 0x100027c1
mov dword [esi + 0x78], ecx
mov eax, ecx
add eax, ebp
or dword [esi + 0x48], 1
mov dword [esi + 0x74], eax
jmp 0x100027d2
mov dword [esi + 0x74], edx
mov dword [esi + 0x78], edx
test byte [esi + 0x48], 1
je 0x1000280a
mov ecx, edi
mov dword [esp + 0x44], 0x53
sub ecx, ebx
lea eax, [ecx + 0x18]
cmp eax, dword [esi + 4]
jle 0x100027f9
push ecx
mov edx, ebx
mov ecx, esi
call fcn.10001a99
pop ecx
mov edi, ebx
lea edx, [esp + 0x38]
mov ecx, edi
call fcn.10002615
mov edi, eax
mov dword [esp + 0x18], edi
test byte [esi + 0x48], 2
je 0x10002842
mov ecx, edi
mov dword [esp + 0x44], 0x54
sub ecx, ebx
lea eax, [ecx + 0x18]
cmp eax, dword [esi + 4]
jle 0x10002831
push ecx
mov edx, ebx
mov ecx, esi
call fcn.10001a99
pop ecx
mov edi, ebx
lea edx, [esp + 0x38]
mov ecx, edi
call fcn.10002615
mov edi, eax
mov dword [esp + 0x18], edi
and dword [esi + 0x48], 0
mov ebp, dword [esi + 0x40]
cmp dword [esi + 0x38], ebp
cmovbe ebp, dword [esi + 0x38]
cmp dword [esi + 0xc0], 0
mov dword [esp + 0x24], ebp
jne 0x10002868
cmp dword [esi + 0x44], ebp
cmovbe ebp, dword [esi + 0x44]
mov dword [esp + 0x24], ebp
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0x10]
sub eax, ebp
jns 0x10002910
mov edi, dword [esp + 0x14]
lea ebx, [esi + 0x84]
mov edx, dword [ebx]
cmp ebx, edx
je 0x1000290c
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
and dword [edx], 0
and dword [edx + 4], 0
mov eax, dword [esi + 0x98]
mov dword [edx + 4], eax
lea eax, [esi + 0x94]
mov dword [edx], eax
mov eax, dword [esi + 0x98]
mov dword [eax], edx
dec dword [esi + 0x68]
inc dword [esi + 0x60]
mov eax, dword [esi]
mov dword [esi + 0x98], edx
mov dword [edx + 8], eax
mov eax, dword [esp + 0x20]
mov dword [edx + 0x14], eax
mov dword [edx + 0xc], 0x51
mov dword [edx + 0x18], edi
mov ecx, dword [esi + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x14], eax
mov dword [edx + 0x1c], ecx
mov eax, dword [esi + 0x18]
mov dword [edx + 0x20], eax
mov dword [edx + 0x28], edi
mov eax, dword [esi + 0x30]
and dword [edx + 0x30], 0
and dword [edx + 0x34], 0
mov dword [edx + 0x2c], eax
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0x10]
sub eax, ebp
js 0x10002880
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0xb8]
or ecx, 0xffffffff
test eax, eax
cmovg ecx, eax
cmp dword [esi + 0x6c], 0
mov dword [esp + 0x2c], ecx
lea eax, [esi + 0x30]
jne 0x10002936
mov ecx, dword [eax]
sar ecx, 3
mov dword [esp + 0x18], ecx
jmp 0x1000293b
and dword [esp + 0x18], 0
lea ecx, [esi + 0x94]
mov ebx, dword [ecx]
cmp ebx, ecx
je 0x10002a72
mov ebp, dword [esp + 0x28]
mov ecx, dword [ebx + 0x34]
lea edx, [ebx + 0x28]
mov dword [esp + 0x34], edx
test ecx, ecx
jne 0x10002972
mov dword [ebx + 0x34], 1
mov eax, dword [eax]
mov dword [ebx + 0x2c], eax
add eax, dword [esp + 0x18]
jmp 0x100029f3
mov eax, dword [esp + 0x14]
sub eax, dword [edx]
js 0x100029c7
lea eax, [ecx + 1]
mov dword [ebx + 0x34], eax
inc dword [esi + 0x58]
cmp dword [esi + 0x6c], 0
jne 0x1000299b
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esi + 0x30]
cmp eax, ecx
cmovae ecx, eax
add eax, ecx
mov dword [ebx + 0x2c], eax
jmp 0x100029bd
cmp dword [esi + 0x6c], 2
lea edx, [ebx + 0x2c]
mov ecx, ebx
jb 0x100029a9
lea edx, [esi + 0x30]
mov eax, dword [edx]
cdq
sub eax, edx
push 0x2c
pop edx
sar eax, 1
add dword [edx + ecx], eax
mov eax, dword [edx + ecx]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x30], 1
jmp 0x100029f3
mov eax, dword [esp + 0x2c]
cmp dword [ebx + 0x30], eax
jb 0x10002a5b
mov eax, dword [esi + 0xbc]
cmp ecx, eax
jle 0x100029e2
test eax, eax
jg 0x10002a5b
and dword [ebx + 0x30], 0
lea eax, [ecx + 1]
inc dword [esp + 0x1c]
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x2c]
add eax, dword [esp + 0x14]
mov ecx, edi
mov dword [edx], eax
sub ecx, ebp
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x24]
add eax, 0x18
add eax, ecx
cmp eax, dword [esi + 4]
jle 0x10002a2b
push ecx
mov edx, ebp
mov ecx, esi
call fcn.10001a99
pop ecx
mov edi, ebp
mov edx, ebx
mov ecx, edi
call fcn.10002615
cmp dword [ebx + 0x24], 0
mov edi, eax
jbe 0x10002a4f
push dword [ebx + 0x24]
lea eax, [ebx + 0x3c]
push eax
push edi
call fcn.10061840
add esp, 0xc
add edi, dword [ebx + 0x24]
mov eax, dword [ebx + 0x34]
cmp eax, dword [esi + 0x7c]
jb 0x10002a5b
or dword [esi + 0xc], 0xffffffff
mov ebx, dword [ebx]
lea eax, [esi + 0x94]
cmp ebx, eax
lea eax, [esi + 0x30]
jne 0x1000294f
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
sub edi, eax
test edi, edi
jle 0x10002a87
push edi
mov edx, eax
mov ecx, esi
call fcn.10001a99
pop ecx
cmp dword [esp + 0x1c], 0
push 2
pop edx
je 0x10002aba
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0x10]
shr eax, 1
mov dword [esi + 0x24], eax
cmp eax, edx
jae 0x10002aa5
mov dword [esi + 0x24], edx
mov eax, edx
mov ecx, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [esi + 8]
imul eax, ecx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x80], eax
cmp dword [esp + 0x30], 0
je 0x10002adb
mov eax, dword [esi + 8]
shr ebp, 1
cmp ebp, edx
mov dword [esi + 0x44], 1
mov dword [esi + 0x80], eax
cmovb ebp, edx
mov dword [esi + 0x24], ebp
xor eax, eax
inc eax
cmp dword [esi + 0x44], eax
jae 0x10002aef
mov dword [esi + 0x44], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x80], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x70], 0
lea esi, [edi + 0x54]
mov dword [edi + 0x4c], edx
jne 0x10002b11
mov dword [edi + 0x70], 1
mov dword [esi], edx
mov ecx, dword [esi]
mov eax, edx
sub eax, ecx
cmp eax, 0x2710
jge 0x10002b2d
cmp eax, 0xffffd8f0
jl 0x10002b2d
test eax, eax
jns 0x10002b31
pop edi
pop esi
pop ebx
ret
mov dword [esi], edx
mov ecx, edx
mov ebx, dword [edi + 0x50]
mov eax, edx
add ecx, ebx
sub eax, ecx
mov dword [esi], ecx
js 0x10002b43
lea eax, [ebx + edx]
mov dword [esi], eax
mov ecx, edi
pop edi
pop esi
pop ebx
jmp 0x100026ae