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

Disassembly:
sub esp, 0x8ac
mov eax, dword [0x1032e6c0]
xor eax, esp
mov dword [esp + 0x8a8], eax
mov eax, dword [esp + 0x8cc]
push ebx
mov ebx, dword [esp + 0x8b4]
push ebp
mov dword [esp + 0x28], ebx
xor ebp, ebp
mov ebx, dword [esp + 0x8bc]
push esi
xor esi, esi
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x8c4]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x80], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x30], esi
cmp ebx, 3
jl 0x10257a4b
test eax, eax
je 0x10257a4b
push edi
cmp ebx, 0x100
jge 0x10256b38
lea ebx, [esp + 0xb0]
mov dword [esp + 0x10], ebx
lea ebp, [esp + 0x4b4]
jmp 0x10256b6e
lea edi, [ebx*4 + 4]
push edi
call fcn.1026cf9e
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x10256b61
push edi
call fcn.1026cf9e
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x10256b6e
push str.plP_plfclp:_Insufficient_memory
call fcn.1024aad0
add esp, 4
push dword [esp + 0x8d4]
mov edi, dword [esp + 0x8d0]
push edi
push dword [esp + 0x28]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.102568c0
xor ecx, ecx
mov dword [esp + 0x50], eax
test eax, eax
sete cl
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x8ec]
push ecx
push edi
push dword [esp + 0x3c]
push dword [esp + 0x50]
push dword [esp + 0x50]
call fcn.102568c0
push dword [esp + 0x8fc]
xor ecx, ecx
mov dword [esp + 0x98], eax
push dword [esp + 0x8fc]
test eax, eax
push dword [esp + 0x50]
sete cl
push dword [esp + 0x64]
mov dword [esp + 0xb4], ecx
push dword [esp + 0x64]
call fcn.102568c0
push dword [esp + 0x914]
xor ecx, ecx
mov dword [esp + 0x84], eax
push dword [esp + 0x910]
test eax, eax
push dword [esp + 0x64]
sete cl
push dword [esp + 0x78]
mov dword [esp + 0xd8], ecx
push dword [esp + 0x78]
call fcn.102568c0
mov edx, dword [esp + 0x7c]
add esp, 0x50
neg eax
sbb eax, eax
xor ecx, ecx
inc eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x88], eax
lea eax, [edx - 1]
test eax, eax
jle 0x102571b3
nop word [eax + eax]
mov eax, dword [esp + 0x30]
mov edx, dword [eax + ecx*4]
mov eax, dword [eax + ecx*4 + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], edx
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + ecx*4 + 4]
mov ecx, dword [esp + 0x8d0]
mov dword [esp + 0x48], eax
cmp edx, edi
jg 0x10256c9d
cmp edx, ecx
jge 0x10256ca5
cmp edx, edi
jl 0x10256dc4
cmp edx, ecx
jg 0x10256dc4
mov ecx, dword [esp + 0x8d4]
mov edx, dword [esp + 0x8d8]
cmp dword [esp + 0x1c], ecx
jg 0x10256cc9
cmp dword [esp + 0x1c], edx
jge 0x10256cd3
cmp dword [esp + 0x1c], ecx
jl 0x10256dcb
cmp dword [esp + 0x1c], edx
jg 0x10256dcb
cmp dword [esp + 0x28], edi
jg 0x10256cf4
mov ebx, dword [esp + 0x28]
cmp ebx, dword [esp + 0x8d0]
mov ebx, dword [esp + 0x10]
jge 0x10256d09
cmp dword [esp + 0x28], edi
jl 0x10256dcb
mov ebx, dword [esp + 0x28]
cmp ebx, dword [esp + 0x8d0]
mov ebx, dword [esp + 0x10]
jg 0x10256dcb
cmp eax, ecx
jg 0x10256d19
cmp eax, edx
jge 0x10256d21
cmp eax, ecx
jl 0x10256dcb
cmp eax, edx
jg 0x10256dcb
mov eax, dword [esp + 0x78]
xor ebx, ebx
cmp eax, edi
sete bl
mov dword [esp + 0x68], ebx
xor ebx, ebx
cmp eax, dword [esp + 0x8d0]
sete bl
mov dword [esp + 0x70], ebx
xor ebx, ebx
cmp dword [esp + 0x1c], ecx
sete bl
mov dword [esp + 0x60], ebx
xor ebx, ebx
cmp dword [esp + 0x1c], edx
sete bl
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x10]
jne 0x10256d74
cmp dword [esp + 0x68], 0
mov dword [esp + 0x4c], 0
je 0x10256d7c
mov dword [esp + 0x4c], 1
cmp dword [esp + 0x34], 0
jne 0x10256d92
cmp dword [esp + 0x70], 0
mov dword [esp + 0x34], 0
je 0x10256d9a
mov dword [esp + 0x34], 1
cmp dword [esp + 0x38], 0
mov edi, dword [esp + 0x8cc]
jne 0x10256e32
cmp dword [esp + 0x60], 0
jne 0x10256e32
mov ecx, dword [esp + 0x8d4]
mov dword [esp + 0x38], 0
jmp 0x10256e41
mov ecx, dword [esp + 0x8d4]
push dword [esp + 0x8d8]
lea eax, [esp + 0x4c]
push ecx
push dword [esp + 0x8d8]
push edi
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.10255dc0
add esp, 0x20
neg eax
sbb eax, eax
add eax, 1
je 0x1025719b
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x8d8]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x8d4]
mov dword [esp + 0x78], eax
jmp 0x10256d25
mov edx, dword [esp + 0x8d8]
mov dword [esp + 0x38], 1
cmp dword [esp + 0x24], 0
jne 0x10256e57
cmp dword [esp + 0x64], 0
mov dword [esp + 0x24], 0
je 0x10256e5f
mov dword [esp + 0x24], 1
test esi, esi
jne 0x10256e75
mov word [ebx + esi*2], ax
movzx eax, word [esp + 0x50]
mov word [ebp], ax
jmp 0x10257143
movsx eax, word [ebx + esi*2 - 2]
cmp dword [esp + 0x78], eax
jne 0x10256ea3
movsx eax, word [ebp + esi*2 - 2]
cmp dword [esp + 0x1c], eax
jne 0x10256ea3
mov eax, dword [esp + 0x28]
mov word [ebx + esi*2], ax
mov ax, word [esp + 0x48]
mov word [ebp + esi*2], ax
inc esi
jmp 0x1025715a
cmp dword [esp + 0x14], 0
mov eax, dword [esp + 0x28]
mov word [ebx + esi*2 + 2], ax
movzx eax, word [esp + 0x48]
mov word [ebp + esi*2 + 2], ax
movzx eax, word [esp + 0x74]
mov word [ebx + esi*2 + 4], ax
movzx eax, word [esp + 0x50]
mov word [ebp + esi*2 + 4], ax
je 0x10256edc
cmp dword [esp + 0x70], 0
jne 0x10256f6f
mov eax, dword [esp + 0x68]
test eax, eax
je 0x10256eef
cmp dword [esp + 0x58], 0
jne 0x10256f73
cmp dword [esp + 0x14], 0
je 0x10256efd
cmp dword [esp + 0x70], 0
jne 0x10256f10
test eax, eax
je 0x10256fdb
cmp dword [esp + 0x58], 0
je 0x10256fdb
cmp dword [esp + 0x3c], 0
jne 0x10256fdb
mov eax, dword [esp + 0x8d0]
cmp dword [esp + 0x14], 0
movzx ebx, ax
movzx edx, di
mov eax, ebx
movzx edi, cx
mov ecx, edx
cmove ecx, eax
mov eax, dword [esp + 0x10]
mov word [eax + esi*2], cx
mov ecx, ebx
mov ebx, dword [esp + 0x10]
mov eax, edx
mov edx, dword [esp + 0x8d8]
cmove ecx, eax
mov word [ebp + esi*2], di
mov word [ebx + esi*2 + 2], cx
mov word [ebp + esi*2 + 2], di
add esi, 2
mov edi, dword [esp + 0x8cc]
jmp 0x10257130
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x6c], 0
jne 0x10256eef
mov eax, dword [esp + 0x8d0]
cmp dword [esp + 0x14], 0
movzx edx, ax
mov eax, dword [esp + 0x8d8]
movzx ebx, ax
mov eax, edx
movzx edi, di
mov ecx, edi
cmove ecx, eax
mov eax, dword [esp + 0x10]
mov word [eax + esi*2], cx
mov eax, edi
mov edi, dword [esp + 0x8cc]
mov ecx, edx
mov edx, dword [esp + 0x8d8]
cmove ecx, eax
mov eax, dword [esp + 0x10]
mov word [ebp + esi*2], bx
mov word [eax + esi*2 + 2], cx
mov word [ebp + esi*2 + 2], bx
mov ebx, eax
add esi, 2
jmp 0x10257130
cmp dword [esp + 0x18], 0
je 0x10256fed
cmp dword [esp + 0x64], 0
jne 0x10257074
mov eax, dword [esp + 0x60]
test eax, eax
je 0x10256ffc
cmp dword [esp + 0x5c], 0
jne 0x10257078
cmp dword [esp + 0x18], 0
je 0x1025700a
cmp dword [esp + 0x64], 0
jne 0x10257015
test eax, eax
je 0x1025708c
cmp dword [esp + 0x5c], 0
je 0x1025708c
cmp dword [esp + 0x44], 0
jne 0x1025708c
mov eax, dword [esp + 0x8d0]
cmp dword [esp + 0x18], 0
movzx edi, dx
movzx edx, ax
mov eax, dword [esp + 0x10]
movzx ebx, cx
mov ecx, ebx
mov word [eax + esi*2], dx
mov eax, edi
cmove ecx, eax
mov eax, dword [esp + 0x10]
mov word [ebp + esi*2], cx
mov ecx, edi
mov edi, dword [esp + 0x8cc]
mov word [eax + esi*2 + 2], dx
mov eax, ebx
mov ebx, dword [esp + 0x10]
cmove ecx, eax
mov edx, dword [esp + 0x8d8]
mov word [ebp + esi*2 + 2], cx
add esi, 2
jmp 0x10257130
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x3c], 0
jne 0x10256ffc
mov eax, dword [esp + 0x8cc]
jmp 0x10257023
cmp dword [esp + 0x14], 0
je 0x10257097
test eax, eax
jne 0x102570a5
cmp dword [esp + 0x18], 0
je 0x102570b6
cmp dword [esp + 0x68], 0
je 0x102570b6
movzx eax, di
mov word [ebx + esi*2], ax
movzx eax, cx
mov word [ebp + esi*2], ax
jmp 0x1025712f
cmp dword [esp + 0x58], 0
je 0x102570c1
test eax, eax
jne 0x102570cf
cmp dword [esp + 0x18], 0
je 0x102570e4
cmp dword [esp + 0x70], 0
je 0x102570e4
mov eax, dword [esp + 0x8d0]
mov word [ebx + esi*2], ax
movzx eax, cx
mov word [ebp + esi*2], ax
jmp 0x1025712f
cmp dword [esp + 0x14], 0
mov eax, dword [esp + 0x64]
je 0x102570f3
test eax, eax
jne 0x10257101
cmp dword [esp + 0x5c], 0
je 0x10257106
cmp dword [esp + 0x68], 0
je 0x10257106
movzx eax, di
jmp 0x10257126
cmp dword [esp + 0x58], 0
je 0x10257111
test eax, eax
jne 0x1025711f
cmp dword [esp + 0x5c], 0
je 0x10257130
cmp dword [esp + 0x70], 0
je 0x10257130
mov eax, dword [esp + 0x8d0]
mov word [ebx + esi*2], ax
mov word [ebp + esi*2], dx
inc esi
movzx eax, word [esp + 0x74]
mov word [ebx + esi*2], ax
movzx eax, word [esp + 0x50]
mov word [ebp + esi*2], ax
movzx eax, word [esp + 0x54]
mov word [ebx + esi*2 + 2], ax
movzx eax, word [esp + 0x48]
mov word [ebp + esi*2 + 2], ax
add esi, 2
mov eax, dword [esp + 0x54]
xor ecx, ecx
cmp eax, edi
sete cl
mov dword [esp + 0x14], ecx
xor ecx, ecx
cmp eax, dword [esp + 0x8d0]
mov eax, dword [esp + 0x48]
sete cl
cmp eax, dword [esp + 0x8d4]
mov dword [esp + 0x58], ecx
mov ecx, 0
sete cl
mov dword [esp + 0x18], ecx
xor ecx, ecx
cmp eax, edx
sete cl
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x40], ecx
lea eax, [edx - 1]
cmp ecx, eax
jl 0x10256c50
test esi, esi
jne 0x10257210
cmp dword [esp + 0x3c], esi
jne 0x102577df
mov eax, dword [esp + 0x8d4]
movzx ecx, ax
mov eax, dword [esp + 0x8d0]
movzx edx, di
mov word [ebx], dx
movzx eax, ax
mov word [ebp], cx
mov word [ebx + 2], ax
mov word [ebp + 2], cx
mov word [ebx + 4], ax
mov eax, dword [esp + 0x8d8]
movzx eax, ax
mov word [ebp + 4], ax
mov word [ebx + 6], dx
mov word [ebp + 6], ax
mov word [ebx + 8], dx
mov word [ebp + 8], cx
push 5
jmp 0x10257a24
cmp esi, 2
jl 0x102577df
push edx
push dword [esp + 0x24]
push dword [esp + 0x38]
call fcn.10256450
movzx ecx, di
mov edx, eax
movzx eax, word [ebx]
mov edi, ecx
mov dword [esp + 0x50], edi
add esp, 0xc
mov edi, dword [esp + 0x8d0]
cmp ax, cx
movzx edi, di
mov dword [esp + 0x6c], eax
mov eax, edi
jne 0x1025728c
cmp word [ebx + esi*2 - 2], di
jne 0x1025728c
mov eax, dword [esp + 0x8d8]
test edx, edx
movzx ecx, ax
mov eax, dword [esp + 0x8d4]
movzx eax, ax
cmovle ecx, eax
mov word [ebx + esi*2], di
mov eax, dword [esp + 0x44]
mov word [ebp + esi*2], cx
mov word [ebx + esi*2 + 2], ax
mov word [ebp + esi*2 + 2], cx
add esi, 2
jmp 0x102577df
cmp word [esp + 0x6c], ax
jne 0x102572da
cmp word [ebx + esi*2 - 2], cx
jne 0x102572da
mov eax, dword [esp + 0x8d4]
test edx, edx
mov edx, dword [esp + 0x8cc]
movzx ecx, ax
mov eax, dword [esp + 0x8d8]
movzx eax, ax
cmovle ecx, eax
movzx eax, dx
mov word [ebx + esi*2], ax
mov eax, edi
mov word [ebp + esi*2], cx
mov word [ebx + esi*2 + 2], ax
mov word [ebp + esi*2 + 2], cx
add esi, 2
jmp 0x102577df
movzx ecx, word [ebp]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x8d4]
movzx edi, cx
mov ecx, edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x8d8]
movzx ecx, cx
cmp word [esp + 0x44], di
jne 0x1025735a
lea ebx, [esi + esi]
mov dword [esp + 0x6c], ebx
add ebx, ebp
mov dword [esp + 0x44], ebx
mov ebx, ecx
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x44]
cmp word [ebx - 2], cx
mov ebx, dword [esp + 0x10]
jne 0x10257362
mov edi, dword [esp + 0x6c]
test edx, edx
jle 0x10257337
mov eax, dword [esp + 0x8cc]
movzx eax, ax
lea edx, [edi + ebp]
mov word [edi + ebx], ax
add esi, 2
mov word [edx], cx
mov word [ebx + edi + 2], ax
mov eax, dword [esp + 0x40]
mov word [edi + ebp + 2], ax
jmp 0x102577df
mov eax, ecx
mov dword [esp + 0x3c], eax
jmp 0x10257366
mov eax, dword [esp + 0x3c]
movzx ecx, word [ebp]
cmp cx, ax
jne 0x102573ae
cmp word [ebp + esi*2 - 2], di
jne 0x102573ae
mov eax, dword [esp + 0x8d0]
test edx, edx
movzx ecx, ax
mov eax, dword [esp + 0x8cc]
movzx eax, ax
cmovle ecx, eax
mov eax, dword [esp + 0x3c]
mov word [ebx + esi*2], cx
mov word [ebp + esi*2], di
mov word [ebx + esi*2 + 2], cx
mov word [ebp + esi*2 + 2], ax
add esi, 2
jmp 0x102577df
mov edi, dword [esp + 0x8cc]
cmp word [ebx], di
jne 0x102573cc
mov eax, dword [esp + 0x60]
lea ecx, [esi + esi]
cmp word [ecx + ebp - 2], ax
jne 0x102573cc
test edx, edx
js 0x102573f1
mov eax, dword [esp + 0x8d4]
mov edi, dword [esp + 0x8cc]
cmp word [ebp], ax
jne 0x1025740c
lea ecx, [esi + esi]
movzx eax, di
cmp word [ecx + ebx - 2], ax
jne 0x1025740c
test edx, edx
jle 0x1025740c
movzx eax, di
inc esi
mov word [ecx + ebx], ax
mov eax, dword [esp + 0x8d4]
movzx eax, ax
mov word [ecx + ebp], ax
jmp 0x102577df
cmp word [ebx], di
jne 0x10257463
mov eax, dword [esp + 0x8d4]
movzx eax, ax
cmp word [ebp + esi*2 - 2], ax
jne 0x10257463
test edx, edx
jle 0x10257463
mov eax, dword [esp + 0x8d4]
mov edx, dword [esp + 0x8d0]
mov ecx, dword [esp + 0x8d8]
mov word [ebx + esi*2], dx
movzx eax, ax
mov word [ebp + esi*2], ax
mov word [ebx + esi*2 + 2], dx
mov word [ebp + esi*2 + 2], cx
movzx eax, di
mov word [ebx + esi*2 + 4], ax
mov word [ebp + esi*2 + 4], cx
jmp 0x102577dc
movzx edi, word [ebp]
movzx ecx, word [ebx]
movsx eax, di
cmp eax, dword [esp + 0x8d4]
jne 0x102574c7
movsx eax, word [ebx + esi*2 - 2]
cmp eax, dword [esp + 0x8cc]
jne 0x102574c7
test edx, edx
jns 0x102574c7
mov eax, dword [esp + 0x8cc]
mov edx, dword [esp + 0x8d8]
movzx eax, ax
mov word [ebx + esi*2], ax
mov eax, dword [esp + 0x8d0]
mov word [ebp + esi*2], dx
mov word [ebx + esi*2 + 2], ax
mov word [ebp + esi*2 + 2], dx
mov word [ebx + esi*2 + 4], ax
mov eax, dword [esp + 0x8d4]
movzx eax, ax
jmp 0x102577d7
cmp cx, word [esp + 0x8d0]
jne 0x102574e9
mov eax, dword [esp + 0x8d4]
lea ecx, [esi + esi]
movzx eax, ax
cmp word [ecx + ebp - 2], ax
jne 0x102574e9
test edx, edx
jg 0x10257563
mov eax, dword [esp + 0x8d4]
movzx eax, ax
cmp di, ax
jne 0x1025750d
mov eax, dword [esp + 0x8d0]
lea ecx, [esi + esi]
cmp word [ecx + ebx - 2], ax
jne 0x1025750d
test edx, edx
js 0x1025756a
mov edi, dword [esp + 0x8d4]
movzx eax, di
cmp word [ebp], ax
mov eax, dword [esp + 0x8d0]
jne 0x10257582
cmp word [ebx + esi*2 - 2], ax
jne 0x10257582
test edx, edx
jle 0x10257582
mov ecx, dword [esp + 0x8cc]
mov edx, dword [esp + 0x8d8]
mov word [ebx + esi*2], ax
mov word [ebp + esi*2], dx
movzx eax, cx
mov word [ebx + esi*2 + 2], ax
movzx eax, cx
mov word [ebp + esi*2 + 2], dx
mov word [ebx + esi*2 + 4], ax
movzx eax, di
jmp 0x102577d7
mov eax, dword [esp + 0x8d0]
mov word [ecx + ebx], ax
inc esi
mov eax, dword [esp + 0x8d4]
movzx eax, ax
mov word [ecx + ebp], ax
jmp 0x102577df
cmp word [ebx], ax
jne 0x102575e5
movzx eax, di
cmp word [ebp + esi*2 - 2], ax
jne 0x102575d0
test edx, edx
jns 0x102575d0
mov ecx, dword [esp + 0x8cc]
movzx eax, cx
mov word [ebx + esi*2], ax
movzx eax, di
mov word [ebp + esi*2], ax
movzx eax, cx
mov ecx, dword [esp + 0x8d0]
mov word [ebx + esi*2 + 2], ax
mov eax, dword [esp + 0x8d8]
mov word [ebp + esi*2 + 2], ax
mov word [ebx + esi*2 + 4], cx
jmp 0x102577d7
mov ecx, dword [esp + 0x8d8]
lea eax, [esi + esi]
cmp word [eax + ebp - 2], cx
jne 0x102575e5
test edx, edx
js 0x10257611
movzx ecx, word [ebp]
mov eax, dword [esp + 0x8d8]
cmp cx, ax
jne 0x1025762d
mov edi, dword [esp + 0x8d0]
lea eax, [esi + esi]
cmp word [eax + ebx - 2], di
jne 0x10257626
test edx, edx
jle 0x10257626
mov ecx, dword [esp + 0x8d8]
mov edx, dword [esp + 0x8d0]
inc esi
mov word [eax + ebx], dx
mov word [eax + ebp], cx
jmp 0x102577df
mov eax, dword [esp + 0x8d8]
movzx edi, word [ebx]
mov ebx, dword [esp + 0x10]
cmp di, word [esp + 0x8d0]
jne 0x1025768e
cmp word [ebp + esi*2 - 2], ax
jne 0x1025768e
test edx, edx
jle 0x1025768e
mov ecx, dword [esp + 0x8cc]
mov edi, dword [esp + 0x8d4]
movzx eax, cx
mov word [ebx + esi*2], ax
mov eax, dword [esp + 0x8d8]
mov word [ebp + esi*2], ax
movzx eax, cx
mov word [ebx + esi*2 + 2], ax
movzx eax, di
mov word [ebp + esi*2 + 2], ax
mov eax, dword [esp + 0x8d0]
mov word [ebx + esi*2 + 4], ax
movzx eax, di
jmp 0x102577d7
cmp cx, ax
jne 0x102576e3
mov eax, dword [esp + 0x8d0]
cmp word [ebx + esi*2 - 2], ax
jne 0x102576e3
test edx, edx
jns 0x102576e3
mov edx, dword [esp + 0x8d4]
mov ecx, dword [esp + 0x8cc]
mov word [ebx + esi*2], ax
movzx eax, dx
mov word [ebp + esi*2], ax
movzx eax, cx
mov word [ebx + esi*2 + 2], ax
movzx eax, dx
mov word [ebp + esi*2 + 2], ax
movzx eax, cx
mov word [ebx + esi*2 + 4], ax
mov eax, dword [esp + 0x8d8]
jmp 0x102577d7
mov eax, dword [esp + 0x8cc]
movzx eax, ax
cmp di, ax
jne 0x10257707
mov eax, dword [esp + 0x8d8]
lea ecx, [esi + esi]
cmp word [ecx + ebp - 2], ax
jne 0x10257707
test edx, edx
jg 0x10257772
mov ecx, dword [esp + 0x8d8]
mov edi, dword [esp + 0x8cc]
cmp word [ebp], cx
jne 0x10257795
lea ecx, [esi + esi]
movzx eax, di
cmp word [ecx + ebx - 2], ax
jne 0x1025772c
test edx, edx
js 0x10257779
movzx eax, di
cmp word [ebx + esi*2 - 2], ax
jne 0x1025778e
test edx, edx
jle 0x1025778e
mov ecx, dword [esp + 0x8d4]
mov edx, dword [esp + 0x8d0]
movzx eax, di
mov word [ebx + esi*2], ax
movzx eax, cx
mov word [ebp + esi*2], ax
movzx eax, cx
mov word [ebx + esi*2 + 2], dx
mov word [ebp + esi*2 + 2], ax
mov eax, dword [esp + 0x8d8]
mov word [ebx + esi*2 + 4], dx
jmp 0x102577d7
mov edi, dword [esp + 0x8cc]
movzx eax, di
inc esi
mov word [ecx + ebx], ax
mov eax, dword [esp + 0x8d8]
mov word [ecx + ebp], ax
jmp 0x102577df
mov ecx, dword [esp + 0x8d8]
movzx eax, di
cmp word [ebx], ax
jne 0x102577df
cmp word [ebp + esi*2 - 2], cx
jne 0x102577df
test edx, edx
jns 0x102577df
mov eax, dword [esp + 0x8d0]
mov word [ebx + esi*2], ax
mov word [ebp + esi*2], cx
mov ecx, dword [esp + 0x8d4]
mov word [ebx + esi*2 + 2], ax
movzx eax, cx
mov word [ebp + esi*2 + 2], ax
movzx eax, di
mov word [ebx + esi*2 + 4], ax
movzx eax, cx
mov word [ebp + esi*2 + 4], ax
add esi, 3
mov eax, dword [esp + 0x88]
add eax, dword [esp + 0x8c]
add eax, dword [esp + 0x7c]
add eax, dword [esp + 0x80]
cmp eax, 4
jne 0x10257a1e
push dword [esp + 0x2c]
push dword [esp + 0x24]
push dword [esp + 0x38]
call fcn.10256450
mov ebx, dword [esp + 0x8e0]
mov edi, eax
mov eax, dword [esp + 0x8d8]
add esp, 0xc
mov dword [esp + 0x90], eax
mov ecx, 0xffffff9d
mov eax, dword [esp + 0x8d0]
mov edx, ecx
mov dword [esp + 0x94], eax
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov ebx, eax
mov eax, dword [esp + 0x8cc]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x4c]
mov dword [esp + 0x80], eax
add eax, dword [esp + 0x38]
add eax, dword [esp + 0x24]
mov dword [esp + 0x98], ebx
mov ebx, dword [esp + 0x8d8]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
cmp eax, 1
jne 0x102578c7
test edi, edi
jle 0x102578b0
mov ecx, dword [esp + 0x24]
mov edx, eax
mov eax, dword [esp + 0x38]
add eax, ecx
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x34]
jmp 0x102578c4
mov ecx, dword [esp + 0x4c]
or edx, 0xffffffff
mov eax, dword [esp + 0x34]
add eax, ecx
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x24]
lea ecx, [eax + ecx*2]
cmp dword [esp + 0x80], 2
mov eax, edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x40], ecx
jne 0x10257921
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x38]
jne 0x10257981
movsx eax, word [ebx + esi*2 - 2]
cmp eax, dword [esp + 0x8cc]
jne 0x10257916
lea ecx, [edi - 1]
neg ecx
sbb ecx, ecx
xor edx, edx
and ecx, 3
cmp edi, 1
sete dl
lea edx, [edx*2 - 1]
jmp 0x10257981
cmp edi, 1
jne 0x10257979
mov edx, edi
mov ecx, edx
jmp 0x10257981
mov ecx, dword [esp + 0x40]
mov edx, eax
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x4c]
jne 0x10257981
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x38]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x10]
cmp eax, 2
jne 0x10257981
movsx eax, word [ebp + esi*2 - 2]
cmp eax, dword [esp + 0x8d4]
jne 0x1025796d
xor ecx, ecx
cmp edi, 1
sete cl
xor edx, edx
cmp edi, 1
sete dl
lea edx, [edx*2 - 1]
jmp 0x10257981
cmp edi, 1
jne 0x10257979
mov edx, edi
lea ecx, [edi + 2]
jmp 0x10257981
mov ecx, 2
or edx, 0xffffffff
movzx eax, word [esp + ecx*4 + 0x90]
mov edi, 3
mov word [ebx + esi*2], ax
movzx eax, word [esp + ecx*4 + 0xa0]
mov word [ebp + esi*2], ax
lea eax, [edx + ecx]
xor ecx, ecx
cmp eax, 3
cmovle ecx, eax
test ecx, ecx
cmovs ecx, edi
movzx eax, word [esp + ecx*4 + 0x90]
mov word [ebx + esi*2 + 2], ax
movzx eax, word [esp + ecx*4 + 0xa0]
mov word [ebp + esi*2 + 2], ax
lea eax, [edx + ecx]
xor ecx, ecx
cmp eax, edi
cmovle ecx, eax
test ecx, ecx
cmovs ecx, edi
movzx eax, word [esp + ecx*4 + 0x90]
mov word [ebx + esi*2 + 4], ax
movzx eax, word [esp + ecx*4 + 0xa0]
mov word [ebp + esi*2 + 4], ax
lea eax, [edx + ecx]
xor ecx, ecx
cmp eax, edi
cmovle ecx, eax
test ecx, ecx
cmovs ecx, edi
movzx eax, word [esp + ecx*4 + 0x90]
mov word [ebx + esi*2 + 6], ax
movzx eax, word [esp + ecx*4 + 0xa0]
mov word [ebp + esi*2 + 6], ax
add esi, 4
cmp esi, 3
jl 0x10257a30
push esi
push ebp
push ebx
call dword [esp + 0x90]
add esp, 0xc
lea eax, [esp + 0xb0]
cmp ebx, eax
je 0x10257a4a
push ebx
call fcn.1026cbe4
push ebp
call fcn.1026cbe4
add esp, 8
pop edi
mov ecx, dword [esp + 0x8b4]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1026465b
add esp, 0x8ac
ret