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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
cmp eax, 1
push ebx
push ebp
push esi
push edi
mov esi, ecx
jl 0x10025a2b
cmp eax, 8
jg 0x10025a2b
cmp dword [esp + 0x34], 2
jl 0x10025a2b
call fcn.100255a8
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
test ebp, ebp
jg 0x100259db
test ecx, ecx
jle 0x10025a2b
mov edi, dword [esp + 0x38]
test edi, edi
je 0x10025a37
cmp dword [edi], 0
jge 0x100259ee
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
jge 0x100259fc
mov dword [edi + 4], 0
cmp dword [edi + 8], ebp
jle 0x10025a04
mov dword [edi + 8], ebp
cmp dword [edi + 0xc], ecx
jle 0x10025a0c
mov dword [edi + 0xc], ecx
mov ebp, dword [edi + 8]
mov ebx, dword [edi]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 4]
sub ebp, ebx
sub ecx, edx
test ebp, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x38], ecx
jle 0x10025a2b
test ecx, ecx
jg 0x10025a3f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 0x18
mov dword [esp + 0x10], ebp
mov dword [esp + 0x38], ecx
lea eax, [ebp*4]
lea ebx, [esi + 0x58]
mov dword [esp + 0x14], eax
imul eax, ecx
push eax
mov ecx, ebx
mov dword [esp + 0x1c], eax
call fcn.1000c9d8
test eax, eax
je 0x10025a2b
mov ecx, dword [ebx + 0x10]
mov eax, dword [esi + 0x68]
test ecx, ecx
jne 0x10025a6e
xor ebx, ebx
jmp 0x10025a71
mov ebx, dword [ebx + 8]
push eax
push ebx
call fcn.1000d3b8
mov eax, dword [esp + 0x3c]
add esp, 8
mov dword [esi + 0x8c], eax
lea ebx, [esi + 0x78]
shl eax, 2
push eax
mov ecx, ebx
mov dword [esp + 0x38], eax
call fcn.1000c9d8
test eax, eax
je 0x10025a2b
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x70], ecx
mov dword [esi + 0x6c], eax
mov dword [esi + 0x74], edx
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x10025abb
xor ebx, ebx
jmp 0x10025abe
mov ebx, dword [ebx + 8]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push ebx
call fcn.1000d358
add esp, 0xc
lea eax, [esi + 0x90]
test edi, edi
je 0x10025ae5
push edi
push eax
call dword [0x1006e5ec]
jmp 0x10025af8
mov edx, dword [esi + 0x74]
mov ecx, dword [esi + 0x70]
push edx
push ecx
push 0
push 0
push eax
call dword [0x1006e458]
mov eax, dword [esi + 0x68]
test eax, eax
jne 0x10025b09
mov dword [esp + 0x24], 0
jmp 0x10025b10
mov edx, dword [esi + 0x60]
mov dword [esp + 0x24], edx
mov edi, dword [esi + 0x98]
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 0x9c]
sub eax, edi
mov ebx, eax
mov eax, dword [esp + 0x2c]
sub eax, edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x6c]
dec eax
cmp eax, 7
ja 0x10026013
jmp dword [eax*4 + 0x10025cac]
xor byte [ebx - 0x72cbdbac], cl
dec edi
call dword [ebp + 0x51]
push edi
push edx
push ebx
mov ecx, esi
call fcn.10026048
mov eax, dword [esp + 0x30]
inc ebx
add ebp, 4
add edi, 4
dec eax
add dword [ecx], eax
add al, 0
dec esp
push esi
inc ecx
dec esp
add byte [eax], al
add byte [eax], al
add dword [eax], eax
adc al, 0
add byte [eax], al
add byte [eax], al
add byte [edi + 0x44890001], dh
and al, 0x30
jne 0x10025fe1
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
shl eax, 2
loopne 0x10026017
add edx, eax
mov eax, dword [esp + 0x28]
inc ecx
dec eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], eax
jne 0x10025fc8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret 0x18