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

Disassembly:
sub esp, 0x58
push ebx
push esi
push edi
push ebp
mov ebp, dword [esp + 0x70]
mov ax, word [ebp + 0xe]
cmp ax, 8
jl 0x10026ed2
mov eax, 0xffffffeb
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x58
ret
mov ecx, dword [ebp + 4]
cmp ecx, 0x10
je 0x10026ef1
cmp ecx, 0x20
je 0x10026ef1
cmp ecx, 0x40
je 0x10026ef1
mov eax, 0xfffffff9
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x58
ret
movsx eax, ax
push eax
push ecx
call fcn.100382f0
mov dword [esp + 0x18], eax
add esp, 8
cmp word [ebp + 0xe], 1
je 0x10026f1d
push 1
mov eax, dword [ebp + 4]
push eax
call fcn.100382f0
mov dword [esp + 0x1c], eax
add esp, 8
jmp 0x10026f25
mov dword [esp + 0x14], 0
mov eax, 1
mov cl, byte [ebp + 4]
mov word [esp + 0x2a], ax
mov ebx, dword [ebp + 8]
mov word [esp + 0x2c], ax
mov byte [esp + 0x2e], cl
mov byte [esp + 0x30], 0x10
mov word [esp + 0x28], 0
cmp word [ebp + 0xe], 4
mov byte [esp + 0x2f], bl
je 0x10026f5a
mov byte [esp + 0x30], 2
xor eax, eax
push ebp
mov word [esp + 0x36], ax
mov byte [esp + 0x35], al
mov word [esp + 0x38], ax
call fcn.10038340
add esp, 4
mov ecx, dword [ebp + 0x14]
imul ebx, dword [esp + 0x14]
add ecx, eax
push 1
add ecx, ebx
lea eax, [esp + 0x2c]
add ecx, dword [ebp]
push eax
mov dword [esp + 0x42], 0x16
mov dword [esp + 0x3e], ecx
call fcn.10038410
lea ecx, [esp + 0x32]
add esp, 8
push 1
push ecx
call fcn.10038410
lea ecx, [esp + 0x34]
add esp, 8
push 1
push ecx
call fcn.10038410
lea ecx, [esp + 0x3a]
add esp, 8
push 1
push ecx
call fcn.10038410
lea ecx, [esp + 0x3c]
add esp, 8
push 1
push ecx
call fcn.10038410
lea ecx, [esp + 0x3e]
add esp, 8
push 1
push ecx
call fcn.10038420
lea ecx, [esp + 0x42]
add esp, 8
push 1
push ecx
call fcn.10038420
lea ecx, [esp + 0x30]
mov ebx, dword [esp + 0x74]
add esp, 8
push 2
push ecx
push ebx
call fcn.100364d0
add esp, 0xc
mov esi, eax
lea eax, [esp + 0x2a]
push 2
push eax
push ebx
call fcn.100364d0
add esp, 0xc
add esi, eax
lea eax, [esp + 0x2c]
push 2
push eax
push ebx
call fcn.100364d0
add esp, 0xc
add esi, eax
lea eax, [esp + 0x2e]
push 1
push eax
push ebx
call fcn.100364d0
add esp, 0xc
add esi, eax
lea eax, [esp + 0x2f]
push 1
push eax
push ebx
call fcn.100364d0
add esp, 0xc
add esi, eax
lea eax, [esp + 0x30]
push 1
push eax
push ebx
call fcn.100364d0
add esp, 0xc
add esi, eax
lea eax, [esp + 0x31]
push 1
push eax
push ebx
call fcn.100364d0
add esp, 0xc
add esi, eax
lea eax, [esp + 0x32]
push 2
push eax
push ebx
call fcn.100364d0
add esp, 0xc
add esi, eax
lea eax, [esp + 0x34]
push 2
push eax
push ebx
call fcn.100364d0
add esp, 0xc
add esi, eax
lea eax, [esp + 0x36]
push 4
push eax
push ebx
call fcn.100364d0
add esp, 0xc
add esi, eax
push 4
lea eax, [esp + 0x3e]
push eax
push ebx
call fcn.100364d0
add esp, 0xc
add eax, esi
cmp eax, 0x16
je 0x100270d3
mov eax, 0xfffffff7
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x58
ret
push ebp
mov esi, ebp
call fcn.10038340
lea edi, [esp + 0x44]
add esp, 4
mov eax, dword [ebp]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cx, word [ebp + 0xe]
mov eax, dword [ebp + 4]
cmp cx, 1
mov dword [esp + 0x44], eax
je 0x10027108
add eax, eax
jmp 0x1002710b
mov eax, dword [ebp + 8]
mov dword [esp + 0x40], 0x28
xor edx, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], edx
add eax, dword [esp + 0x10]
mov dword [esp + 0x58], edx
imul eax, dword [ebp + 8]
mov word [esp + 0x4c], 1
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], edx
mov eax, 1
mov dword [esp + 0x64], edx
shl eax, cl
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x10027182
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x10027182
fild dword [ebp + 0x18]
fmul qword [0x1004c1b0]
call fcn.1003d4e8
mov dword [esp + 0x58], eax
mov dword [esp + 0x18], esi
fild dword [esp + 0x18]
fmul qword [0x1004c1b0]
call fcn.1003d4e8
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x4c]
push 1
push eax
call fcn.10038410
lea eax, [esp + 0x56]
add esp, 8
push 1
push eax
call fcn.10038410
lea eax, [esp + 0x48]
add esp, 8
push 1
push eax
call fcn.10038420
lea eax, [esp + 0x4c]
add esp, 8
push 1
push eax
call fcn.10038420
lea eax, [esp + 0x50]
add esp, 8
push 1
push eax
call fcn.10038420
lea eax, [esp + 0x58]
add esp, 8
push 1
push eax
call fcn.10038420
lea eax, [esp + 0x5c]
add esp, 8
push 1
push eax
call fcn.10038420
lea eax, [esp + 0x60]
add esp, 8
push 1
push eax
call fcn.10038420
lea eax, [esp + 0x64]
add esp, 8
push 1
push eax
call fcn.10038420
lea eax, [esp + 0x68]
add esp, 8
push 1
push eax
call fcn.10038420
lea eax, [esp + 0x6c]
add esp, 8
push 1
push eax
call fcn.10038420
lea ecx, [esp + 0x48]
add esp, 8
mov eax, dword [ebp]
push eax
push ecx
push ebx
call fcn.100364d0
add esp, 0xc
mov esi, dword [ebp]
cmp eax, esi
je 0x1002724d
mov eax, 0xfffffff7
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x58
ret
push ebp
call fcn.10038340
add esp, 4
push eax
lea eax, [esi + ebp]
push eax
push ebx
call fcn.100364d0
add esp, 0xc
mov esi, eax
push ebp
call fcn.10038340
add esp, 4
cmp eax, esi
je 0x10027280
mov eax, 0xfffffff7
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x58
ret
mov eax, dword [esp + 0x10]
add eax, 0xa
push eax
call fcn.100365b0
add esp, 4
mov esi, eax
test esi, esi
jne 0x100272a3
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x58
ret
xor edi, edi
cmp dword [ebp + 8], edi
jle 0x100272e9
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x78]
push eax
mov eax, dword [ebp + 8]
sub eax, edi
dec eax
push eax
push esi
push ecx
call dword [esp + 0x84]
mov dword [esp + 0x28], eax
add esp, 0x10
test eax, eax
jl 0x1002733b
mov eax, dword [esp + 0x10]
push eax
push esi
push ebx
call fcn.100364d0
add esp, 0xc
cmp eax, dword [esp + 0x10]
jne 0x10027350
inc edi
cmp dword [ebp + 8], edi
jg 0x100272aa
cmp word [ebp + 0xe], 1
je 0x10027328
lea ecx, [esp + 0x1c]
mov eax, 0xffffffff
xor edi, edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
cmp dword [ebp + 8], edi
mov word [ecx + 8], ax
jle 0x10027328
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push ecx
push ebx
call fcn.100364d0
add esp, 0xc
cmp eax, dword [esp + 0x14]
jne 0x1002735d
inc edi
cmp dword [ebp + 8], edi
jg 0x10027309
push esi
call fcn.10036640
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x58
ret
push esi
call fcn.10036640
mov eax, dword [esp + 0x1c]
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x58
ret
mov eax, 0xfffffff7
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x58
ret
push esi
call fcn.10036640
add esp, 4
mov eax, 0xfffffff7
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x58
ret