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

Disassembly:
sub esp, 0x4c
push ebx
push ebp
mov ebp, dword [esp + 0x64]
push esi
xor esi, esi
push edi
push ebp
mov dword [esp + 0x30], esi
mov ebx, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
call fcn.027afca0
pop ecx
test eax, eax
jne 0x27b029f
push 0x392
push 0x288ca30
push 0x68
jmp 0x27b068a
cmp dword [ebp + 0xc], esi
je 0x27b02b5
push 0x396
push 0x288ca30
push 0x6d
jmp 0x27b068a
mov eax, dword [esp + 0x64]
cmp dword [eax + 0xc], esi
jne 0x27b067e
push ebp
push eax
call fcn.027b1c7d
pop ecx
pop ecx
test eax, eax
jns 0x27b067e
mov edi, dword [esp + 0x68]
mov edi, dword [edi + 4]
shl edi, 5
test edi, edi
jne 0x27b0311
xor ebx, ebx
inc ebx
push ebx
push ebp
call fcn.027af299
pop ecx
pop ecx
test eax, eax
je 0x27b0302
mov eax, dword [esp + 0x60]
mov dword [eax + 0xc], esi
mov dword [eax + 4], esi
mov eax, ebx
jmp 0x27b0697
push dword [esp + 0x60]
call fcn.027b1377
pop ecx
jmp 0x27b0697
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x27b0335
push dword [esp + 0x70]
push ebp
call fcn.027af0dd
mov dword [esp + 0x34], eax
pop ecx
pop ecx
test eax, eax
je 0x27b0651
mov dword [esp + 0x74], eax
mov edx, dword [eax + 0x18]
xor eax, eax
inc eax
mov dword [esp + 0x10], edx
push 3
pop ecx
mov dword [esp + 0x18], ecx
cmp edi, 0x16
mov ebp, eax
cmovg ebp, ecx
cmp edi, 0x59
push 4
pop ecx
cmovg ebp, ecx
cmp edi, 0x132
push 5
pop ecx
cmovg ebp, ecx
cmp edi, 0x3a9
push 6
pop ecx
cmovg ebp, ecx
mov ecx, ebp
mov dword [esp + 0x28], ebp
shl eax, cl
mov dword [esp + 0x14], eax
lea eax, [edx + edx]
mov ecx, dword [esp + 0x14]
mov ebp, ecx
imul ebp, edx
cmp eax, ecx
cmovg ecx, eax
add ecx, ebp
mov dword [esp + 0x24], ebp
shl ecx, 2
mov dword [esp + 0x1c], ecx
lea eax, [ecx + 0x40]
push eax
call fcn.027d131b
mov ebp, dword [esp + 0x2c]
pop ecx
mov ecx, eax
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x27b0651
and eax, 0x3f
mov ebx, ecx
sub ebx, eax
mov eax, dword [esp + 0x1c]
add ebx, 0x40
mov dword [esp + 0x30], ebx
test eax, eax
je 0x27b03d6
push eax
push esi
push ebx
call fcn.02809ce0
add esp, 0xc
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push 2
mov dword [esp + 0x50], esi
lea eax, [ebx + edx*4]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], eax
lea eax, [edx + ecx]
lea eax, [ebx + eax*4]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x4c], eax
pop eax
push dword [esp + 0x70]
mov dword [esp + 0x5c], eax
push dword [esp + 0x78]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x60], esi
mov dword [esp + 0x4c], esi
call fcn.027bd815
add esp, 0xc
test eax, eax
je 0x27b0651
mov eax, dword [esp + 0x64]
cmp dword [eax + 0xc], esi
je 0x27b0453
push 0x401
push 0x288cab0
push 0x288cc78
call fcn.02810043
mov eax, dword [esp + 0x70]
add esp, 0xc
push dword [esp + 0x6c]
push eax
call fcn.027b1c7d
pop ecx
pop ecx
test eax, eax
js 0x27b047a
push 0x402
push 0x288cab0
push 0x288cc88
call fcn.02810043
add esp, 0xc
push dword [esp + 0x70]
lea eax, [esp + 0x4c]
push dword [esp + 0x78]
push dword [esp + 0x6c]
push eax
call fcn.027b1c3a
add esp, 0x10
test eax, eax
je 0x27b0651
push ebp
push esi
push ebx
push dword [esp + 0x1c]
lea eax, [esp + 0x44]
push eax
call fcn.027bf228
push ebp
push 1
push ebx
push dword [esp + 0x30]
lea eax, [esp + 0x6c]
push eax
call fcn.027bf228
add esp, 0x28
cmp ebp, 1
jbe 0x27b0556
push dword [esp + 0x70]
lea eax, [esp + 0x4c]
push dword [esp + 0x78]
push eax
push eax
lea eax, [esp + 0x44]
push eax
call fcn.027b0ac9
add esp, 0x14
test eax, eax
je 0x27b0651
push ebp
push 2
push ebx
push dword [esp + 0x1c]
lea eax, [esp + 0x44]
push eax
call fcn.027bf228
add esp, 0x14
cmp dword [esp + 0x14], 3
jle 0x27b0556
push dword [esp + 0x70]
lea eax, [esp + 0x38]
push dword [esp + 0x78]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.027b0ac9
add esp, 0x14
test eax, eax
je 0x27b0651
push ebp
push dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push ebx
push dword [esp + 0x1c]
push eax
call fcn.027bf228
mov eax, dword [esp + 0x2c]
add esp, 0x14
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x14]
jl 0x27b0509
dec edi
mov ecx, esi
mov eax, edi
cdq
idiv ebp
mov dword [esp + 0x24], edx
test edx, edx
js 0x27b0592
mov ebx, dword [esp + 0x68]
mov esi, edx
mov ebp, ecx
push edi
push ebx
call fcn.027afc73
pop ecx
dec edi
sub esi, 1
pop ecx
lea ebp, [eax + ebp*2]
jns 0x27b056e
mov ebx, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
push ebp
push ecx
push ebx
push dword [esp + 0x1c]
lea eax, [esp + 0x44]
push eax
call fcn.027bf184
jmp 0x27b0621
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
push dword [esp + 0x70]
lea eax, [esp + 0x38]
push dword [esp + 0x78]
push eax
push eax
push eax
call fcn.027b0ac9
add esp, 0x14
test eax, eax
je 0x27b0651
push edi
push dword [esp + 0x6c]
call fcn.027afc73
pop ecx
pop ecx
mov ecx, dword [esp + 0x28]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x28], ecx
dec edi
mov dword [esp + 0x24], eax
cmp eax, ebp
jl 0x27b05ad
push ebp
push ecx
push ebx
push dword [esp + 0x1c]
lea eax, [esp + 0x58]
push eax
call fcn.027bf184
add esp, 0x14
test eax, eax
je 0x27b0651
push dword [esp + 0x70]
lea eax, [esp + 0x4c]
push dword [esp + 0x78]
push eax
lea eax, [esp + 0x40]
push eax
push eax
call fcn.027b0ac9
add esp, 0x14
test eax, eax
je 0x27b0651
test edi, edi
jns 0x27b05a5
push dword [esp + 0x70]
lea eax, [esp + 0x38]
push dword [esp + 0x78]
push eax
push dword [esp + 0x6c]
call fcn.027afb8e
add esp, 0x10
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [esp + 0x2c]
call fcn.027af089
mov edi, dword [esp + 0x24]
pop ecx
test ebx, ebx
je 0x27b0673
test edi, edi
jne 0x27b0673
push dword [esp + 0x1c]
push ebx
call fcn.027d12e2
pop ecx
pop ecx
push edi
call fcn.027d12f8
pop ecx
mov eax, esi
jmp 0x27b0697
push 0x39a
push 0x288ca30
push 0x6b
push esi
push 3
call fcn.027cddb0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret