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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf0
mov dword [esp + 4], ecx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], 0
mov eax, dword [ebp + 8]
sub eax, dword [esp + 0x68]
sar eax, 2
shl eax, 5
add eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x6c]
mov dword [esp + 0x28], eax
cmp dword [ebp + 0x10], 0
je 0x1002848a
mov dword [esp + 0xd0], 0x7fffffff
mov dword [esp + 0x10], 0x3fffffff
mov dword [esp + 0x14], 0x7fffffff
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x14]
jae 0x1002819b
lea edx, [esp + 0x10]
mov dword [esp + 0x18], edx
jmp 0x100281a3
lea eax, [esp + 0x14]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x48]
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], 0x3ffffff
jbe 0x100281c9
mov dword [esp + 0x20], 0x7fffffff
jmp 0x100281d4
mov ecx, dword [esp + 0x1c]
shl ecx, 5
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 4]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x4c]
cmp ecx, dword [ebp + 0x10]
jae 0x100281f5
mov ecx, dword [esp + 4]
call fcn.10028580
mov dword [esp + 0x50], 0
mov edx, dword [esp + 4]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x54], eax
lea ecx, [esp + 0x50]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x58]
lea ecx, [eax + edx + 0x1f]
shr ecx, 5
push ecx
mov ecx, dword [esp + 0xc]
call fcn.1002c9d0
mov edx, dword [esp + 4]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x58], eax
cmp dword [esp + 0x58], 0
jne 0x10028241
mov dword [esp + 0x24], 1
jmp 0x10028249
mov dword [esp + 0x24], 0
movzx ecx, byte [esp + 0x24]
test ecx, ecx
je 0x10028268
mov edx, dword [esp + 4]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov ecx, dword [esp + 4]
mov dword [ecx + 0xc], eax
jmp 0x1002848a
lea edx, [esp + 0xc0]
push edx
mov ecx, dword [esp + 8]
call fcn.10027900
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
mov edx, dword [esp + 4]
mov dword [edx + 0xc], ecx
lea eax, [esp + 0xe0]
push eax
mov ecx, dword [esp + 8]
call fcn.10027900
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], 0
lea eax, [esp + 0xc8]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x40]
call fcn.100284d0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
sar eax, 2
shl eax, 5
add eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
mov dword [esp + 0xd4], eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov eax, dword [esp + 0xbc]
push eax
mov ecx, dword [esp + 0xbc]
push ecx
mov edx, dword [esp + 0x40]
push edx
mov eax, dword [esp + 0x40]
push eax
mov ecx, dword [esp + 0x40]
push ecx
mov edx, dword [esp + 0x40]
push edx
lea ecx, [esp + 0x100]
call fcn.10031b80
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], ecx
mov eax, dword [esp + 0x28]
mov esp, ebp
pop ebp
ret 0xc