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

Disassembly:
push ebp
push edi
push esi
push ebx
lea ebx, [ecx*4]
sub esp, 0x9c
mov edi, dword [esp + 0xcc]
add ebx, dword [esp + 0xc8]
mov esi, dword [esp + 0xc4]
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x74], eax
mov eax, 1
mov dword [esp + 0x70], edx
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0xbc]
shl eax, cl
add esi, esi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x3c], eax
mov dword [esp], esi
mov edx, eax
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov ecx, ebx
mov eax, ebp
mov dword [esp + 0x7c], esi
call fcn.00f21a1d
mov esi, dword [esp + 0xd0]
test esi, esi
je 0xf22d8d
mov dword [esp + 0x8c], 0
mov dword [esp + 0x4c], ebp
mov dword [esp + 0xd0], 1
mov esi, 0x1f4
mov byte [esp + 0x50], 1
cmp dword [esp + 0xbc], esi
jl 0xf22b68
mov ebx, dword [esp + 0xd0]
shl ebx, 6
mov edi, dword [ebx + 0x873200]
test edi, edi
je 0xf23012
cmp dword [esp + 0xbc], edi
jl 0xf23012
mov dword [esp + 0x40], esi
xor ecx, ecx
mov esi, dword [esp + 0xbc]
jmp 0xf22086
cmp esi, eax
jl 0xf220c0
mov ecx, edx
lea edx, [ecx + 1]
mov eax, dword [ebx + edx*4 + 0x873200]
test eax, eax
jne 0xf22080
mov eax, dword [esp + 0xd0]
mov esi, dword [esp + 0x40]
shl eax, 4
add eax, ecx
mov eax, dword [eax*4 + 0x873200]
shl eax, 2
cmp dword [esp + 0xbc], eax
jge 0xf22f2c
lea eax, [ecx + 5]
jmp 0xf220c7
mov esi, dword [esp + 0x40]
lea eax, [ecx + 5]
mov ebx, eax
mov dword [esp + 0x54], eax
mov eax, 1
mov ecx, ebx
shl eax, cl
mov dword [esp + 0x58], eax
sub eax, 1
test dword [esp + 0xbc], eax
jne 0xf22ff6
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov ebx, 0x20
cmp eax, 0x20
mov ecx, edx
cmovge ebx, eax
mov eax, dword [esp + 0xbc]
sar eax, cl
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xbc]
shl eax, 5
sar eax, cl
lea eax, [edx + eax*2 + 2]
add eax, ebx
cdq
idiv ebx
imul eax, ebx
lea ebx, [eax + 0x1f]
test eax, eax
cmovns ebx, eax
sar ebx, 5
cmp esi, ebx
jg 0xf221d9
mov esi, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0xb0], ebp
mov ebp, eax
shl ecx, 4
shl esi, 6
test edi, edi
mov dword [esp + 0x44], ecx
je 0xf221c2
nop
cmp ebx, edi
jl 0xf221c2
xor ecx, ecx
jmp 0xf22177
cmp ebx, eax
jl 0xf22880
mov ecx, edx
lea edx, [ecx + 1]
mov eax, dword [esi + edx*4 + 0x873200]
test eax, eax
jne 0xf2216d
mov eax, dword [esp + 0x44]
add eax, ecx
mov eax, dword [eax*4 + 0x873200]
shl eax, 2
cmp ebx, eax
jl 0xf22880
add ecx, 6
mov eax, 1
shl eax, cl
lea edx, [eax - 1]
lea esi, [esi]
test ebx, edx
je 0xf221d0
lea ebx, [ebx + eax - 1]
neg eax
and ebx, eax
mov ebp, ebx
shl ebp, 5
test edi, edi
jne 0xf2215d
mov edx, 0xf
mov eax, 0x10
test ebx, edx
jne 0xf221b1
mov eax, ebp
mov ebp, dword [esp + 0xb0]
cmp dword [esp + 0xbc], ebx
jle 0xf2302c
mov edi, eax
mov eax, dword [esp + 0x54]
mov esi, 4
mov ecx, eax
sar edi, cl
shl esi, cl
mov dword [esp + 0x44], edi
lea edi, [esp + 0x8c]
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.00efd19d
mov dword [esp + 4], esi
mov dword [esp], edi
lea esi, [ebx + 1]
mov dword [esp + 0x50], eax
call fcn.00efd19d
movzx ecx, byte [esp + 0x54]
mov dword [esp + 0x5c], eax
lea eax, [esi + esi]
mov dword [esp], edi
shl eax, cl
shl eax, 2
mov dword [esp + 4], eax
call fcn.00efd19d
mov dword [esp + 0x6c], eax
lea eax, [esi*8]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00efd19d
mov edx, dword [esp + 0x54]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x6c]
mov dword [esp], edi
mov ecx, edx
shl esi, cl
lea eax, [eax + esi*4]
lea esi, [edx + 1]
mov dword [esp + 0x60], eax
lea eax, [esi*4]
mov dword [esp + 4], eax
call fcn.00efd19d
movzx ecx, byte [esp + 0x54]
mov dword [esp + 0x68], eax
mov eax, 8
mov dword [esp], edi
shl eax, cl
mov dword [esp + 4], eax
call fcn.00efd19d
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x68]
xor ecx, ecx
mov edx, 4
mov edi, edx
mov dword [ebx + ecx*4], eax
shl edi, cl
add ecx, 1
add eax, edi
cmp esi, ecx
jne 0xf222ad
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
call fcn.00f210ad
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jle 0xf2247b
mov eax, dword [esp + 0xbc]
movzx ecx, byte [esp + 0x54]
xor esi, esi
lea edi, [eax*4]
mov eax, dword [esp + 0x40]
shl eax, cl
add eax, 1
mov dword [esp + 0x64], eax
nop
mov eax, dword [ebp + esi*4]
lea ecx, [eax + edi]
mov edx, dword [ecx]
test edx, edx
je 0xf22342
mov edx, eax
sub dword [edx], 1
lea edx, [edx + 4]
jb 0xf2230c
mov edx, dword [ecx]
test edx, edx
jne 0xf2299d
mov edx, dword [esp + 0xbc]
nop
lea esi, [esi]
add eax, 4
sub edx, 1
mov dword [eax - 4], 0
jne 0xf2232d
mov dword [ecx], 1
mov eax, dword [esp + 0x4c]
cmp ebp, eax
je 0xf229af
mov eax, dword [eax + esi*4]
lea ecx, [eax + edi]
mov edx, dword [ecx]
test edx, edx
je 0xf22392
mov edx, eax
sub dword [edx], 1
lea edx, [edx + 4]
jb 0xf2235c
mov edx, dword [ecx]
test edx, edx
jne 0xf229f0
mov edx, dword [esp + 0xbc]
nop
lea esi, [esi]
add eax, 4
sub edx, 1
mov dword [eax - 4], 0
jne 0xf2237d
mov dword [ecx], 1
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x50]
mov dword [esp + 8], ecx
mov eax, dword [ebp + esi*4]
mov ecx, dword [esp + 0x58]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
call fcn.00f2151d
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + esi*4]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
call fcn.00f2151d
mov ecx, dword [esp + 0xd0]
mov eax, dword [ebp + esi*4]
mov edx, dword [esp + 0xbc]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
call fcn.00f21f9d
mov edx, dword [ebp + esi*4]
add esi, 1
cmp dword [esp + 0x3c], esi
mov dword [edx + edi], eax
jne 0xf222fd
mov eax, dword [esp + 0xbc]
shl eax, 2
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x8c]
test eax, eax
jne 0xf22fdd
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov eax, ebp
call fcn.00f21cfd
mov eax, dword [esp + 0xbc]
mov ebx, dword [esp + 0xcc]
mov edi, dword [esp + 0xbc]
add eax, 1
mov dword [esp + 0x40], eax
shl eax, 2
shl edi, 6
add ebx, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xb4]
mov ecx, edi
sub ecx, dword [esp + 0x78]
mov dword [eax], ebx
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov edx, dword [ebp]
mov eax, ebx
call fcn.00f2110d
mov eax, dword [esp + 0x44]
lea edx, [ebx + eax]
mov eax, dword [edx]
test eax, eax
je 0xf22552
mov eax, ebx
sub dword [eax], 1
lea eax, [eax + 4]
jb 0xf22516
mov eax, dword [edx]
test eax, eax
jne 0xf22df6
mov eax, dword [esp + 0xbc]
test eax, eax
je 0xf2254c
lea esi, [esi]
lea edi, [edi]
add ebx, 4
sub eax, 1
mov dword [ebx - 4], 0
jne 0xf2253d
mov dword [edx], 1
cmp dword [esp + 0x3c], 1
mov eax, dword [esp + 0x3c]
jle 0xf22fea
sub eax, 1
mov esi, 1
mov dword [esp + 0x5c], eax
imul eax, dword [esp + 0xc4]
add eax, dword [esp + 0x78]
sub edi, eax
nop
mov ebx, dword [ebp + esi*4 - 4]
mov eax, dword [esp + 0xb4]
mov ecx, edi
mov dword [eax + esi*4], ebx
mov eax, dword [esp + 0xbc]
mov edx, dword [ebp + esi*4]
mov dword [esp], eax
mov eax, ebx
call fcn.00f2110d
mov eax, dword [esp + 0x44]
lea edx, [ebx + eax]
mov eax, dword [edx]
test eax, eax
je 0xf225e3
mov eax, ebx
sub dword [eax], 1
lea eax, [eax + 4]
jb 0xf225b1
mov eax, dword [edx]
test eax, eax
jne 0xf2298d
mov eax, dword [esp + 0xbc]
test eax, eax
je 0xf225dd
add ebx, 4
sub eax, 1
mov dword [ebx - 4], 0
jne 0xf225ce
mov dword [edx], 1
add esi, 1
add edi, dword [esp + 0xc4]
cmp dword [esp + 0x3c], esi
jne 0xf2257d
xor eax, eax
cmp dword [esp + 0xbc], 0xffffffff
je 0xf2261b
mov edx, dword [esp + 0xcc]
mov ecx, dword [esp + 0x40]
lea esi, [esi]
mov dword [edx + eax*4], 0
add eax, 1
cmp ecx, eax
jne 0xf2260d
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0xbc]
mov edx, 0xffffffff
imul eax, dword [esp + 0xc0]
add esi, eax
mov edi, esi
add edi, 1
mov dword [esp + 0x68], edi
je 0xf2265d
mov ecx, dword [esp + 0xb8]
mov ebx, dword [esp + 0x68]
xor edx, edx
mov dword [ecx + edx*4], 0
add edx, 1
cmp ebx, edx
jne 0xf2264d
mov edx, esi
mov ecx, dword [esp + 0x5c]
test ecx, ecx
js 0xf227e2
mov ebx, dword [esp + 0xc0]
mov edi, dword [esp + 0xcc]
sub esi, eax
mov ebp, dword [esp + 0xcc]
mov dword [esp + 0x44], 1
lea edi, [edi + ebx*8]
lea ecx, [ebx*4]
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0xb8]
neg ecx
mov dword [esp + 0x64], ecx
lea ebx, [edi + eax*4]
mov edi, dword [esp + 0x3c]
mov eax, esi
add eax, 1
mov dword [esp + 0x3c], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], edi
mov edi, esi
mov esi, dword [esp + 0x68]
sub edi, dword [esp + 0xbc]
sub esi, edx
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0xb8]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x4c]
lea esi, [esi + edx*4]
add edi, ebx
lea esi, [esi]
mov eax, dword [esp + 0x44]
and eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0xb4]
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x4c], edx
mov dword [esp + 0xc], eax
mov eax, dword [edx]
mov dword [esp + 4], ebx
mov dword [esp], ebx
mov dword [esp + 8], eax
call dword [0x82f360]
test eax, eax
mov edx, dword [esp + 0x4c]
je 0xf22772
add dword [edi], 1
jne 0xf2297c
mov ecx, dword [esp + 0x58]
cmp ecx, 1
jle 0xf22769
add dword [edi + 4], 1
jne 0xf2297c
mov eax, 2
mov dword [esp + 0x4c], edx
jmp 0xf22761
mov edx, dword [edi + eax*4]
add edx, 1
mov dword [edi + eax*4], edx
add eax, 1
test edx, edx
jne 0xf22978
cmp ecx, eax
jne 0xf2274d
mov edx, dword [esp + 0x4c]
mov eax, 1
add dword [esp + 0x3c], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x48]
mov edx, dword [edx]
mov dword [eax], ecx
mov eax, dword [esp + 0x40]
jmp 0xf2279a
mov ecx, dword [ebp + eax*4]
cmp dword [edx + eax*4], ecx
jne 0xf22892
sub eax, 1
jns 0xf2278d
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0xc0]
add dword [esp + 0x44], 1
add dword [esp + 0x58], edx
add ebx, eax
add edi, eax
add dword [esp + 0x54], edx
add esi, eax
add dword [esp + 0x50], edx
sub dword [esp + 0x48], 1
jne 0xf226ed
cmp dword [esp + 0x3c], 0xffffffff
je 0xf22e7a
cmp dword [esp + 0x3c], 1
je 0xf22e01
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x68]
add eax, eax
sub ebx, eax
test ebx, ebx
jle 0xf22a73
mov edi, dword [esp + 0xb8]
mov esi, dword [esp + 0x70]
mov dword [esp + 0xc], ebx
lea eax, [edi + esi*8]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x74]
sub esi, ebx
mov dword [esp + 8], eax
mov dword [esp], edi
call dword [0x82f360]
lea ecx, [ebx*4]
mov ebx, dword [esp + 0xb8]
xor edx, edx
add ebx, ecx
add ecx, edi
add eax, dword [ebx]
setb dl
mov dword [ecx], eax
test edx, edx
je 0xf229fb
cmp esi, 1
jle 0xf22876
mov eax, dword [ebx + 4]
add eax, 1
test eax, eax
mov dword [ecx + 4], eax
mov eax, 2
je 0xf22872
jmp 0xf22f86
mov edi, dword [ebx + eax*4]
lea edx, [edi + 1]
mov dword [ecx + eax*4], edx
add eax, 1
test edx, edx
jne 0xf22f86
cmp esi, eax
jne 0xf2285e
mov ebx, 1
jmp 0xf22a1c
add ecx, 5
mov eax, 1
shl eax, cl
lea edx, [eax - 1]
jmp 0xf221ad
jbe 0xf2279f
mov eax, dword [ebx]
lea edx, [eax - 1]
test eax, eax
mov dword [ebx], edx
jne 0xf22971
mov ecx, dword [esp + 0x50]
cmp ecx, 1
jle 0xf228ea
mov eax, dword [ebx + 4]
lea edx, [eax - 1]
test eax, eax
mov dword [ebx + 4], edx
jne 0xf22971
mov dword [esp + 0x4c], esi
mov eax, 2
mov esi, ecx
jmp 0xf228e2
mov edx, dword [ebx + eax*4]
lea ecx, [edx - 1]
mov dword [ebx + eax*4], ecx
add eax, 1
test edx, edx
jne 0xf2296d
cmp esi, eax
jne 0xf228ce
mov esi, dword [esp + 0x4c]
mov eax, 1
mov ecx, dword [esp + 0x3c]
sub ecx, eax
mov eax, dword [esi]
mov dword [esp + 0x3c], ecx
lea edx, [eax - 1]
test eax, eax
mov dword [esi], edx
jne 0xf22961
mov ecx, dword [esp + 0x54]
cmp ecx, 1
jle 0xf22945
mov eax, dword [esi + 4]
lea edx, [eax - 1]
test eax, eax
mov dword [esi + 4], edx
jne 0xf22961
mov dword [esp + 0x4c], ebx
mov eax, 2
mov ebx, ecx
jmp 0xf2293d
mov edx, dword [esi + eax*4]
lea ecx, [edx - 1]
mov dword [esi + eax*4], ecx
add eax, 1
test edx, edx
jne 0xf2295d
cmp ebx, eax
jne 0xf2292d
mov ebx, dword [esp + 0x4c]
mov eax, 1
mov ecx, dword [esp + 0x3c]
sub ecx, eax
mov dword [esp + 0x3c], ecx
jmp 0xf2279f
mov ebx, dword [esp + 0x4c]
xor eax, eax
jmp 0xf2294a
mov esi, dword [esp + 0x4c]
xor eax, eax
jmp 0xf228ef
mov edx, dword [esp + 0x4c]
xor eax, eax
jmp 0xf2276e
mov dword [edx], 0
jmp 0xf225e3
mov eax, dword [esp + 0x4c]
mov dword [ecx], 0
cmp ebp, eax
jne 0xf2234e
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov eax, dword [ebp + esi*4]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
call fcn.00f2151d
jmp 0xf2240d
mov dword [ecx], 0
jmp 0xf22392
cmp ebx, ecx
je 0xf22a1a
cmp esi, 1
jle 0xf22a1a
mov eax, 1
lea esi, [esi]
mov edx, dword [ebx + eax*4]
mov dword [ecx + eax*4], edx
add eax, 1
cmp esi, eax
jne 0xf22a0d
xor ebx, ebx
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
lea esi, [eax*4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], edi
mov dword [esp], edi
add eax, esi
add esi, edi
mov dword [esp + 8], eax
call dword [fcn.0082f3e8]
mov edx, dword [esi]
mov ecx, edx
sub ecx, eax
cmp edx, eax
setb al
mov dword [esi], ecx
movzx eax, al
sub ebx, eax
cmp ebx, 0xffffffff
mov eax, ebx
je 0xf22b01
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0xb8]
mov ebx, dword [esp + 0x68]
mov dword [esp + 8], esi
mov dword [esp], edi
mov dword [esp + 4], eax
sub ebx, esi
call dword [fcn.0082f388]
mov ecx, dword [esp + 0xb8]
mov eax, esi
mov dword [esp + 0xc], ebx
mov dword [esp + 4], edi
mov dword [esp], edi
sub esi, ebx
lea eax, [ecx + eax*4]
mov dword [esp + 8], eax
call dword [fcn.0082f3e8]
lea ecx, [edi + ebx*4]
mov edx, dword [ecx]
mov ebx, edx
sub ebx, eax
cmp eax, edx
mov dword [ecx], ebx
jbe 0xf22b5b
cmp esi, 1
jle 0xf22b01
mov eax, dword [ecx + 4]
lea edx, [eax - 1]
test eax, eax
mov dword [ecx + 4], edx
jne 0xf22b5b
mov eax, 2
jmp 0xf22afd
mov edx, dword [ecx + eax*4]
lea ebx, [edx - 1]
mov dword [ecx + eax*4], ebx
add eax, 1
test edx, edx
jne 0xf22b5b
cmp esi, eax
jne 0xf22aed
mov edi, dword [esp + 0x74]
mov eax, dword [edi]
mov dword [esp + 0x3c], eax
add eax, 1
test eax, eax
mov dword [edi], eax
jne 0xf22b5b
mov ebx, dword [esp + 0x70]
cmp ebx, 1
jle 0xf22b51
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 4]
mov dword [esp + 0x3c], eax
add eax, 1
test eax, eax
mov dword [ecx + 4], eax
jne 0xf22b5b
mov eax, 2
jmp 0xf22b4d
mov edi, dword [ecx + eax*4]
lea edx, [edi + 1]
mov dword [ecx + eax*4], edx
add eax, 1
test edx, edx
jne 0xf22b5b
cmp ebx, eax
jne 0xf22b3d
mov eax, 1
jmp 0xf22a68
add esp, 0x9c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xbc]
add eax, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xbc]
shl eax, 3
mov dword [esp + 4], eax
lea eax, [esp + 0x8c]
mov dword [esp], eax
call fcn.00efd19d
mov edi, dword [esp + 0xbc]
mov edx, dword [esp + 0x3c]
mov esi, eax
shl edi, 2
add eax, edi
test edx, edx
mov ebx, edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], eax
mov edi, eax
jle 0xf22489
add edi, ebx
mov dword [esp + 0xb0], ebp
mov ebp, esi
mov dword [esp + 0x58], edi
xor edi, edi
lea esi, [esi]
mov eax, dword [esp + 0xb0]
cmp byte [esp + 0x50], 0
mov ebx, dword [eax + edi*4]
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + edi*4]
jne 0xf22d69
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp], ebp
mov dword [esp + 0x48], ecx
mov dword [esp + 0xc], eax
call fcn.00f0bd5d
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
lea esi, [ebx + eax]
mov edx, dword [esi]
test edx, edx
jne 0xf22cb1
mov eax, dword [ecx + eax]
test eax, eax
jne 0xf22ce6
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call dword [fcn.0082f3e8]
test eax, eax
je 0xf22cad
add dword [ebx], 1
jne 0xf22cad
cmp dword [esp + 0xbc], 1
jle 0xf22c80
add dword [ebx + 4], 1
jne 0xf22cad
add ebx, 8
jmp 0xf22c7c
mov eax, dword [ebx]
add ebx, 4
add eax, 1
mov dword [ebx - 4], eax
test eax, eax
jne 0xf22cad
cmp esi, ebx
jne 0xf22c6d
mov eax, 1
nop
lea esi, [esi]
add edi, 1
cmp dword [esp + 0x3c], edi
mov dword [esi], eax
jne 0xf22bcd
mov ebp, dword [esp + 0xb0]
jmp 0xf22489
xor eax, eax
jmp 0xf22c8d
mov eax, dword [esp + 0xbc]
mov dword [esp + 8], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x82f360]
mov ecx, dword [esp + 0x48]
mov edx, eax
mov eax, dword [esp + 0x44]
mov eax, dword [ecx + eax]
test eax, eax
je 0xf22d12
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x48], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x82f360]
mov edx, dword [esp + 0x48]
add edx, eax
add edx, dword [esi]
test edx, edx
je 0xf22c28
xor eax, eax
add edx, dword [ebp]
setb al
mov dword [ebp], edx
test eax, eax
je 0xf22c28
cmp dword [esp + 0x54], 1
jle 0xf22c28
add dword [ebp + 4], 1
lea eax, [ebp + 8]
mov ecx, dword [esp + 0x58]
je 0xf22d60
jmp 0xf22c28
mov edx, dword [eax]
add eax, 4
add edx, 1
mov dword [eax - 4], edx
test edx, edx
jne 0xf22c28
cmp eax, ecx
jne 0xf22d4d
jmp 0xf22c28
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], ebx
mov dword [esp], ebp
mov dword [esp + 0x48], ecx
mov dword [esp + 8], eax
call fcn.00f0bfbd
mov ecx, dword [esp + 0x48]
jmp 0xf22c0c
mov eax, dword [esp + 0xcc]
mov edx, dword [esp + 0x3c]
mov ecx, ebx
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0xb4]
call fcn.00f21a1d
cmp ebp, dword [esp + 0xb4]
mov dword [esp + 0x8c], 0
je 0xf22026
mov eax, dword [esp + 0xb4]
mov byte [esp + 0x50], 0
mov esi, 0x190
mov dword [esp + 0x4c], eax
jmp 0xf2203f
mov dword [edx], 0
jmp 0xf22552
mov eax, dword [esp + 0x70]
lea ebx, [eax + eax]
mov eax, dword [esp + 0x68]
cmp eax, ebx
jge 0xf22f34
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x70]
mov edi, dword [esp + 0xb8]
lea ecx, [edi + eax*4]
mov eax, dword [ecx]
lea edx, [eax - 1]
test eax, eax
mov dword [ecx], edx
jne 0xf227e2
mov esi, dword [esp + 0x70]
cmp esi, 1
jle 0xf227e2
mov eax, dword [ecx + 4]
lea edx, [eax - 1]
test eax, eax
mov dword [ecx + 4], edx
jne 0xf227e2
mov eax, 2
jmp 0xf22e71
mov edx, dword [ecx + eax*4]
lea ebx, [edx - 1]
mov dword [ecx + eax*4], ebx
add eax, 1
test edx, edx
jne 0xf227e2
cmp esi, eax
jne 0xf22e5d
jmp 0xf227e2
mov ebx, dword [esp + 0x68]
sub ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0xb8]
shl ebx, 2
add ecx, ebx
add dword [ecx], 1
jne 0xf227e2
mov esi, dword [esp + 0x70]
cmp esi, 1
jle 0xf22faf
add dword [ecx + 4], 1
jne 0xf227e2
mov eax, 2
jmp 0xf22ed1
mov edi, dword [ecx + eax*4]
lea edx, [edi + 1]
mov dword [ecx + eax*4], edx
add eax, 1
test edx, edx
jne 0xf227e2
cmp esi, eax
jne 0xf22ebd
mov eax, dword [esp + 0xb8]
lea edx, [eax + ebx - 4]
mov eax, dword [edx]
lea ecx, [eax - 1]
test eax, eax
mov dword [edx], ecx
jne 0xf22f17
mov eax, dword [edx + 4]
lea ecx, [eax - 1]
test eax, eax
mov dword [edx + 4], ecx
jne 0xf22f17
mov eax, 2
mov esi, dword [esp + 0x70]
jmp 0xf22f13
mov ecx, dword [edx + eax*4]
lea ebx, [ecx - 1]
mov dword [edx + eax*4], ebx
add eax, 1
test ecx, ecx
jne 0xf22f17
cmp esi, eax
jge 0xf22f03
mov eax, dword [esp + 0xb8]
mov edi, dword [esp + 0x68]
sub dword [eax + edi*4 - 4], 1
jmp 0xf227e2
lea eax, [ecx + 6]
jmp 0xf220c7
mov edi, dword [esp + 0xb8]
sub eax, ebx
lea ecx, [edi + eax*4]
mov eax, dword [ecx]
add eax, 1
test eax, eax
mov dword [ecx], eax
jne 0xf227e2
cmp ebx, 1
jle 0xf22f42
add dword [ecx + 4], 1
jne 0xf227e2
mov eax, 2
lea esi, [esi]
lea edi, [edi]
cmp ebx, eax
je 0xf22f40
mov edi, dword [ecx + eax*4]
lea edx, [edi + 1]
mov dword [ecx + eax*4], edx
add eax, 1
test edx, edx
je 0xf22f6d
jmp 0xf227e2
cmp ebx, ecx
je 0xf22a1a
cmp esi, eax
jle 0xf22a1a
lea esi, [esi]
mov edx, dword [ebx + eax*4]
mov dword [ecx + eax*4], edx
add eax, 1
cmp esi, eax
jne 0xf22f9d
jmp 0xf22a1a
mov eax, dword [esp + 0xb8]
lea edx, [eax + ebx - 4]
mov eax, dword [edx]
lea ecx, [eax - 1]
test eax, eax
mov dword [edx], ecx
jne 0xf22f17
cmp dword [esp + 0x70], 1
je 0xf22eeb
jmp 0xf22f17
mov dword [esp], eax
call fcn.00efd1cd
jmp 0xf22498
sub eax, 1
mov dword [esp + 0x5c], eax
jmp 0xf225f3
mov dword [esp + 8], 0x873192
mov dword [esp + 4], 0x1c1
mov dword [esp], 0x873188
call fcn.00efd06d
mov eax, 0xf
mov dword [esp + 0x58], 0x10
mov dword [esp + 0x54], 4
jmp 0xf220dd
mov dword [esp + 8], 0x8731a6
mov dword [esp + 4], 0x1d7
mov dword [esp], 0x873188
call fcn.00efd06d
nop
lea esi, [esi]