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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
mov ebx, dword [eax + 8]
push esi
xor esi, esi
cmp dword [ebp + 0x20], esi
push edi
setne byte [esp + 0xf]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x54], esi
mov byte [esp + 0x43], 0
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x48], ecx
cmp ebx, esi
je 0x4fa4dc
mov dword [esp + 0x50], ebx
jmp 0x4fa4fa
cmp dword [eax + 0x74], esi
jne 0x4fa4eb
test byte [ecx + 0x44], 8
jne 0x4fa4eb
mov byte [eax + 0x17], 1
mov ebx, eax
call fcn.004cbf10
mov dword [esp + 0x50], eax
xor esi, esi
mov ebx, eax
mov eax, dword [ebp + 0xc]
test byte [eax + 0x24], 0x20
movsx edi, word [eax + 0x2a]
mov dword [esp + 0x44], edi
jne 0x4fa519
mov dword [esp + 0x30], esi
mov dword [esp + 0x58], 1
jmp 0x4fa53e
mov eax, dword [eax + 8]
cmp eax, esi
je 0x4fa532
mov ecx, dword [eax + 0x38]
and cl, 3
cmp cl, 2
je 0x4fa532
mov eax, dword [eax + 0x14]
cmp eax, esi
jne 0x4fa520
movzx edx, word [eax + 0x32]
mov dword [esp + 0x30], eax
mov dword [esp + 0x58], edx
xor edx, edx
cmp edi, esi
mov dword [esp + 0x10], edx
jle 0x4fa6f0
mov dword [esp + 0x18], edx
mov eax, dword [ebp + 0xc]
movsx esi, word [eax + 0x28]
mov ecx, dword [ebp + 0x34]
mov edi, dword [ebp + 8]
cmp edx, esi
je 0x4fa6d8
test ecx, ecx
je 0x4fa573
cmp dword [ecx + edx*4], 0
jl 0x4fa6d8
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x18]
movzx esi, byte [eax + ecx + 0xc]
add eax, ecx
test esi, esi
je 0x4fa6d8
mov cl, byte [ebp + 0x28]
cmp cl, 0xb
je 0x4fa596
movzx esi, cl
jmp 0x4fa59b
cmp esi, 0xb
je 0x4fa5a6
cmp esi, 5
jne 0x4fa5ab
cmp dword [eax + 4], 0
jne 0x4fa5ab
mov esi, 2
lea eax, [esi - 1]
cmp eax, 3
ja case.default.0x4fa5b7
jmp dword [eax*4 + 0x4fb9f4]
mov eax, dword [edi + 0x74]
test eax, eax
jne 0x4fa5c7
mov eax, edi
mov byte [eax + 0x15], 1
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + edx]
mov eax, dword [eax]
mov edi, dword [esp + 0x48]
push edx
push eax
push str._s._s
call fcn.004ad7b0
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov edi, eax
lea eax, [edx + ecx + 1]
push eax
push esi
push 0x513
push 0x44
push ebx
call fcn.004cc1f0
mov ecx, dword [ebx]
add esp, 0x14
cmp byte [ecx + 0x49], 0
je 0x4fa622
mov eax, edi
mov edx, 0xfffffff9
call fcn.004cccf0
jmp 0x4fa639
mov eax, dword [ebx + 0x88]
mov edx, dword [ebx + 0x58]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4 - 0x14]
mov byte [eax + 1], 0xf9
mov dword [eax + 0x10], edi
mov eax, dword [ebx + 0x88]
test eax, eax
jle 0x4fa6d8
mov ecx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
mov edx, 1
mov word [ecx + eax*4 - 0x12], dx
jmp 0x4fa6d8
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x1c]
push 0
push eax
lea edx, [edx + ecx + 1]
push edx
push 0x32
push ebx
call fcn.004cc1f0
add esp, 0x14
jmp 0x4fa6d8
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0
push 0
lea edi, [ecx + eax + 1]
push edi
push 0x33
push ebx
call fcn.004cc1f0
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [edx + 4]
mov edx, dword [ecx + eax + 4]
mov eax, dword [ebp + 8]
add esp, 0x14
push edi
push edx
push eax
call fcn.004e53f0
mov eax, dword [ebx + 0x88]
add esp, 0xc
test esi, esi
jge 0x4fa6bd
lea esi, [eax - 1]
mov ecx, dword [ebx]
cmp byte [ecx + 0x49], 0
je 0x4fa6cc
mov ecx, 0x6403fc
jmp 0x4fa6d5
mov ecx, dword [ebx + 0x58]
lea edx, [esi + esi*4]
lea ecx, [ecx + edx*4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x10]
add dword [esp + 0x18], 0x10
inc edx
cmp edx, dword [esp + 0x44]
mov dword [esp + 0x10], edx
jl 0x4fa550
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
mov dword [esp + 0x4c], eax
test eax, eax
je 0x4fa8c9
mov ecx, dword [esp + 0x48]
test dword [ecx + 0x1c], 0x200
jne 0x4fa8c9
mov ecx, dword [ebp + 8]
or edx, 0xffffffff
sub edx, dword [ebp + 0x1c]
mov dword [ecx + 0x38], edx
mov cl, byte [ebp + 0x28]
cmp cl, 0xb
je 0x4fa730
movzx edx, cl
mov dword [esp + 0x24], edx
jmp 0x4fa738
mov dword [esp + 0x24], 2
cmp dword [eax], 0
mov dword [esp + 0x10], 0
jle 0x4fa8bf
add eax, 8
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx - 4]
mov ecx, dword [ebp + 0x34]
mov dword [esp + 0x44], edi
test ecx, ecx
je 0x4fa7cd
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
xor al, al
mov byte [esp + 0x88], al
mov dword [esp + 0x78], 0x4fa3f0
mov dword [esp + 0x8c], ecx
test edi, edi
je 0x4fa7bd
lea edx, [esp + 0x74]
push edi
push edx
call fcn.004dd300
mov al, byte [esp + 0x90]
add esp, 8
cmp byte [ebp + 0x24], 0
jne 0x4fa7c5
and al, 0xfd
test al, al
je 0x4fa8a5
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x3c]
lea edx, [eax + 1]
mov dword [ecx + 0x3c], edx
lea edx, [eax - 1]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
test eax, edx
jne 0x4fa814
lea ecx, [eax*8 + 4]
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 0x40]
mov esi, dword [eax]
push 0
push ecx
call fcn.004aba40
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x4c]
mov dword [edx + 0x40], eax
mov eax, dword [esp + 0x30]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x40]
test ecx, ecx
je 0x4fa822
mov dword [ecx + eax*4], 0xffffffff
or esi, 0xffffffff
sub esi, eax
mov eax, dword [ebp + 8]
push 0x10
push esi
push edi
push eax
call fcn.004e57e0
add esp, 0x10
cmp dword [esp + 0x24], 4
jne 0x4fa853
mov ecx, dword [ebp + 0x2c]
push 0
push ecx
push 0
push 0xb
push ebx
call fcn.004cc1f0
add esp, 0x14
jmp 0x4fa88a
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
test eax, eax
jne 0x4fa862
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp dword [esp + 0x24], 5
jne 0x4fa871
mov dword [esp + 0x24], 2
mov edi, dword [esp + 0x24]
push 3
push 0
push eax
mov eax, dword [ebp + 8]
push 0x113
call fcn.004f1320
add esp, 0x10
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x4fa8a5
mov edx, dword [ebx + 0x88]
lea ecx, [esi*4 + 4]
sub eax, ecx
mov dword [eax], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
add dword [esp + 0x18], 0x18
inc eax
cmp eax, dword [ecx]
mov dword [esp + 0x10], eax
jl 0x4fa750
mov edx, dword [ebp + 8]
mov dword [edx + 0x38], 0
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x4fa902
cmp dword [eax], 0
jne 0x4fa8e2
mov byte [ebp + 0x28], 4
mov dword [ebp + 0x38], 0
jmp 0x4fa902
mov eax, dword [eax + 0x10]
mov dword [esp + 0x54], eax
test eax, eax
je 0x4fa902
push 0
push 0
push 0
push 0xb
push ebx
call fcn.004cc1f0
add esp, 0x14
mov dword [esp + 0x68], eax
cmp byte [ebp + 0x24], 0
je 0x4fab84
cmp dword [esp + 0x30], 0
jne 0x4fab84
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x3c]
lea edx, [eax + 1]
mov dword [ecx + 0x3c], edx
lea edx, [eax - 1]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
test eax, edx
jne 0x4fa95a
lea ecx, [eax*8 + 4]
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 0x40]
mov esi, dword [eax]
push 0
push ecx
call fcn.004aba40
mov edx, dword [esp + 0x28]
mov dword [edx + 0x40], eax
mov eax, dword [esp + 0x30]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x40]
test ecx, ecx
je 0x4fa968
mov dword [ecx + eax*4], 0xffffffff
mov dl, byte [ebp + 0x28]
mov ecx, dword [ebp + 0xc]
movzx esi, byte [ecx + 0x30]
or edi, 0xffffffff
sub edi, eax
mov dword [esp + 0x44], edi
cmp dl, 0xb
je 0x4fa985
movzx esi, dl
jmp 0x4fa98f
cmp esi, 0xb
jne 0x4fa98f
mov esi, 2
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x4fa9ac
cmp dword [eax + 0x10], 0
jne 0x4fa9ac
xor ecx, ecx
cmp dword [eax + 8], ecx
setne cl
lea ecx, [ecx + ecx + 4]
mov esi, ecx
jmp 0x4fa9d2
cmp esi, 5
jne 0x4fa9d2
cmp dl, 5
je 0x4fa9d2
cmp dword [ecx + 8], 0
je 0x4fa9d2
push 0
push 0
push 0
push 0xb
push ebx
call fcn.004cc1f0
add esp, 0x14
inc eax
mov dword [esp + 0x64], eax
cmp byte [esp + 0xf], 0
je 0x4faa07
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
push edx
push edi
push eax
push 0x35
push ebx
call fcn.004cc1f0
mov eax, dword [ebx + 0x88]
add esp, 0x14
test eax, eax
jle 0x4faa07
mov edx, dword [ebx + 0x58]
lea ecx, [eax + eax*4]
mov eax, 0x90
mov word [edx + ecx*4 - 0x12], ax
mov ecx, dword [ebp + 0x1c]
push ecx
push edi
mov edi, dword [ebp + 0x14]
push edi
push 0x1f
push ebx
call fcn.004cc1f0
lea eax, [esi - 1]
add esp, 0x14
cmp eax, 5
ja case.default.0x4faa27
jmp dword [eax*4 + 0x4fba04]
mov edx, dword [esp + 0x48]
mov esi, dword [ebp + 8]
xor edi, edi
test dword [edx + 0x1c], 0x2000
je 0x4faa57
mov edx, dword [ebp + 0xc]
push edi
push edi
push 0x75
mov eax, esi
call fcn.0050cb50
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4faaa0
mov eax, dword [ebp + 0xc]
push 0
push eax
xor ecx, ecx
mov eax, esi
call fcn.004f8280
add esp, 8
test eax, eax
jne 0x4faaa0
mov edx, dword [ebp + 0xc]
cmp dword [edx + 8], eax
je 0x4faad1
mov ecx, esi
call fcn.004f12e0
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push 0xffffffffffffffff
push 0
push ecx
push eax
push esi
mov ecx, edx
call fcn.004f3480
add esp, 0x14
mov dword [esp + 0x5c], 1
jmp 0x4fab1a
mov eax, dword [esi + 0x74]
test eax, eax
jne 0x4faaa9
mov eax, esi
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push 0xffffffffffffffff
push 1
push 5
push 0
push 1
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov byte [eax + 0x14], 1
mov eax, dword [ebp + 0x14]
push eax
push edi
push ecx
push esi
call fcn.004f3170
add esp, 0x2c
mov dword [esp + 0x5c], 1
jmp 0x4fab1a
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp + 8]
push edi
push 0
push edx
push eax
mov eax, dword [ebp + 0xc]
call fcn.0050f610
add esp, 0x10
mov ecx, dword [ebp + 0x2c]
push 0
push ecx
push 0
push 0xb
push ebx
call fcn.004cc1f0
add esp, 0x14
jmp 0x4fab1a
mov esi, 2
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
call fcn.004f15e0
add esp, 4
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x4fab39
mov edx, dword [esp + 0x44]
lea ecx, [edx*4 + 4]
mov edx, dword [ebx + 0x88]
sub eax, ecx
mov dword [eax], edx
mov esi, dword [esp + 0x64]
test esi, esi
je 0x4fab84
push 0
push 0
push 0
push 0xb
push ebx
call fcn.004cc1f0
mov ecx, dword [ebx + 0x88]
mov dword [esp + 0x84], eax
lea eax, [esi - 1]
add esp, 0x14
test eax, eax
jge 0x4fab69
lea eax, [ecx - 1]
mov edx, dword [ebx]
cmp byte [edx + 0x49], 0
je 0x4fab78
mov eax, 0x6403fc
jmp 0x4fab81
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
test eax, eax
je 0x4fb93b
xor edi, edi
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x18]
cmp dword [ecx + edx*4], edi
je 0x4fb922
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x14]
jne 0x4fac4d
mov esi, dword [esp + 0x68]
mov edx, dword [ebx + 0xc]
lea ecx, [esi + 1]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebx + 0x88]
cmp dword [edx + 0x30], ecx
jg 0x4fabe8
push edi
push edi
push edi
push 0xb
mov eax, ebx
call fcn.004cc1b0
add esp, 0x10
jmp 0x4fac14
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
xor edx, edx
mov byte [eax], 0xb
mov word [eax + 2], dx
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], dl
mov eax, ecx
cmp esi, edi
mov ecx, dword [ebx + 0x88]
mov dword [esp + 0x6c], eax
mov eax, esi
jge 0x4fac27
lea eax, [ecx - 1]
mov edx, dword [ebx]
cmp byte [edx + 0x49], 0
je 0x4fac3c
mov eax, 0x6403fc
mov dword [eax + 8], ecx
jmp 0x4fad4c
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
jmp 0x4fad4c
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x3c]
lea edx, [eax + 1]
mov dword [ecx + 0x3c], edx
lea edx, [eax - 1]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
test eax, edx
jne 0x4fad35
mov edx, dword [esp + 0x20]
mov edi, dword [edx + 0x40]
mov esi, dword [edx]
lea eax, [eax*8 + 4]
xor ecx, ecx
mov dword [esp + 0x90], eax
test edi, edi
jne 0x4fac94
push ecx
push eax
mov eax, esi
call fcn.004ab890
jmp 0x4facd1
cmp edi, dword [esi + 0x128]
jb 0x4facc8
cmp edi, dword [esi + 0x12c]
jae 0x4facc8
movzx eax, word [esi + 0x10c]
cdq
cmp ecx, edx
ja 0x4facc1
jb 0x4facbb
cmp dword [esp + 0x90], eax
ja 0x4facc1
mov dword [esp + 0x2c], edi
jmp 0x4facd8
mov eax, dword [esp + 0x90]
push ecx
push eax
mov eax, edi
call fcn.004ab9a0
mov dword [esp + 0x34], eax
add esp, 8
cmp dword [esp + 0x2c], 0
jne 0x4fad24
test edi, edi
je 0x4fad24
test esi, esi
je 0x4fad1b
cmp dword [esi + 0x1d8], 0
je 0x4facfb
mov eax, edi
mov ecx, esi
call fcn.004ab500
jmp 0x4fad24
cmp edi, dword [esi + 0x128]
jb 0x4fad1b
cmp edi, dword [esi + 0x12c]
jae 0x4fad1b
mov eax, dword [esi + 0x124]
mov dword [edi], eax
mov dword [esi + 0x124], edi
jmp 0x4fad24
push edi
call fcn.004ab490
add esp, 4
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x40], edx
xor edi, edi
mov ecx, dword [ecx + 0x40]
cmp ecx, edi
je 0x4fad43
mov dword [ecx + eax*4], 0xffffffff
or ecx, 0xffffffff
sub ecx, eax
mov dword [esp + 0x3c], ecx
cmp byte [esp + 0x43], 0
jne 0x4fad77
mov eax, dword [esp + 0x54]
cmp eax, edi
je 0x4fad61
cmp eax, dword [esp + 0x14]
jne 0x4fad77
mov eax, dword [ebp + 0x1c]
inc eax
push eax
mov eax, dword [ebp + 0xc]
push ebx
call fcn.004f8dc0
add esp, 8
mov byte [esp + 0x43], 1
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add edx, ecx
mov dword [esp + 0x2c], edx
cmp dword [eax + 0x24], edi
je 0x4fae48
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + edx*4]
mov eax, dword [ebx + 0x88]
mov edx, dword [ebx + 0xc]
cmp dword [edx + 0x30], eax
jg 0x4fadbc
xor esi, esi
push esi
push ecx
push esi
push 0x49
mov eax, ebx
call fcn.004cc1b0
add esp, 0x10
jmp 0x4fade9
lea edx, [eax + 1]
mov dword [ebx + 0x88], edx
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
xor esi, esi
mov byte [eax], 0x49
mov word [eax + 2], dx
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x14]
mov edi, dword [ecx]
or eax, 0xffffffff
sub eax, dword [ebp + 0x1c]
mov dword [ecx + 0x38], eax
mov eax, dword [edx + 0x24]
cmp eax, esi
je 0x4fae14
push 0
push 0
push eax
push edi
call fcn.004e0c80
add esp, 0x10
mov esi, eax
jmp 0x4fae16
xor esi, esi
cmp byte [edi + 0x49], 0
jne 0x4fae30
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 8]
push 0x10
push eax
push esi
push ecx
call fcn.004e5b70
add esp, 0x10
test esi, esi
je 0x4fae3e
push esi
push edi
call fcn.004e0a30
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x38], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
mov esi, dword [eax + ecx*4]
mov eax, dword [esp + 0x14]
inc esi
xor edx, edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], 0
cmp dx, word [eax + 0x34]
jae 0x4fb074
mov edi, esi
xor esi, esi
mov dword [esp + 0x24], esi
jmp 0x4fae80
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x10]
movsx eax, word [ecx + eax*2]
cmp eax, 0xfffffffe
jne 0x4fafd4
mov ecx, dword [ebp + 8]
or eax, 0xffffffff
sub eax, dword [ebp + 0x1c]
mov dword [ecx + 0x38], eax
mov edx, dword [edx + 0x28]
mov eax, dword [esp + 0x24]
mov eax, dword [edx + eax + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x34], ecx
cmp eax, esi
je 0x4faecd
push esi
push esi
push eax
mov edx, ecx
push edx
call fcn.004e0c80
add esp, 0x10
mov dword [esp + 0x1c], eax
jmp 0x4faed1
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x49], 0
jne 0x4fafb4
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x4faf47
cmp byte [eax], 0xa4
jne 0x4faf47
mov ecx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [eax + 0x88]
mov esi, dword [eax + 0xc]
cmp dword [esi + 0x30], ecx
jg 0x4faf19
xor esi, esi
push esi
push edi
push edx
push 0x4e
call fcn.004cc1b0
add esp, 0x10
jmp 0x4fafb4
lea esi, [ecx + 1]
mov dword [eax + 0x88], esi
mov eax, dword [eax + 0x58]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
xor ecx, ecx
xor esi, esi
mov byte [eax], 0x4e
mov word [eax + 2], cx
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [eax + 1], cl
jmp 0x4fafb4
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
push edi
push edx
push eax
call fcn.004e43f0
add esp, 0xc
cmp eax, edi
je 0x4fafb4
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
cmp ecx, esi
je 0x4fafb4
mov edx, dword [ecx + 0x88]
mov esi, dword [ecx + 0xc]
cmp dword [esi + 0x30], edx
jg 0x4faf88
xor esi, esi
push esi
push edi
push eax
push 0x4f
mov eax, ecx
call fcn.004cc1b0
add esp, 0x10
jmp 0x4fafb4
lea esi, [edx + 1]
mov dword [ecx + 0x88], esi
mov ecx, dword [ecx + 0x58]
lea edx, [edx + edx*4]
lea ecx, [ecx + edx*4]
xor edx, edx
xor esi, esi
mov byte [ecx], 0x4f
mov word [ecx + 2], dx
mov dword [ecx + 4], eax
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x10], esi
mov byte [ecx + 1], dl
cmp dword [esp + 0x1c], esi
je 0x4fafcc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
push eax
push ecx
call fcn.004e0a30
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x38], esi
jmp 0x4fb051
cmp eax, 0xffffffff
je 0x4faff1
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 0x28]
cmp eax, edx
je 0x4faff1
mov ecx, dword [ebp + 0x1c]
lea edx, [eax + ecx + 1]
mov dword [esp + 0x34], edx
jmp 0x4faff8
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x34], ecx
mov edx, dword [ebx + 0xc]
xor ecx, ecx
cmp eax, esi
mov eax, dword [ebx + 0x88]
setl cl
add ecx, 0x4f
cmp dword [edx + 0x30], eax
jg 0x4fb024
mov eax, dword [esp + 0x34]
push esi
push edi
push eax
push ecx
mov eax, ebx
call fcn.004cc1b0
add esp, 0x10
jmp 0x4fb051
lea edx, [eax + 1]
mov dword [ebx + 0x88], edx
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x34]
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
movzx edx, word [ecx + 0x34]
add dword [esp + 0x24], 0x18
inc eax
inc edi
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x4fae80
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ebx + 0x88]
mov edi, dword [ebx + 0xc]
cmp dword [edi + 0x30], eax
mov edx, dword [esp + 0x14]
movzx edx, word [edx + 0x34]
jg 0x4fb0a5
push ecx
push edx
push esi
push 0x66
mov eax, ebx
call fcn.004cc1b0
add esp, 0x10
jmp 0x4fb0d0
lea edi, [eax + 1]
mov dword [ebx + 0x88], edi
mov edi, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
xor edi, edi
mov byte [eax], 0x66
mov word [eax + 2], di
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
cmp byte [esp + 0xf], 0
mov edi, dword [esp + 0x14]
je 0x4fb10f
cmp dword [esp + 0x30], edi
jne 0x4fb10f
cmp byte [ebp + 0x24], 0
jne 0x4fb10f
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x4fb922
mov ecx, dword [esp + 0x3c]
lea edx, [ecx*4 + 4]
mov ecx, dword [ebx + 0x88]
sub eax, edx
mov dword [eax], ecx
jmp 0x4fb922
movzx eax, byte [edi + 0x36]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4fb143
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x4fb922
mov edx, dword [esp + 0x3c]
lea ecx, [edx*4 + 4]
mov edx, dword [ebx + 0x88]
sub eax, ecx
mov dword [eax], edx
jmp 0x4fb922
mov cl, byte [ebp + 0x28]
cmp cl, 0xb
je 0x4fb150
movzx eax, cl
jmp 0x4fb15a
cmp eax, 0xb
jne 0x4fb15e
mov eax, 2
mov dword [esp + 0x24], eax
cmp dword [esp + 0x54], edi
jne 0x4fb177
mov ecx, dword [ebp + 0x38]
xor eax, eax
cmp dword [ecx + 8], eax
setne al
lea eax, [eax + eax + 4]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x18], 0
jne 0x4fb1ea
cmp dword [edi + 0x14], 0
jne 0x4fb1ea
cmp dword [esp + 0x30], edi
jne 0x4fb1ea
mov edi, dword [ebp + 8]
cmp eax, 5
jne 0x4fb1ed
mov edx, dword [esp + 0x48]
test dword [edx + 0x1c], 0x2000
je 0x4fb1b6
mov edx, dword [ebp + 0xc]
push 0
push 0
push 0x75
mov eax, edi
call fcn.0050cb50
add esp, 0xc
test eax, eax
jne 0x4fb1ed
mov eax, dword [esp + 0x48]
test dword [eax + 0x1c], 0x4000
je 0x4fb11b
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x10], 0
jne 0x4fb1ed
mov eax, dword [ecx + 0x48]
mov ebx, dword [ecx]
add eax, 0x38
call fcn.004afeb0
mov ebx, dword [esp + 0x50]
test eax, eax
jne 0x4fb1ed
jmp 0x4fb11b
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x14]
movzx ecx, word [eax + 0x32]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 0x88]
cmp dword [edx + 0x30], ecx
jg 0x4fb220
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
push esi
push eax
push ecx
push 0x1b
mov eax, ebx
call fcn.004cc1b0
add esp, 0x10
jmp 0x4fb259
lea edx, [ecx + 1]
mov dword [ebx + 0x88], edx
mov edx, dword [ebx + 0x58]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov byte [eax], 0x1b
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, ecx
mov ecx, dword [ebx]
cmp byte [ecx + 0x49], 0
jne 0x4fb275
mov ecx, dword [esp + 0x28]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea eax, [eax + edx*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x30]
jne 0x4fb283
mov ecx, esi
jmp 0x4fb2da
mov esi, dword [esp + 0x58]
cmp esi, 1
jne 0x4fb2b8
mov al, byte [edi + 0x13]
test al, al
jne 0x4fb2a1
inc dword [edi + 0x2c]
mov edi, dword [edi + 0x2c]
mov ecx, edi
mov dword [esp + 0x1c], edi
jmp 0x4fb2de
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov edi, dword [edi + eax*4 + 0x90]
mov ecx, edi
mov dword [esp + 0x1c], edi
jmp 0x4fb2de
mov eax, dword [edi + 0x1c]
cmp esi, eax
mov ecx, dword [edi + 0x20]
jg 0x4fb2cf
lea edx, [ecx + esi]
sub eax, esi
mov dword [edi + 0x20], edx
mov dword [edi + 0x1c], eax
jmp 0x4fb2da
mov eax, dword [edi + 0x2c]
lea ecx, [eax + 1]
add eax, esi
mov dword [edi + 0x2c], eax
mov dword [esp + 0x1c], ecx
cmp byte [esp + 0xf], 0
jne 0x4fb2f4
cmp dword [esp + 0x24], 5
jne 0x4fb6b0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 0xc]
test byte [eax + 0x24], 0x20
jne 0x4fb3ea
mov eax, dword [ebx + 0x88]
mov edx, dword [ebx + 0xc]
cmp dword [edx + 0x30], eax
jg 0x4fb328
mov eax, dword [esp + 0x2c]
push 0
push ecx
push eax
push 0x88
mov eax, ebx
call fcn.004cc1b0
add esp, 0x10
jmp 0x4fb358
lea edx, [eax + 1]
mov dword [ebx + 0x88], edx
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x88
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
cmp byte [esp + 0xf], 0
je 0x4fb6b0
mov eax, dword [ebx + 0x88]
mov ecx, dword [ebx + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x4fb38d
mov edx, dword [ebp + 0x20]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
push 0x35
mov eax, ebx
call fcn.004cc1b0
add esp, 0x10
jmp 0x4fb3c7
mov ecx, dword [ebx + 0x58]
lea edx, [eax + 1]
mov dword [ebx + 0x88], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x1c]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x20]
mov byte [eax], 0x35
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, dword [ebx + 0x88]
test eax, eax
jle 0x4fb6b0
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
mov ecx, 0x90
mov word [eax + edx*4 - 0x12], cx
jmp 0x4fb6b0
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x14], eax
je 0x4fb4ba
xor edx, edx
mov dword [esp + 0x10], 0
cmp dx, word [eax + 0x32]
jae 0x4fb4ba
mov edi, ecx
mov ecx, dword [esp + 0x14]
movzx edx, word [ecx + 0x34]
xor eax, eax
test edx, edx
jle 0x4fb43f
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 4]
mov esi, dword [esp + 0x10]
movzx esi, word [ecx + esi*2]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 4]
cmp si, word [ecx]
je 0x4fb468
inc eax
add ecx, 2
cmp eax, edx
jl 0x4fb432
or eax, 0xffffffff
mov edx, dword [ebx + 0xc]
movsx ecx, ax
mov eax, dword [ebx + 0x88]
cmp dword [edx + 0x30], eax
jg 0x4fb46d
mov eax, dword [esp + 0x2c]
push edi
push ecx
push eax
push 0x5a
mov eax, ebx
call fcn.004cc1b0
add esp, 0x10
jmp 0x4fb4a0
movzx eax, ax
jmp 0x4fb442
lea edx, [eax + 1]
mov dword [ebx + 0x88], edx
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x2c]
mov byte [eax], 0x5a
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
movzx edx, word [ecx + 0x32]
inc eax
inc edi
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x4fb40e
cmp byte [esp + 0xf], 0
je 0x4fb6b0
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 0x32]
mov ecx, dword [ebx + 0x88]
add ecx, eax
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x38]
and dl, 3
mov dword [esp + 0x60], 0x34
cmp dl, 2
jne 0x4fb4fa
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
jmp 0x4fb502
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], 0
test eax, eax
jle 0x4fb6b0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
mov edi, dword [ecx + edx*4]
mov eax, dword [eax]
mov cl, byte [eax + 0x46]
mov dl, byte [eax + 0x9d]
mov byte [esp + 0x44], cl
mov byte [esp + 0x3b], dl
test edi, edi
je 0x4fb549
movzx ecx, dl
push ecx
push eax
call fcn.004f1ee0
add esp, 8
jmp 0x4fb54c
mov eax, dword [eax + 8]
test eax, eax
je 0x4fb55c
movzx ecx, byte [esp + 0x44]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4 - 0x14]
cmp byte [esp + 0x3b], 0
mov dword [esp + 0x34], eax
jne 0x4fb587
test eax, eax
je 0x4fb571
cmp dword [eax + 0xc], 0
jne 0x4fb587
mov ecx, dword [esp + 0x44]
mov edx, dword [ebp + 8]
push edi
push ecx
push edx
call fcn.004f1de0
add esp, 0xc
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 4]
movzx ecx, word [ecx + 0x32]
mov eax, dword [esp + 0x10]
movsx edx, word [edx + eax*2]
dec ecx
cmp eax, ecx
jne 0x4fb5af
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x60], 0x35
mov ecx, dword [ebp + 0x20]
mov edi, dword [ebx + 0x88]
lea esi, [ecx + edx + 1]
mov edx, dword [ebx + 0xc]
cmp dword [edx + 0x30], edi
jg 0x4fb5e6
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
add eax, ecx
push eax
mov eax, dword [esp + 0x64]
push edx
push esi
push eax
mov eax, ebx
call fcn.004cc1b0
add esp, 0x10
jmp 0x4fb628
mov eax, dword [ebx + 0x58]
lea ecx, [edi + 1]
mov dword [ebx + 0x88], ecx
mov cl, byte [esp + 0x60]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov byte [eax], cl
mov ecx, dword [esp + 0x4c]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x10]
add edx, ecx
mov dword [eax + 4], esi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, edi
mov ecx, dword [ebx]
cmp byte [ecx + 0x49], 0
je 0x4fb640
mov eax, dword [esp + 0x34]
mov edx, 0xfffffffe
call fcn.004cccf0
jmp 0x4fb67d
test eax, eax
jge 0x4fb64b
mov eax, dword [ebx + 0x88]
dec eax
mov ecx, dword [esp + 0x34]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
cmp byte [eax + edx*4 + 1], 0
lea eax, [eax + edx*4]
je 0x4fb672
push ecx
push eax
mov eax, 0xfffffffe
mov ecx, ebx
call fcn.004cce90
add esp, 8
jmp 0x4fb67d
test ecx, ecx
je 0x4fb67d
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfe
mov eax, dword [ebx + 0x88]
test eax, eax
jle 0x4fb697
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
mov ecx, 0x90
mov word [eax + edx*4 - 0x12], cx
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
movzx ecx, word [edx + 0x32]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4fb512
mov ecx, dword [esp + 0x24]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x4fb6c0.5
jmp dword [eax*4 + 0x4fba1c]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
push edx
push ecx
push eax
call fcn.004f13a0
add esp, 0xc
jmp 0x4fb829
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x38]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
mov eax, dword [ebp + 0xc]
push ecx
call fcn.0050f610
add esp, 0x10
mov eax, dword [ebx + 0x88]
mov edx, dword [ebx + 0xc]
cmp dword [edx + 0x30], eax
jg 0x4fb722
mov eax, dword [ebp + 0x2c]
xor esi, esi
push esi
push eax
push esi
push 0xb
mov eax, ebx
call fcn.004cc1b0
add esp, 0x10
jmp 0x4fb82b
lea ecx, [eax + 1]
mov dword [ebx + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [ebp + 0x2c]
xor ecx, ecx
xor esi, esi
mov byte [eax], 0xb
mov word [eax + 2], cx
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0
jmp 0x4fb82b
mov eax, dword [esp + 0x48]
mov edi, dword [ebp + 8]
xor esi, esi
test dword [eax + 0x1c], 0x2000
je 0x4fb7ab
mov ecx, dword [edi]
xor eax, eax
test dword [ecx + 0x1c], 0x40000
je 0x4fb784
mov edx, dword [ebp + 0xc]
push edx
mov eax, edi
call fcn.0050bc10
add esp, 4
mov ecx, eax
test eax, eax
je 0x4fb7a3
lea ebx, [ebx]
cmp byte [ecx + 8], 0x75
jne 0x4fb79c
movzx edx, byte [ecx + 9]
or esi, edx
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4fb790
neg esi
sbb esi, esi
and esi, eax
jne 0x4fb7d6
mov eax, dword [edi]
test dword [eax + 0x1c], 0x4000
je 0x4fb7e9
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x48]
mov ebx, dword [ecx]
add eax, 0x38
call fcn.004afeb0
test eax, eax
jne 0x4fb7d2
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x10], eax
je 0x4fb7e5
mov ebx, dword [esp + 0x50]
mov eax, dword [edi + 0x74]
test eax, eax
jne 0x4fb7df
mov eax, edi
mov byte [eax + 0x14], 1
jmp 0x4fb7e9
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x58]
push edx
sete cl
movzx edx, cl
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [ebp + 0x18]
push 5
push 0
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push esi
push ecx
push edi
call fcn.004f3170
add esp, 0x2c
mov dword [esp + 0x5c], 1
xor esi, esi
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x54], edx
jne 0x4fb8b8
mov ecx, dword [esp + 0x68]
mov eax, dword [ebx + 0x88]
mov edx, dword [ebx + 0xc]
inc ecx
cmp dword [edx + 0x30], eax
jg 0x4fb85d
push esi
push ecx
push esi
push 0xb
mov eax, ebx
call fcn.004cc1b0
add esp, 0x10
jmp 0x4fb887
lea edx, [eax + 1]
mov dword [ebx + 0x88], edx
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov byte [eax], 0xb
mov word [eax + 2], dx
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [eax + 1], dl
mov eax, dword [esp + 0x6c]
cmp eax, esi
mov ecx, dword [ebx + 0x88]
jge 0x4fb898
lea eax, [ecx - 1]
mov edx, dword [ebx]
cmp byte [edx + 0x49], 0
je 0x4fb8aa
mov eax, 0x6403fc
mov dword [eax + 8], ecx
jmp 0x4fb8d7
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
jmp 0x4fb8d7
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x40]
cmp eax, esi
je 0x4fb8d7
mov ecx, dword [esp + 0x3c]
lea edx, [ecx*4 + 4]
mov ecx, dword [ebx + 0x88]
sub eax, edx
mov dword [eax], ecx
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x20]
je 0x4fb922
mov eax, dword [esp + 0x58]
cmp eax, 1
jne 0x4fb90a
test edx, edx
je 0x4fb922
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x13]
cmp al, 8
jae 0x4fb922
movzx ecx, al
mov eax, dword [ebp + 8]
mov dword [eax + ecx*4 + 0x90], edx
inc byte [eax + 0x13]
jmp 0x4fb922
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x1c]
jle 0x4fb922
mov edx, dword [esp + 0x58]
mov eax, ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x14]
inc dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x4faba0
mov eax, dword [esp + 0x64]
xor esi, esi
cmp eax, esi
je 0x4fb9e2
mov edx, dword [ebx + 0xc]
lea ecx, [eax + 1]
mov eax, dword [ebx + 0x88]
cmp dword [edx + 0x30], eax
jg 0x4fb96b
push esi
push ecx
push esi
push 0xb
mov eax, ebx
call fcn.004cc1b0
add esp, 0x10
jmp 0x4fb995
lea edx, [eax + 1]
mov dword [ebx + 0x88], edx
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov byte [eax], 0xb
mov word [eax + 2], dx
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [eax + 1], dl
mov eax, dword [esp + 0x70]
cmp eax, esi
mov ecx, dword [ebx + 0x88]
jge 0x4fb9a6
lea eax, [ecx - 1]
mov edx, dword [ebx]
cmp byte [edx + 0x49], 0
je 0x4fb9c6
mov eax, 0x6403fc
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0x30]
mov ecx, dword [esp + 0x5c]
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0x30]
mov ecx, dword [esp + 0x5c]
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x30]
mov eax, dword [esp + 0x5c]
pop edi
pop esi
mov dword [edx], eax
pop ebx
mov esp, ebp
pop ebp
ret