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

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xa0]
cmp eax, dword [ecx + 8]
jbe 0x500292
sub esp, 0x120
mov ecx, dword [esp + 0x12c]
cmp ecx, 2
jl 0x4fef32
mov ebx, dword [esp + 0x130]
mov ebp, dword [esp + 0x128]
mov eax, ebp
mov edx, ebx
xor esi, esi
xor edi, edi
xor eax, eax
mov word [esp + 0x24], ax
xor edx, edx
mov dword [esp + 0x28], edx
xor edx, edx
mov dword [esp + 0x2c], edx
xor edx, edx
mov dword [esp + 0xe4], edx
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov eax, ebp
mov edx, dword [esp + 0x130]
mov ebx, edx
jmp 0x4fef70
mov eax, dword [esp + 0x128]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
mov eax, dword [esp + 0x130]
mov dword [esp + 0x13c], eax
add esp, 0x120
ret
mov edx, dword [esp + 0x30]
inc edx
mov dword [esp + 0x38], edi
mov edi, esi
mov esi, edx
mov edx, dword [esp + 0x130]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0xf8], ebp
cmp ecx, esi
jl 0x4ff526
mov dword [esp + 0x30], esi
jle 0x4ff02c
jbe 0x50028a
mov edx, dword [eax + esi*4]
cmp byte [edx], 0x12
jne 0x4fefb8
mov ebp, dword [edx + 8]
test ebp, ebp
je 0x4fefb1
mov ebp, dword [edx + 4]
mov edx, dword [ebp]
mov ebp, dword [esp + 0xf8]
jmp 0x4fefb8
mov ebp, dword [esp + 0xf8]
cmp byte [edx], 3
je 0x4fefd8
xor edx, edx
xor edx, edx
mov dword [esp + 0x4c], edx
xor edx, edx
mov dword [esp + 0xfc], edx
xor edx, edx
mov dword [esp + 0x50], edx
xor edx, edx
jmp 0x4ff00b
movzx ebp, word [edx + 2]
mov ebx, dword [edx + 0x14]
mov eax, dword [edx + 0x18]
mov edx, dword [edx + 0x1c]
and ebp, 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x128]
mov ebx, dword [esp + 0x3c]
mov edx, ebp
mov ebp, dword [esp + 0xf8]
movzx ebp, word [esp + 0x24]
cmp bp, dx
jne 0x500164
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x58]
jmp 0x5001fe
mov dword [esp + 0x98], eax
xor eax, eax
mov dword [esp + 0xd8], eax
xor eax, eax
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x10c], eax
xor eax, eax
mov word [esp + 0x26], ax
mov eax, dword [esp + 0x98]
cmp edi, esi
jne 0x4ff066
mov edi, dword [esp + 0x38]
jmp 0x4ff4e6
lea edx, [edi + 1]
cmp esi, edx
jne 0x4ff0fa
cmp ecx, edi
jbe 0x50015d
mov edx, esi
mov esi, dword [esp + 0x38]
inc esi
mov edi, dword [eax + edi*4]
cmp ebx, esi
jae 0x4ff0ce
mov dword [esp + 0x118], edi
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x70d480]
mov dword [esp + 0x10], eax
call fcn.0046cad0
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x12c]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x118]
mov eax, dword [0x98d0b8]
test eax, eax
je 0x4ff0f1
mov eax, edi
call fcn.00471ac0
mov dword [edi], eax
mov ecx, dword [ebp + esi*4 - 4]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x12c]
mov edi, eax
mov dword [ebp + esi*4 - 4], edi
jmp 0x4ff4d2
mov dword [esp + 0xd0], edi
mov edx, dword [esp + 0x124]
mov ebp, dword [edx + 0x10]
nop
test ebp, ebp
je 0x4ff181
mov ebx, dword [0x98d0b8]
mov eax, dword [ebp + 0x10]
test ebx, ebx
je 0x4ff171
mov dword [esp + 0xf4], ebp
mov dword [esp + 0x118], eax
call fcn.00471ac0
mov dword [edi], eax
mov ecx, dword [edx + 0x10]
mov dword [edi + 4], ecx
lea ecx, [0x711ae0]
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.0040eb70
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x12c]
mov edx, dword [esp + 0x124]
mov ebp, dword [esp + 0xf4]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0xd0]
mov dword [edx + 0x10], eax
xor eax, eax
mov ebx, edi
mov edi, ebp
call fcn.00471d41
jmp 0x4ff1aa
lea eax, [0x711ae0]
mov dword [esp], eax
call fcn.0040bc10
mov ebp, dword [esp + 4]
mov eax, dword [esp + 0x124]
inc dword [eax + 0x2c]
mov edx, eax
mov ebx, dword [esp + 0xd0]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x118], ebp
mov byte [ebp], 3
movzx eax, word [esp + 0x24]
mov word [ebp + 2], ax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x14]
mov edi, dword [esp + 0x28]
cmp edi, eax
jbe 0x4ff1fa
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
lea eax, [0x6e07a0]
mov dword [esp + 0x10], eax
call fcn.0046cad0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, eax
mov eax, edx
mov dword [esp + 0x108], ecx
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], eax
mov dword [esp], ecx
mov edx, dword [esp + 0xe4]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x28]
shl edx, 2
mov dword [esp + 8], edx
call fcn.00472440
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x118]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0xb8]
mov dword [ecx + 0x1c], eax
mov eax, dword [0x98d0b8]
test eax, eax
jne 0x4ff25b
mov ebx, dword [esp + 0x108]
jmp 0x4ff26f
call fcn.00471ac0
mov ebx, dword [esp + 0x108]
mov dword [edi], ebx
mov ebp, dword [ecx + 0x14]
mov dword [edi + 4], ebp
mov dword [ecx + 0x14], ebx
mov ebx, dword [esp + 0x128]
mov ebp, dword [esp + 0x124]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x12c]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0xd0]
jmp 0x5000e4
mov esi, dword [esp + 0x130]
cmp esi, edx
jb 0x50014b
mov edi, dword [esp + 0xd0]
cmp edi, edx
ja 0x500142
mov dword [esp], ebp
sub esi, edi
mov dword [esp + 0xbc], esi
sub edx, edi
xchg esi, ebx
neg ebx
xchg esi, ebx
shl edi, 2
sar esi, 0x1f
and edi, esi
lea esi, [ebx + edi]
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 0xc], edx
mov byte [esp + 0x10], 0x13
call fcn.004feb00
mov eax, dword [esp + 0x124]
mov edi, dword [eax + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xe0], ecx
nop
test edi, edi
je 0x4ff37e
mov dword [esp + 0xf0], edi
mov ebx, dword [0x98d0b8]
mov ebp, dword [edi + 0x10]
test ebx, ebx
je 0x4ff367
mov dword [esp + 0x114], ebp
mov ecx, edi
call fcn.00471ac0
mov dword [edi], ebp
mov edx, dword [eax + 0x10]
mov dword [edi + 4], edx
lea edx, [0x711ae0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0040eb70
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0xe0]
mov ebp, dword [esp + 0x114]
mov edi, dword [esp + 0xf0]
mov dword [eax + 0x10], ebp
mov edx, eax
xor eax, eax
call fcn.00471d41
mov eax, edx
mov edi, dword [esp + 0xf0]
jmp 0x4ff39a
lea eax, [0x711ae0]
mov dword [esp], eax
call fcn.0040bc10
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x124]
inc dword [eax + 0x2c]
mov dword [esp + 0xf0], edi
mov byte [edi], 0x12
mov ebx, dword [edi + 0xc]
mov ebp, dword [edi + 4]
cmp ebx, 2
jae 0x4ff3eb
mov dword [esp], ebp
mov dword [esp + 4], 2
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
lea eax, [0x70d480]
mov dword [esp + 0x10], eax
call fcn.0046cad0
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x124]
mov edi, dword [esp + 0xf0]
mov esi, dword [0x98d0b8]
test esi, esi
jne 0x4ff409
mov ecx, edi
mov edx, ebx
mov ebx, dword [esp + 0xe0]
mov esi, dword [esp + 0x118]
jmp 0x4ff43a
mov ecx, edi
call fcn.00471b00
mov esi, dword [esp + 0x118]
mov dword [edi], esi
mov edx, dword [ebp]
mov dword [edi + 4], edx
mov edx, ebx
mov ebx, dword [esp + 0xe0]
mov dword [edi + 8], ebx
mov eax, dword [ebp + 4]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ebp
mov eax, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov dword [ebp], esi
mov dword [ebp + 4], ebx
mov dword [ecx + 8], 2
mov dword [ecx + 0xc], edx
mov dword [ecx + 4], ebp
mov ebx, dword [esp + 0x38]
inc ebx
mov ebp, dword [esp + 0x3c]
cmp ebp, ebx
jb 0x4ff463
mov eax, dword [esp + 0xf8]
jmp 0x4ff4a5
mov eax, dword [esp + 0xf8]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x70d480]
mov dword [esp + 0x10], eax
call fcn.0046cad0
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xf0]
mov edx, eax
mov eax, ebp
mov ebp, edx
mov esi, dword [0x98d0b8]
test esi, esi
je 0x4ff4bd
call fcn.00471ac0
mov dword [edi], ecx
mov esi, dword [eax + ebx*4 - 4]
mov dword [edi + 4], esi
mov dword [eax + ebx*4 - 4], ecx
mov ecx, dword [esp + 0x12c]
mov edx, dword [esp + 0x30]
mov esi, ebx
mov ebx, ebp
mov ebp, eax
mov eax, dword [esp + 0x128]
mov edx, dword [esp + 0x130]
mov edi, esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x70], eax
movzx eax, word [esp + 0x26]
mov word [esp + 0x24], ax
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x10c]
mov dword [esp + 0xe4], edx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
jmp 0x4fef5c
mov ecx, dword [esp + 0x38]
mov eax, ebp
mov edx, ebx
xor esi, esi
xor edi, edi
xor eax, eax
mov dword [esp + 0x104], eax
xor edx, edx
mov dword [esp + 0xd8], edx
mov eax, ebp
mov edx, ebx
jmp 0x4ff55e
mov edx, dword [esp + 0x30]
inc edx
mov dword [esp + 0xd8], edi
mov edi, esi
mov esi, edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x11c], ebp
cmp esi, ecx
jg 0x4ffa19
mov dword [esp + 0x30], esi
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd0], edi
jge 0x4ff6ed
jae 0x500086
mov edx, dword [eax + esi*4]
movzx ebp, byte [edx]
xchg ebp, eax
cmp al, 2
xchg ebp, eax
jne 0x4ff59c
xor edx, edx
jmp 0x4ff5bc
xchg ebp, eax
cmp al, 0x12
xchg ebp, eax
jne 0x4ff5bc
mov ebp, dword [edx + 8]
test ebp, ebp
je 0x4ff5bc
mov ebp, dword [edx + 4]
mov ebp, dword [ebp]
cmp byte [ebp], 2
jne 0x4ff5ba
xor edx, edx
jmp 0x4ff5bc
mov edx, ebp
mov ebp, dword [esp + 0x104]
test ebp, ebp
jne 0x4ff5dd
mov dword [esp + 0xb0], eax
xor eax, eax
mov byte [esp + 0x23], al
mov eax, dword [esp + 0xb0]
jmp 0x4ff624
mov dword [esp + 0x100], edx
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.00507800
movzx eax, byte [esp + 8]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x100]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0x104]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0xd0]
mov byte [esp + 0x23], al
mov eax, dword [esp + 0xf8]
movzx ebx, byte [esp + 0x23]
test bl, bl
je 0x4ff6d2
movzx ebx, byte [ebp]
cmp bl, 3
jne 0x4ff640
cmp dword [ebp + 0x18], 1
je 0x4ff6ab
cmp bl, 4
je 0x4ff6ab
cmp bl, 5
je 0x4ff6ab
cmp bl, 6
je 0x4ff6ab
cmp bl, 0x11
jne 0x4ff6d2
mov ebx, dword [ebp + 0x28]
cmp dword [ebp + 0x2c], ebx
jne 0x4ff6d2
mov ebx, dword [ebp + 8]
test ebx, ebx
jbe 0x50007d
mov ebx, dword [ebp + 4]
mov ebx, dword [ebx]
movzx eax, byte [ebx]
cmp al, 3
jne 0x4ff683
cmp dword [ebx + 0x18], 1
jne 0x4ff683
mov eax, dword [esp + 0xf8]
jmp 0x4ff6ab
cmp al, 4
jne 0x4ff691
mov eax, dword [esp + 0xf8]
jmp 0x4ff6ab
cmp al, 5
jne 0x4ff69f
mov eax, dword [esp + 0xf8]
jmp 0x4ff6ab
cmp al, 6
jne 0x4ff6cb
mov eax, dword [esp + 0xf8]
mov edx, dword [esp + 0x3c]
mov esi, edi
mov ebx, dword [esp + 0xd4]
mov edi, dword [esp + 0xd8]
mov ebp, dword [esp + 0x11c]
jmp 0x4ff54a
mov eax, dword [esp + 0xf8]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0x11c]
mov dword [esp + 0x118], edx
mov edx, dword [esp + 0x3c]
jmp 0x4ff704
mov dword [esp + 0xa8], eax
xor eax, eax
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0xa8]
cmp edi, esi
jne 0x4ff714
mov edi, dword [esp + 0xd8]
jmp 0x4ff9f8
lea edx, [edi + 1]
cmp esi, edx
jne 0x4ff7a5
cmp edi, ecx
jae 0x500076
mov edx, esi
mov esi, dword [esp + 0xd8]
inc esi
mov edi, dword [eax + edi*4]
cmp ebx, esi
jae 0x4ff77c
mov dword [esp + 0x114], edi
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x70d480]
mov dword [esp + 0x10], eax
call fcn.0046cad0
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x114]
mov eax, dword [0x98d0b8]
test eax, eax
je 0x4ff79c
mov eax, edi
call fcn.00471ac0
mov dword [edi], eax
mov ecx, dword [ebp + esi*4 - 4]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x38]
mov edi, eax
mov dword [ebp + esi*4 - 4], edi
jmp 0x4ff9e7
mov edx, dword [esp + 0x124]
jmp 0x4ffff3
mov edi, dword [esp + 0x3c]
cmp esi, edi
ja 0x500066
mov ebp, dword [esp + 0xd0]
cmp ebp, esi
ja 0x50005d
mov dword [esp], edx
sub edi, ebp
mov dword [esp + 0xd0], edi
sub esi, ebp
xchg edi, ebx
neg ebx
xchg edi, ebx
shl ebp, 2
sar edi, 0x1f
and ebp, edi
add ebp, eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov ebp, dword [esp + 0xd0]
mov dword [esp + 0xc], ebp
mov byte [esp + 0x10], 0x13
call fcn.004feb00
mov eax, dword [esp + 0x124]
mov edi, dword [eax + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xdc], ecx
nop
test edi, edi
je 0x4ff890
mov dword [esp + 0xec], edi
mov ebx, dword [0x98d0b8]
mov ebp, dword [edi + 0x10]
test ebx, ebx
je 0x4ff879
mov dword [esp + 0x114], ebp
mov ecx, edi
call fcn.00471ac0
mov dword [edi], ebp
mov edx, dword [eax + 0x10]
mov dword [edi + 4], edx
lea edx, [0x711ae0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0040eb70
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0xdc]
mov ebp, dword [esp + 0x114]
mov edi, dword [esp + 0xec]
mov dword [eax + 0x10], ebp
mov edx, eax
xor eax, eax
call fcn.00471d41
mov eax, edx
mov edi, dword [esp + 0xec]
jmp 0x4ff8ac
lea eax, [0x711ae0]
mov dword [esp], eax
call fcn.0040bc10
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x124]
inc dword [eax + 0x2c]
mov dword [esp + 0xec], edi
mov byte [edi], 0x12
mov ebx, dword [edi + 0xc]
mov ebp, dword [edi + 4]
cmp ebx, 2
jae 0x4ff8fd
mov dword [esp], ebp
mov dword [esp + 4], 2
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
lea eax, [0x70d480]
mov dword [esp + 0x10], eax
call fcn.0046cad0
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x124]
mov edi, dword [esp + 0xec]
mov esi, dword [0x98d0b8]
test esi, esi
jne 0x4ff91b
mov ecx, edi
mov edx, ebx
mov ebx, dword [esp + 0xdc]
mov esi, dword [esp + 0x104]
jmp 0x4ff94c
mov ecx, edi
call fcn.00471b00
mov esi, dword [esp + 0x104]
mov dword [edi], esi
mov edx, dword [ebp]
mov dword [edi + 4], edx
mov edx, ebx
mov ebx, dword [esp + 0xdc]
mov dword [edi + 8], ebx
mov eax, dword [ebp + 4]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ebp
mov eax, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov dword [ebp], esi
mov dword [ebp + 4], ebx
mov dword [ecx + 8], 2
mov dword [ecx + 0xc], edx
mov dword [ecx + 4], ebp
mov ebx, dword [esp + 0xd8]
inc ebx
mov ebp, dword [esp + 0xd4]
cmp ebp, ebx
jb 0x4ff97b
mov eax, dword [esp + 0x11c]
jmp 0x4ff9bd
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x70d480]
mov dword [esp + 0x10], eax
call fcn.0046cad0
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xec]
mov edx, eax
mov eax, ebp
mov ebp, edx
mov esi, dword [0x98d0b8]
test esi, esi
je 0x4ff9d5
call fcn.00471ac0
mov dword [edi], ecx
mov esi, dword [eax + ebx*4 - 4]
mov dword [edi + 4], esi
mov dword [eax + ebx*4 - 4], ecx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov esi, ebx
mov ebx, ebp
mov ebp, eax
mov eax, dword [esp + 0xf8]
mov edx, dword [esp + 0x3c]
mov edi, esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0xa0]
jmp 0x4ff54a
mov ecx, dword [esp + 0xd8]
mov eax, ebp
xor edx, edx
xor esi, esi
xor edi, edi
jmp 0x4ffa3f
inc esi
mov edx, esi
mov esi, ecx
mov edi, eax
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0xf8], ebp
mov dword [esp + 0x38], edi
cmp edx, ecx
jg 0x4ffd3c
jge 0x4ffaa0
jae 0x4fff97
mov eax, dword [eax + edx*4]
movzx ecx, byte [eax]
cmp cl, 3
jne 0x4ffa6b
cmp dword [eax + 0x18], 1
je 0x4ffa7a
cmp cl, 4
je 0x4ffa7a
cmp cl, 5
je 0x4ffa7a
cmp cl, 6
jne 0x4ffa92
mov edi, dword [esp + 0xd8]
mov ecx, esi
mov eax, dword [esp + 0x38]
mov esi, edx
mov edx, dword [esp + 0x11c]
jmp 0x4ffa2a
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x54], edx
cmp esi, edx
jne 0x4ffabb
cmp edx, ecx
mov edx, eax
mov esi, dword [esp + 0x54]
mov edi, ecx
mov eax, dword [esp + 0x38]
jmp 0x4ffca8
lea ebp, [esi + 1]
cmp edx, ebp
jne 0x4ffb7d
cmp esi, ecx
jae 0x4fff90
lea ebp, [edi + 1]
mov esi, dword [eax + esi*4]
cmp ebx, ebp
jb 0x4ffae1
mov edi, dword [esp + 0xf8]
jmp 0x4ffb33
mov dword [esp + 0x118], esi
mov eax, dword [esp + 0xf8]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x70d480]
mov dword [esp + 0x10], eax
call fcn.0046cad0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x118]
mov edi, ebp
mov ebp, eax
mov eax, dword [0x98d0b8]
test eax, eax
jne 0x4ffb41
cmp edx, ecx
jmp 0x4ffb63
mov dword [esp + 0xcc], ebx
mov eax, edi
call fcn.00471ac0
mov dword [edi], esi
mov ebx, dword [eax + ebp*4 - 4]
mov dword [edi + 4], ebx
cmp edx, ecx
mov ebx, dword [esp + 0xcc]
mov edi, eax
mov dword [edi + ebp*4 - 4], esi
mov edx, dword [esp + 0x11c]
mov esi, dword [esp + 0x54]
mov eax, ebp
mov ebp, edi
mov edi, ecx
jmp 0x4ffca8
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xc4], esi
jmp 0x4ffe5c
mov ebp, dword [esp + 0xc4]
cmp ebp, ecx
jae 0x4fff7b
mov ebx, dword [eax + ebp*4]
cmp esi, ecx
jae 0x4fff74
mov edi, dword [0x98d0b8]
mov ecx, dword [eax + esi*4]
test edi, edi
je 0x4ffbd8
call fcn.00471ae0
mov dword [edi], ecx
mov edx, dword [eax + ebp*4]
mov dword [edi + 4], edx
mov dword [edi + 8], ebx
mov edx, dword [eax + esi*4]
mov dword [edi + 0xc], edx
mov edx, dword [esp + 0x54]
mov dword [eax + ebp*4], ecx
mov dword [eax + esi*4], ebx
mov ecx, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd4]
jmp 0x4ffeb9
mov ecx, dword [eax + ebp*4]
mov dword [esp], ecx
call fcn.004fe940
mov eax, dword [esp + 0x38]
inc eax
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0x11c]
mov ecx, dword [edx + ecx*4]
mov ebx, dword [esp + 0xc8]
cmp ebx, eax
jb 0x4ffc26
mov ebp, dword [esp + 0xf8]
jmp 0x4ffc70
mov dword [esp + 0x118], ecx
mov ecx, dword [esp + 0xf8]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x70d480]
mov dword [esp + 0x10], eax
call fcn.0046cad0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x11c]
mov esi, dword [0x98d0b8]
test esi, esi
jne 0x4ffc89
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0xd8]
cmp esi, edi
jmp 0x4ffca4
call fcn.00471ac0
mov dword [edi], ecx
mov esi, dword [ebp + eax*4 - 4]
mov dword [edi + 4], esi
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0xd8]
cmp esi, edi
mov dword [ebp + eax*4 - 4], ecx
jge 0x4ffd34
jae 0x4fff64
inc eax
mov ecx, dword [edx + esi*4]
cmp ebx, eax
jae 0x4ffd0a
mov dword [esp + 0x118], ecx
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x70d480]
mov dword [esp + 0x10], eax
call fcn.0046cad0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x11c]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0xd8]
mov edx, dword [0x98d0b8]
test edx, edx
je 0x4ffd29
call fcn.00471ac0
mov dword [edi], ecx
mov edx, dword [ebp + eax*4 - 4]
mov dword [edi + 4], edx
mov edi, dword [esp + 0xd8]
mov dword [ebp + eax*4 - 4], ecx
mov edx, dword [esp + 0x11c]
lea ecx, [esi + 1]
jmp 0x4ffa2a
mov eax, ebp
xor ecx, ecx
xor edx, edx
jmp 0x4ffd4d
mov eax, dword [esp + 0xf8]
mov ecx, esi
cmp ecx, edi
jge 0x4ffe12
lea esi, [ecx + 1]
cmp edi, esi
jle 0x4ffd97
mov dword [esp + 0x110], ebp
mov ebp, dword [eax + ecx*4]
cmp byte [ebp], 2
jne 0x4ffd90
cmp edi, esi
jbe 0x4ffe2e
mov ebp, dword [eax + ecx*4 + 4]
cmp byte [ebp], 2
jne 0x4ffd87
mov ebp, dword [esp + 0x110]
jmp 0x4ffd44
mov ebp, dword [esp + 0x110]
jmp 0x4ffd97
mov ebp, dword [esp + 0x110]
inc edx
mov ecx, dword [eax + ecx*4]
cmp ebx, edx
jae 0x4ffded
mov dword [esp + 0xc0], esi
mov dword [esp + 0x118], ecx
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x70d480]
mov dword [esp + 0x10], eax
call fcn.0046cad0
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x118]
mov esi, dword [esp + 0xc0]
mov edi, dword [esp + 0x38]
mov eax, dword [0x98d0b8]
test eax, eax
je 0x4ffe09
call fcn.00471ac0
mov dword [edi], ecx
mov eax, dword [ebp + edx*4 - 4]
mov dword [edi + 4], eax
mov edi, dword [esp + 0x38]
mov dword [ebp + edx*4 - 4], ecx
jmp 0x4ffd44
mov dword [esp + 0x134], ebp
mov dword [esp + 0x138], edx
mov dword [esp + 0x13c], ebx
add esp, 0x120
ret
mov eax, esi
mov ecx, edi
call fcn.00471b30
inc eax
mov ecx, dword [esp + 0xd8]
mov ebx, dword [esp + 0x11c]
mov ebx, dword [esp + 0xc8]
mov edi, dword [esp + 0x38]
mov esi, ebp
mov ebp, eax
mov eax, dword [esp + 0x11c]
cmp ebp, edx
jge 0x4ffb97
cmp esi, ecx
jae 0x4fff89
mov ebx, dword [eax + esi*4]
cmp ebp, ecx
jae 0x4fff82
movzx edi, byte [ebx]
mov eax, dword [eax + ebp*4]
movzx ecx, byte [eax]
xchg edi, eax
cmp cl, al
xchg edi, eax
ja 0x4ffe90
jne 0x4ffe94
mov edi, dword [eax + 0x18]
cmp dword [ebx + 0x18], edi
jge 0x4ffe94
mov eax, ebp
jmp 0x4ffe37
mov eax, ebp
mov ebp, esi
jmp 0x4ffe37
mov dword [ebp + 0x10], edi
mov dword [eax + 0x10], ebp
lea esi, [edx + 1]
mov ecx, dword [esp + 0xd8]
mov ebp, dword [esp + 0xc4]
mov edx, dword [esp + 0x54]
mov eax, ebx
mov ebx, esi
cmp ebx, edx
jge 0x4ffbf1
mov esi, dword [eax + ebp*4]
cmp ebx, ecx
jae 0x4fff6d
mov dword [esp + 0x40], ebx
mov ecx, dword [eax + ebx*4]
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.00502220
mov eax, dword [esp + 0x124]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x11c]
mov ebp, dword [ebx + edx*4]
test ecx, ecx
je 0x4fff31
mov dword [esp + 0xe8], ebp
lea edx, [0x6e44c0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.0040d3e0
mov eax, dword [esp + 0x124]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x11c]
mov ebp, dword [esp + 0xe8]
test byte [ebp], al
mov esi, dword [0x98d0b8]
mov edi, dword [eax + 0x10]
test esi, esi
je 0x4ffe9a
mov ecx, edi
call fcn.00471ae0
mov dword [edi], ecx
mov esi, dword [ebp + 0x10]
mov dword [edi + 4], esi
mov dword [edi + 8], ebp
mov esi, dword [eax + 0x10]
mov dword [edi + 0xc], esi
mov edi, ecx
jmp 0x4ffe9a
mov eax, esi
mov ecx, edi
call fcn.00471b30
mov eax, ebx
call fcn.00471b30
mov eax, esi
call fcn.00471b30
mov eax, ebp
call fcn.00471b30
mov eax, ebp
call fcn.00471b30
mov eax, esi
call fcn.00471b30
mov eax, esi
call fcn.00471b30
mov eax, edx
call fcn.00471b30
mov dword [edx + eax*4], ecx
mov ebx, dword [esp + 0x124]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004fd180
mov eax, dword [esp + 0x44]
lea edi, [eax + 1]
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x124]
mov edx, dword [esp + 0xd0]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
mov ecx, ebx
mov edx, dword [esp + 0x124]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0x11c]
mov esi, dword [esp + 0x30]
cmp edi, esi
jge 0x4ff7b1
cmp edi, ecx
jae 0x50006f
mov dword [esp + 0x44], edi
mov ecx, dword [eax + edi*4]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xd0]
cmp edi, ecx
setne bl
mov byte [esp + 8], bl
call fcn.00500520
mov eax, dword [0x98d0b8]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x500040
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0xf8]
jmp 0x4fff9e
call fcn.00471ac0
mov dword [edi], ecx
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0xf8]
mov ebx, dword [edx + eax*4]
mov dword [edi + 4], ebx
jmp 0x4fff9e
mov eax, ebp
mov ecx, esi
call fcn.00471b90
mov ecx, esi
mov edx, edi
call fcn.00471b70
mov eax, edi
call fcn.00471b30
mov eax, edi
call fcn.00471b30
xor eax, eax
mov ecx, eax
call fcn.00471b30
mov eax, esi
call fcn.00471b30
mov dword [edx + eax*4], ecx
mov ebx, dword [esp + 0x124]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004fd180
mov eax, dword [esp + 0x48]
lea edi, [eax + 1]
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x124]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x12c]
mov ebp, dword [esp + 0x30]
mov eax, ebx
mov ecx, dword [esp + 0x118]
mov edx, ebp
mov ebx, dword [esp + 0x128]
mov ebp, dword [esp + 0x124]
mov esi, dword [esp + 0x28]
cmp edi, edx
jge 0x4ff29b
cmp eax, edi
jbe 0x500154
mov dword [esp + 0x48], edi
mov eax, dword [ebx + edi*4]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.005002a0
mov eax, dword [0x98d0b8]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x500125
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x128]
jmp 0x50008d
call fcn.00471ac0
mov dword [edi], ecx
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x128]
mov ebx, dword [edx + eax*4]
mov dword [edi + 4], ebx
jmp 0x50008d
mov eax, edi
mov ecx, edx
call fcn.00471b90
mov ecx, edx
mov edx, esi
call fcn.00471b70
mov ecx, eax
mov eax, edi
call fcn.00471b30
mov eax, edi
call fcn.00471b30
mov ebp, dword [esp + 0xf8]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xd8], eax
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x2c], ecx
mov word [esp + 0x80], dx
mov edx, dword [esp + 0xfc]
mov dword [esp + 0x10c], edx
mov dword [esp + 0x78], ebx
movzx ebx, word [esp + 0x80]
mov word [esp + 0x26], bx
mov edx, dword [esp + 0x130]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x78]
jmp 0x4ff059
lea eax, [ebx + 1]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0xe4]
mov ecx, dword [esp + 0x12c]
mov ebx, dword [esp + 0x3c]
movzx ebp, word [esp + 0x24]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x128]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x34]
cmp esi, ebx
jle 0x500240
mov ebp, dword [esp + 0x4c]
cmp ebx, ebp
jge 0x500244
mov ebp, dword [esp + 0xe4]
mov eax, dword [ebp + ebx*4]
mov ebp, dword [esp + 0xfc]
lea ecx, [ebp + ebx*4]
cmp dword [ecx], eax
je 0x5001d1
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x12c]
mov ebp, dword [esp + 0x4c]
jmp 0x500244
mov ebp, dword [esp + 0x4c]
test ebx, ebx
jle 0x500271
mov edx, dword [esp + 0x2c]
cmp edx, ebx
jb 0x500283
mov edx, dword [esp + 0x130]
mov esi, edi
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0xf8]
jmp 0x4fef5c
mov ebx, dword [esp + 0x3c]
movzx ebp, word [esp + 0x24]
mov esi, dword [esp + 0x30]
jmp 0x500164
mov ecx, ebx
call fcn.00471b70
mov eax, esi
call fcn.00471b30
nop
call fcn.004706b0
jmp fcn.004feec0