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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
push ebx
mov eax, edx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x54], eax
mov edi, dword [eax + 0x44]
mov esi, dword [ebx + 8]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x48], edi
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x28], ecx
test esi, esi
jne 0x4fbe8e
cmp dword [ebx + 0x74], esi
jne 0x4fbe81
mov eax, dword [ebx]
test byte [eax + 0x4c], 8
jne 0x4fbe81
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.0049b0e0
mov esi, eax
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x20]
push 0x34
push 0
mov eax, dword [ecx + 0x34]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x5c], eax
movsx eax, word [ecx + 0x2a]
dec dword [ebx + 0x38]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x64]
push eax
call fcn.0063af90
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x44], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x5c], ebx
lea ecx, [eax + 1]
mov dword [esp + 0x60], edi
mov dword [esp + 0x30], ecx
lea ecx, [eax + 2]
add eax, 3
mov dword [esp + 0x64], esi
mov dword [esp + 0x88], eax
mov al, byte [edi + 0x11]
mov dword [esp + 0x78], ecx
cmp al, 0x56
je 0x4fbf6a
cmp al, 0x5a
je 0x4fbf31
mov dword [esp + 0x74], 2
jmp 0x4fbf8c
mov ecx, edi
call fcn.004fae60
test eax, eax
jne 0x4fbf8c
cmp byte [edi + 0x12], 0x58
jne 0x4fbf60
cmp byte [edi + 0x10], 0x59
je 0x4fbf8c
mov edx, dword [edi + 0x1c]
mov ecx, ebx
call fcn.004fbda0
test eax, eax
je 0x4fbf8c
mov dword [esp + 0x74], 3
jmp 0x4fbf8c
mov dword [esp + 0x74], 1
jmp 0x4fbf8c
cmp byte [edi + 0x10], 0x59
je 0x4fbf8c
mov edx, dword [edi + 0x18]
mov ecx, ebx
call fcn.004fbda0
mov ecx, dword [esp + 0x74]
test eax, eax
mov eax, 1
cmovne ecx, eax
mov dword [esp + 0x74], ecx
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x38]
inc ecx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], edx
lea ecx, [eax + 1]
mov dword [ebx + 0x2c], ecx
mov al, byte [edi + 0x11]
mov dword [esp + 0x34], ecx
cmp al, 0x58
je 0x4fbfb6
cmp al, 0x56
jne 0x4fbfc0
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
mov dword [ebx + 0x2c], eax
mov al, byte [edi + 0x12]
cmp al, 0x58
je 0x4fbfcb
cmp al, 0x56
jne 0x4fbfd5
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x14], eax
cmp byte [edi + 0x10], 0x4c
je 0x4fc03b
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4fbfe7
mov ecx, dword [eax]
jmp 0x4fbfe9
xor ecx, ecx
mov eax, dword [edi + 0x4c]
add eax, edx
mov dword [esp + 0x24], eax
mov eax, dword [edi + 8]
test eax, eax
je 0x4fc007
mov edi, dword [esp + 0x24]
add edi, dword [eax]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x48]
mov eax, dword [ebx + 0x2c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x18], edx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x7c], edx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x84], edx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x3c]
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x38]
xor ebx, ebx
test eax, eax
jle 0x4fc0b2
mov edi, dword [esp + 0x3c]
nop dword [eax]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4fc072
lea eax, [ebx + edi]
mov edx, 0x5a
push eax
push ebx
push dword [esp + 0x5c]
mov ecx, esi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fc0a1
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0x10], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x54]
mov dword [ecx + 4], eax
lea eax, [ebx + edi]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x38]
inc ebx
cmp ebx, eax
jl 0x4fc050
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4fc0d1
push dword [esp + 0x40]
mov ecx, esi
push eax
push edx
mov edx, 0x5c
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fc100
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 8]
mov ebx, dword [esp + 0x1c]
test edx, edx
je 0x4fc2de
mov eax, dword [edx]
mov ecx, ebx
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x4c]
add dword [esp + 0x3c], eax
push 0
push 0
call fcn.004d97c0
inc dword [ebx + 0x2c]
add esp, 8
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x58], eax
mov dword [esp + 0x4c], edx
cmp dword [esi + 0x70], edx
jg 0x4fc16a
mov edx, dword [esp + 0x38]
mov ecx, esi
push edx
push eax
push dword [esp + 0x44]
mov edx, 0x57
call fcn.0049b3e0
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x4fc19d
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x57
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
mov edx, dword [esp + 0x54]
cmp byte [ecx + 0x51], 0
je 0x4fc1b9
push edx
mov edx, 0xfffffff7
call fcn.0049c0f0
add esp, 4
jmp 0x4fc1cb
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esi + 0x6c]
lea edx, [eax + 2]
add eax, 4
mov dword [esp + 0x58], eax
cmp dword [esi + 0x70], ecx
jg 0x4fc1f5
push edx
push eax
push edx
mov edx, 0x10
mov ecx, esi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fc224
mov ebx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x4c], ecx
cmp dword [esi + 0x70], ecx
jg 0x4fc24d
push 0
push 0
push dword [esp + 0x28]
mov edx, 0xc
mov ecx, esi
call fcn.0049b3e0
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x4fc280
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x6c]
dec edx
mov eax, dword [edi + 0x44]
mov dword [esp + 0x58], eax
cmp dword [esi + 0x70], ecx
jg 0x4fc2ab
push edx
push eax
push dword [esp + 0x44]
mov edx, 0x4e
mov ecx, esi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fc2de
mov ebx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x58]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4fc306
mov edx, dword [esp + 0x34]
mov ecx, esi
push 0
push edx
push dword [esp + 0x38]
mov edx, 0x79
call fcn.0049b3e0
mov edx, dword [esp + 0x40]
add esp, 0xc
jmp 0x4fc339
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x79
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4fc35b
push edx
push dword [esp + 0x44]
mov edx, 0x7a
mov ecx, esi
push dword [esp + 0x38]
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fc38e
mov ebx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov edx, dword [edi + 0x54]
mov dword [esp + 0x40], ecx
cmp dword [esi + 0x70], ecx
jg 0x4fc3b9
push dword [esp + 0x34]
mov ecx, esi
push 0
push edx
mov edx, 0x34
call fcn.0049b3e0
add esp, 0xc
mov dword [esp + 0x40], eax
jmp 0x4fc3ec
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x34
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, edi
mov ecx, ebx
call fcn.004fabe0
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4fc42c
mov edx, dword [edi + 0x18]
mov ecx, ebx
push eax
call fcn.004b7c60
mov edx, dword [esp + 0x14]
xor eax, eax
add esp, 4
mov ecx, 3
cmp byte [edi + 0x10], 0x59
cmove eax, ecx
mov ecx, ebx
push eax
call fcn.004f8f30
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4fc462
mov edx, dword [edi + 0x1c]
mov ecx, ebx
push eax
call fcn.004b7c60
mov edx, dword [esp + 0x18]
add esp, 4
cmp byte [edi + 0x10], 0x59
mov ecx, 4
mov eax, 1
cmove eax, ecx
mov ecx, ebx
push eax
call fcn.004f8f30
add esp, 4
cmp byte [edi + 0x10], 0x59
mov edx, dword [esp + 0x10]
je 0x4fc646
mov al, byte [edi + 0x11]
cmp al, byte [edi + 0x12]
jne 0x4fc646
test edx, edx
je 0x4fc646
mov ecx, dword [esi + 0x6c]
xor edx, edx
cmp al, 0x56
mov dword [esp + 0x54], ecx
sete dl
lea edx, [edx*2 + 0x37]
cmp dword [esi + 0x70], ecx
jg 0x4fc4b8
push dword [esp + 0x14]
mov ecx, esi
push 0
push dword [esp + 0x18]
call fcn.0049b3e0
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x4fc4f3
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
xor edx, edx
lea ecx, [esp + 0x5c]
call fcn.004f9b30
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4fc522
push 0
push 1
push dword [esp + 0x88]
mov edx, 0x24
mov ecx, esi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fc559
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x80]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
lea ecx, [esp + 0x5c]
call fcn.004fa560
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4fc58b
mov eax, dword [esp + 0x80]
mov edx, 0x8a
push 0
push 0
push eax
mov ecx, esi
mov dword [esp + 0x50], eax
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fc5c5
mov edx, dword [esp + 0x80]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [esp + 0x44], edx
mov dword [eax + ecx*4], 0x8a
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4fc5e6
push 0
push dword [esp + 0x30]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fc619
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x54]
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x4fc627
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4fc636
mov eax, 0x718f0c
jmp 0x4fc63f
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x10]
cmp byte [edi + 0x11], 0x56
jne 0x4fc6a5
cmp byte [edi + 0x10], 0x59
je 0x4fc6a5
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4fc6a5
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4fc676
push edx
push eax
push edx
mov edx, 0x68
mov ecx, esi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fc6a5
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x68
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [edi + 0x11], 0x5a
je 0x4fc6fc
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x78]
cmp dword [esi + 0x70], ecx
jg 0x4fc6cd
push 0
push 1
push edx
mov edx, 0x24
mov ecx, esi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fc6fc
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x44]
cmp dword [esi + 0x70], ecx
jg 0x4fc71e
push 0
push 1
push edx
mov edx, 0x24
mov ecx, esi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fc74d
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x88]
cmp dword [esi + 0x70], ecx
jg 0x4fc772
push 0
push 1
push edx
mov edx, 0x24
mov ecx, esi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fc7a1
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4fc931
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4fc931
mov edx, dword [ecx]
mov ecx, dword [esi + 0x6c]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x4fc7db
push edx
push eax
push dword [esp + 0x2c]
mov edx, 0x4e
mov ecx, esi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fc80e
mov edi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x28]
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x4fc83a
push edx
push dword [esp + 0x80]
mov edx, 0x4e
mov ecx, esi
push dword [esp + 0x20]
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fc86d
mov ebx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x7c]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x4fc899
push edx
push dword [esp + 0x88]
mov edx, 0x4e
mov ecx, esi
push dword [esp + 0x20]
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fc8cf
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x84]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x4fc8fb
push edx
push dword [esp + 0x90]
mov edx, 0x4e
mov ecx, esi
push dword [esp + 0x20]
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fc931
mov ebx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x8c]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4fc952
push 0
push dword [esp + 0x30]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fc985
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x40]
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x4fc993
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4fc9a2
mov eax, 0x718f0c
jmp 0x4fc9ab
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4fc9cd
push dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov ecx, ebx
push eax
push dword [esp + 0x2c]
call fcn.004faeb0
add esp, 0xc
mov al, byte [edi + 0x11]
cmp al, 0x56
jne 0x4fcb01
push 0
push 0
mov edx, 3
lea ecx, [esp + 0x64]
call fcn.004fb550
add esp, 8
cmp byte [edi + 0x12], 0x5a
je 0x4fccc7
cmp byte [edi + 0x10], 0x59
lea ecx, [esp + 0x5c]
jne 0x4fcad4
dec dword [ebx + 0x38]
mov edx, 0x39
mov ebx, dword [ebx + 0x38]
mov eax, dword [esi + 0x6c]
push ebx
push dword [esp + 0x8c]
mov dword [esp + 0x5c], eax
push dword [esp + 0x1c]
push dword [esp + 0x8c]
call fcn.004fb080
push 0
push dword [esp + 0x24]
mov edx, 2
lea ecx, [esp + 0x74]
call fcn.004fb550
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x7c]
call fcn.004fb550
mov ecx, dword [esi + 0x6c]
add esp, 0x20
mov edx, dword [esp + 0x54]
cmp dword [esi + 0x70], ecx
jg 0x4fca7a
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fcaa9
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4fcac6
push ebx
mov edx, esi
call fcn.0049bbc0
add esp, 4
jmp 0x4fccc7
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + ebx*4], eax
jmp 0x4fccc7
push 0
push dword [esp + 0x18]
mov edx, 1
call fcn.004fb550
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x64]
push 0
push ebx
mov edx, 2
call fcn.004fb550
add esp, 0x10
jmp 0x4fcccb
cmp byte [edi + 0x12], 0x58
jne 0x4fcb86
cmp al, 0x58
jne 0x4fcb18
cmp byte [edi + 0x10], 0x59
jne 0x4fcb18
mov ebx, 1
jmp 0x4fcb1a
xor ebx, ebx
push 0
push dword [esp + 0x18]
mov edx, 3
lea ecx, [esp + 0x64]
call fcn.004fb550
add esp, 8
test ebx, ebx
je 0x4fcb4c
push 0
push dword [esp + 0x14]
mov edx, 2
lea ecx, [esp + 0x64]
call fcn.004fb550
add esp, 8
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x64]
call fcn.004fb550
add esp, 8
test ebx, ebx
mov ebx, dword [esp + 0x10]
jne 0x4fcccb
push 0
push ebx
mov edx, 2
lea ecx, [esp + 0x64]
call fcn.004fb550
add esp, 8
jmp 0x4fcccb
push 0
push 0
mov edx, 3
lea ecx, [esp + 0x64]
call fcn.004fb550
add esp, 8
cmp byte [edi + 0x12], 0x5a
je 0x4fccc7
cmp byte [edi + 0x10], 0x59
jne 0x4fcc50
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4fcbe7
dec dword [ebx + 0x38]
lea ecx, [esp + 0x5c]
mov ebx, dword [ebx + 0x38]
mov edx, 0x39
push ebx
push dword [esp + 0x8c]
push eax
push dword [esp + 0x8c]
call fcn.004fb080
add esp, 0x10
jmp 0x4fcbe9
xor ebx, ebx
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x64]
call fcn.004fb550
push 0
push dword [esp + 0x1c]
mov edx, 2
lea ecx, [esp + 0x6c]
call fcn.004fb550
add esp, 0x10
cmp dword [esp + 0x14], 0
je 0x4fccc7
push dword [esp + 0x58]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.0049b550
mov ecx, dword [esi + 0xc]
add esp, 8
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4fcac6
push ebx
mov edx, esi
call fcn.0049bbc0
add esp, 4
jmp 0x4fccc7
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4fcc70
push 1
push 0
push eax
mov edx, 0x2f
mov ecx, esi
call fcn.0049b420
add esp, 0xc
mov ebx, eax
jmp 0x4fcc72
xor ebx, ebx
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x64]
call fcn.004fb550
push 0
push dword [esp + 0x1c]
mov edx, 2
lea ecx, [esp + 0x6c]
call fcn.004fb550
add esp, 0x10
cmp dword [esp + 0x14], 0
je 0x4fccc7
mov edx, dword [esi + 0x6c]
test ebx, ebx
jns 0x4fccac
lea ebx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4fccbb
mov eax, 0x718f0c
jmp 0x4fccc4
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4fcce9
push edx
mov edx, esi
call fcn.0049bbc0
add esp, 4
jmp 0x4fccf2
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
call fcn.004f64f0
cmp dword [edi + 8], 0
je 0x4fcd89
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x50], ecx
cmp dword [esi + 0x70], ecx
jg 0x4fcd2d
push 0
push dword [esp + 0x24]
mov edx, 0x46
mov ecx, esi
push 0
call fcn.0049b3e0
add esp, 0xc
mov dword [esp + 0x50], eax
jmp 0x4fcd60
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x4fcd6e
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4fcd7d
mov eax, 0x718f0c
jmp 0x4fcd86
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x44], edx
cmp dword [esi + 0x70], edx
jg 0x4fcdb2
push 0
push 0
push dword [esp + 0x38]
mov edx, 0x24
mov ecx, esi
call fcn.0049b3e0
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x4fcde5
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [edi + 0x12], 0x58
jne 0x4fce4c
cmp byte [edi + 0x11], 0x58
jne 0x4fcdfe
cmp byte [edi + 0x10], 0x59
jne 0x4fcdfe
mov ebx, 1
jmp 0x4fce00
xor ebx, ebx
push 0
push dword [esp + 0x18]
mov edx, 3
lea ecx, [esp + 0x64]
call fcn.004fb550
add esp, 8
test ebx, ebx
je 0x4fce32
push 0
push dword [esp + 0x14]
mov edx, 2
lea ecx, [esp + 0x64]
call fcn.004fb550
add esp, 8
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x64]
call fcn.004fb550
add esp, 8
jmp 0x4fd0b8
cmp byte [edi + 0x11], 0x56
lea ecx, [esp + 0x5c]
push 0
mov edx, 3
push 0
jne 0x4fd00b
call fcn.004fb550
mov eax, dword [esi + 0x6c]
lea ecx, [esp + 0x64]
add esp, 8
mov dword [esp + 0x48], eax
cmp byte [edi + 0x10], 0x59
push 1
jne 0x4fcea3
push ebx
mov edx, 2
call fcn.004fb550
push 1
push 0
mov edx, 1
lea ecx, [esp + 0x6c]
mov ebx, eax
call fcn.004fb550
mov dword [esp + 0x5c], eax
jmp 0x4fceda
cmp byte [edi + 0x12], 0x5a
mov edx, 1
jne 0x4fceba
push ebx
call fcn.004fb550
push 1
push 0
jmp 0x4fcec6
push dword [esp + 0x18]
call fcn.004fb550
push 1
push ebx
mov edx, 2
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x6c]
call fcn.004fb550
mov ebx, eax
mov ecx, dword [esi + 0x6c]
add esp, 0x10
mov edx, dword [esp + 0x48]
cmp dword [esi + 0x70], ecx
jg 0x4fceff
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fcf2e
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x6c]
test ebx, ebx
jns 0x4fcf38
lea ebx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4fcf47
mov eax, 0x718f0c
jmp 0x4fcf50
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
lea ecx, [esp + 0x5c]
mov eax, dword [esi + 0x6c]
mov edx, 1
push 1
push 0
mov dword [esp + 0x5c], eax
call fcn.004fb550
mov ecx, dword [esi + 0x6c]
add esp, 8
mov ebx, eax
mov edx, dword [esp + 0x54]
cmp dword [esi + 0x70], ecx
jg 0x4fcf93
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fcfc2
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x4fcfd0
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4fcfdf
mov eax, 0x718f0c
jmp 0x4fcfe8
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esi + 0x6c]
test ebx, ebx
jns 0x4fcff5
lea ebx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4fd0ac
mov eax, 0x718f0c
jmp 0x4fd0b5
call fcn.004fb550
mov eax, dword [esi + 0x6c]
lea ecx, [esp + 0x64]
push 1
push 0
mov edx, 1
mov dword [esp + 0x64], eax
call fcn.004fb550
push 0
push dword [esp + 0x24]
mov edx, 2
lea ecx, [esp + 0x74]
mov ebx, eax
call fcn.004fb550
mov ecx, dword [esi + 0x6c]
add esp, 0x18
mov edx, dword [esp + 0x54]
cmp dword [esi + 0x70], ecx
jg 0x4fd064
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fd093
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x6c]
test ebx, ebx
jns 0x4fd09d
lea ebx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4fd0ac
mov eax, 0x718f0c
jmp 0x4fd0b5
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x44]
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x4fd0c6
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4fd0d5
mov eax, 0x718f0c
jmp 0x4fd0de
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4fd105
push 0
push 0
push dword [esp + 0x88]
mov edx, 0x8a
mov ecx, esi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fd13c
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x8a
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x80]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
cmp dword [edi + 8], 0
je 0x4fd270
mov edx, dword [edi + 0x58]
test edx, edx
je 0x4fd1ee
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4fd16f
push 0
push edx
push 1
mov edx, 0x46
mov ecx, esi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fd19e
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov edi, dword [edi + 0x5c]
cmp dword [esi + 0x70], ecx
jg 0x4fd1bf
push 0
push edi
push 0
mov edx, 0x46
mov ecx, esi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4fd1ee
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x50]
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x4fd1fc
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4fd20b
mov eax, 0x718f0c
jmp 0x4fd214
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4fd23d
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x42
mov ecx, esi
call fcn.0049b3e0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x42
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret