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

Disassembly:
sub esp, 0x5c
mov ecx, dword [esp + 0x74]
mov dword [esp], 0
push ebx
push ebp
mov ebp, dword [esp + 0x84]
push esi
push edi
mov eax, dword [ebp + 0x22c]
mov dword [esp + 0x18], eax
cmp ecx, 0x3000
je 0x1028b6e7
cmp ecx, 0x4000
je 0x1028b6e7
xor bl, bl
jmp 0x1028b6e9
mov bl, 1
mov esi, dword [esp + 0x70]
mov edx, 0x201
push 0
push 0
test bl, bl
mov byte [esp + 0x1c], bl
mov eax, 0x60
cmovne eax, edx
push eax
mov eax, dword [esp + 0x94]
push dword [eax]
lea eax, [esp + 0x54]
push esi
push ecx
push eax
call fcn.1028a3c0
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x1028bb6a
push 0xbc
push eax
push esi
call fcn.100ed7f2
add esp, 0xc
mov dword [esi + 0x20], 0xff9c0000
test bl, bl
mov dword [esi + 0x24], 0x320000
mov ebx, dword [esp + 0x74]
mov eax, 0x30
mov ecx, 0x201
mov dword [esi + 0x2c], 2
cmovne eax, ecx
mov dword [esi + 0x30], 0x10000
mov dword [esi + 0x3c], 0x10000
mov dword [esi + 0x9c], 0x2210
mov dword [esi], 0xffff
mov dword [esi + 4], 0xffff
mov dword [esi + 8], 0xffff
mov dword [esi + 0xc], 0xffff
mov dword [esi + 0x10], 0xffff
mov dword [esi + 0x14], 0xffff
mov dword [esi + 0x80], 0xffff
mov dword [esi + 0x84], 0xffff
mov dword [esi + 0x88], 0xffff
mov dword [esi + 0xac], 0xffff
mov dword [esi + 0xb8], eax
cmp dword [ebx + 0xc], edi
je 0x1028b7fe
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x80]
push ebx
call fcn.10289270
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x1028b855
mov eax, dword [esp + 0x8c]
jmp 0x1028b83e
push dword [ebx + 0x14]
push dword [esp + 0x80]
call fcn.100ec046
mov edi, eax
add esp, 8
test edi, edi
jne 0x1028bb6a
lea eax, [esp + 0x10]
push eax
push dword [ebx + 0x18]
push dword [esp + 0x84]
call fcn.100eea12
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1028bb6a
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0x10]
add eax, ecx
push eax
push ecx
lea eax, [esp + 0x4c]
push eax
call fcn.1028a490
add esp, 0xc
mov edi, eax
cmp dword [ebx + 0xc], 0
je 0x1028b86a
cmp dword [ebx + 0x20], 0
jne 0x1028b87e
lea eax, [esp + 0x10]
push eax
push dword [ebx]
jmp 0x1028b876
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x80]
call fcn.100eff9d
add esp, 8
test edi, edi
jne 0x1028bb6a
cmp dword [esi + 0x84], 0xffff
jne 0x1028bb6a
mov eax, dword [esp + 0x88]
lea ebx, [esi + 0xbc]
mov ecx, dword [eax + 4]
mov dword [esi + 0x230], eax
mov byte [esi + 0x22d], 0
mov dword [esp + 0x84], ecx
cmp dword [esi + 0x74], edi
je 0x1028ba71
cmp dword [esi + 0x78], edi
je 0x1028ba71
push 0x170
push edi
push ebx
call fcn.100ed7f2
mov ecx, dword [esp + 0x94]
add esp, 0xc
mov dword [ebx + 0xc8], 7
mov dword [ebx + 0xcc], 1
mov dword [ebx + 0x14c], 0xffffffff
mov dword [ebx + 0x154], 0xf5c
mov dword [ebx + 0xc4], 0x27a000
mov dword [ebx + 0x16c], esi
mov dword [esi + 0x248], edi
mov dword [esi + 0x24c], edi
mov al, byte [ecx + 0x20]
mov byte [esp + 0x8c], al
test al, al
je 0x1028b93d
mov edx, dword [ecx + 0x614]
inc edx
jmp 0x1028b942
mov edx, 0x61
movzx eax, word [esi + 0xb2]
cmp byte [esp + 0x8c], 0
push eax
movzx eax, word [esi + 0xb0]
push eax
push edx
push dword [ecx]
mov ecx, 0x5000
mov eax, 0x2000
cmovne eax, ecx
push ebx
push eax
lea eax, [esp + 0x34]
push eax
call fcn.1028a3c0
add esp, 0x1c
test eax, eax
jne 0x1028ba49
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0xc]
add eax, dword [esi + 0x74]
push eax
push dword [esp + 0x88]
call fcn.100ec046
mov edi, eax
add esp, 8
test edi, edi
jne 0x1028ba49
push dword [esi + 0x78]
push dword [esp + 0x88]
call fcn.100ee8dc
mov edi, eax
add esp, 8
test edi, edi
jne 0x1028ba49
mov eax, dword [esp + 0x84]
push dword [eax + 0x24]
push dword [eax + 0x20]
lea eax, [esp + 0x24]
push eax
call fcn.1028a490
push dword [esp + 0x90]
mov edi, eax
call fcn.100ee918
add esp, 0x10
test edi, edi
jne 0x1028ba49
and byte [ebx], 0xfe
mov eax, dword [ebx + 0x158]
test eax, eax
jns 0x1028ba07
neg eax
mov dword [ebx + 0x158], eax
jmp 0x1028ba13
jne 0x1028ba13
mov dword [ebx + 0x158], 0x3ade68b1
mov eax, dword [ebx + 0xc8]
cmp eax, 0x3e8
jg 0x1028ba24
test eax, eax
jns 0x1028ba2e
mov dword [ebx + 0xc8], 7
mov eax, dword [ebx + 0xcc]
cmp eax, 0x3e8
jg 0x1028ba3f
test eax, eax
jns 0x1028ba49
mov dword [ebx + 0xcc], 1
mov eax, dword [esi + 0x250]
push dword [esp + 0x2c]
mov dword [esi + 0x254], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x258], 0
push dword [eax]
call fcn.100ed897
add esp, 8
test edi, edi
jne 0x1028bb6a
cmp byte [esp + 0x14], 0
jne 0x1028bb10
mov eax, dword [ebp + 0x80]
mov eax, dword [eax + 0x3c]
cmp eax, 0xffffffff
jne 0x1028babb
mov ebx, dword [ebp + 0x60]
mov eax, dword [ebx + 0x44]
mov dword [esi + 0x288], eax
cmp dword [ebx + 0x44], edi
je 0x1028bafb
mov ebp, dword [esp + 0x18]
push dword [ebx + 0x44]
mov eax, dword [ebp + 0x14]
call eax
add esp, 4
mov dword [ebx + 0x44], eax
test eax, eax
js 0x1028baa7
jmp 0x1028bafb
mov dword [esi + 0x288], eax
mov eax, dword [ebp + 0x80]
cmp dword [eax + 0x3c], 0
je 0x1028bafb
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 0x80]
push dword [eax + 0x3c]
mov eax, dword [esi + 0x14]
call eax
mov ecx, dword [ebp + 0x80]
add esp, 4
mov dword [ecx + 0x3c], eax
mov eax, dword [ebp + 0x80]
cmp dword [eax + 0x3c], 0
jl 0x1028bad1
mov esi, dword [esp + 0x70]
cmp dword [esi + 0x288], 0
jne 0x1028bb10
mov eax, dword [esi + 0x214]
mov dword [esi + 0x288], eax
mov ecx, dword [esi + 0x218]
test ecx, ecx
je 0x1028bb6a
mov eax, dword [esi + 0x74]
mov ebp, dword [esp + 0x7c]
add eax, ecx
add eax, dword [esp + 0x80]
push eax
push ebp
call fcn.100ec046
mov edi, eax
add esp, 8
test edi, edi
jne 0x1028bb6a
push dword [esp + 0x14]
lea ebx, [esi + 0x260]
push 1
push ebp
push ebx
call fcn.10289760
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x1028bb6a
push eax
push eax
lea eax, [esi + 0x284]
push eax
push ebx
call fcn.10289530
add esp, 0x10
mov edi, eax
mov eax, dword [esp + 0x44]
push dword [esp + 0x54]
push dword [eax]
call fcn.100ed897
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret