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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
mov ebx, edx
mov dword [esp + 0x14], ecx
push esi
mov esi, dword [ecx + 8]
push edi
mov edi, dword [ebx + 0x44]
mov dword [esp + 0x20], edi
mov eax, dword [edi + 0xc]
mov dword [esp + 0x2c], eax
test esi, esi
jne 0x4f51bf
cmp dword [ecx + 0x74], esi
jne 0x4f51b8
mov eax, dword [ecx]
test byte [eax + 0x4c], 8
jne 0x4f51b8
mov byte [ecx + 0x17], 1
call fcn.0049bd00
mov esi, eax
mov ecx, dword [ebx + 0x20]
xorps xmm0, xmm0
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov eax, dword [ecx + 0x34]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x50], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
movsx eax, word [ecx + 0x2a]
dec dword [ebx + 0x38]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x28], 0
lea ecx, [eax + 1]
mov dword [esp + 0x18], 0
mov dword [esp + 0x34], ecx
lea ecx, [eax + 2]
add eax, 3
mov dword [esp + 0x24], 0
mov dword [esp + 0x80], eax
mov al, byte [edi + 0x11]
movlpd qword [esp + 0x68], xmm0
mov dword [esp + 0x74], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x70], ecx
cmp al, 0x53
je 0x4f52f7
cmp al, 0x57
je 0x4f5293
mov dword [esp + 0x6c], 2
jmp 0x4f5319
cmp dword [edi + 0x54], 0
jne 0x4f5319
mov ecx, edi
nop
mov eax, dword [ecx + 0x28]
mov eax, dword [eax + 0x20]
cmp eax, str.nth_value
je 0x4f5319
cmp eax, str.first_value
je 0x4f5319
cmp eax, str.lead
je 0x4f5319
cmp eax, 0x615b14
je 0x4f5319
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4f52a0
cmp byte [edi + 0x12], 0x55
jne 0x4f52ed
cmp byte [edi + 0x10], 0x56
je 0x4f5319
mov edx, dword [edi + 0x1c]
mov ecx, ebx
call fcn.004f5130
test eax, eax
je 0x4f5319
mov dword [esp + 0x6c], 3
jmp 0x4f5319
mov dword [esp + 0x6c], 1
jmp 0x4f5319
cmp byte [edi + 0x10], 0x56
je 0x4f5319
mov edx, dword [edi + 0x18]
mov ecx, ebx
call fcn.004f5130
mov ecx, dword [esp + 0x6c]
test eax, eax
mov eax, 1
cmovne ecx, eax
mov dword [esp + 0x6c], ecx
mov eax, dword [ebx + 0x2c]
lea ecx, [eax + 1]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x44]
inc ecx
add eax, ecx
mov dword [esp + 0x3c], eax
lea ecx, [eax + 1]
mov dword [ebx + 0x2c], ecx
mov al, byte [edi + 0x11]
cmp al, 0x55
je 0x4f5341
mov edx, ecx
cmp al, 0x53
jne 0x4f534d
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
mov edx, eax
mov dword [ebx + 0x2c], eax
mov al, byte [edi + 0x12]
cmp al, 0x55
je 0x4f5358
cmp al, 0x53
jne 0x4f5364
lea eax, [edx + 1]
mov dword [esp + 0x14], eax
mov edx, eax
mov dword [ebx + 0x2c], eax
cmp byte [edi + 0x10], 0x4c
je 0x4f53c3
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4f5376
mov ecx, dword [eax]
jmp 0x4f5378
xor ecx, ecx
mov eax, dword [edi + 0x48]
add eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 8]
test eax, eax
je 0x4f5398
mov ebx, dword [esp + 0x28]
add ebx, dword [eax]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x1c]
lea eax, [edx + 1]
mov dword [esp + 0x18], eax
lea eax, [edx + ecx]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x74], 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
mov dword [ebx + 0x2c], eax
mov edx, dword [esp + 0x44]
xor ebx, ebx
test edx, edx
jle 0x4f542f
mov edi, dword [esp + 0x38]
mov ecx, dword [esi + 0x6c]
lea edx, [edi + ebx]
cmp dword [esi + 0x70], ecx
jg 0x4f53f3
push edx
push ebx
push dword [esp + 0x58]
mov edx, 0x5a
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4f5422
mov edi, dword [esp + 0x50]
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 + 0x38]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x44]
inc ebx
cmp ebx, edx
jl 0x4f53d1
mov edi, dword [esp + 0x20]
mov ecx, dword [esi + 0x6c]
mov ebx, dword [esp + 0x38]
cmp dword [esi + 0x70], ecx
jg 0x4f5452
push dword [esp + 0x3c]
mov ecx, esi
push edx
push ebx
mov edx, 0x5c
call fcn.0049bf40
add esp, 0xc
jmp 0x4f547d
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], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 8]
test edx, edx
je 0x4f563e
mov eax, dword [edx]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x48]
add eax, ebx
mov ebx, dword [esp + 0x1c]
push 0
push 0
mov ecx, ebx
mov dword [esp + 0x40], eax
call fcn.004d6120
inc dword [ebx + 0x2c]
add esp, 8
mov edx, dword [edi + 0x40]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x2c]
mov ebx, dword [esi + 0x6c]
mov dword [esp + 0x24], eax
cmp dword [esi + 0x70], ebx
jg 0x4f54de
push dword [esp + 0x44]
mov ecx, esi
push edx
push dword [esp + 0x40]
mov edx, 0x57
call fcn.0049bf40
add esp, 0xc
mov ebx, eax
jmp 0x4f5511
mov edi, dword [esp + 0x38]
lea eax, [ebx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
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 + 0x50]
cmp byte [ecx + 0x51], 0
je 0x4f552d
push edx
mov edx, 0xfffffff7
call fcn.0049cad0
add esp, 4
jmp 0x4f553f
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 ecx, dword [esi + 0x6c]
lea edx, [ebx + 2]
add ebx, 4
cmp dword [esi + 0x70], ecx
jg 0x4f5561
push edx
push ebx
push edx
mov edx, 0x10
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4f558c
mov edi, 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], 0x10
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x48], ecx
cmp dword [esi + 0x70], ecx
jg 0x4f55b5
push 0
push 0
push dword [esp + 0x2c]
mov edx, 0xc
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
mov dword [esp + 0x48], eax
jmp 0x4f55e8
mov edx, 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], 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 + 0x44]
mov ecx, dword [esi + 0x6c]
dec edx
mov ebx, dword [edi + 0x40]
cmp dword [esi + 0x70], ecx
jg 0x4f560f
push edx
push ebx
push dword [esp + 0x40]
mov edx, 0x4e
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4f563e
mov edi, dword [esp + 0x38]
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 + 0x20]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 8], ebx
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 0x4f5667
mov ebx, dword [esp + 0x3c]
mov edx, 0x79
push 0
inc ebx
mov ecx, esi
push ebx
push dword [esp + 0x3c]
call fcn.0049bf40
mov edx, dword [esp + 0x48]
add esp, 0xc
jmp 0x4f569d
mov edx, dword [esp + 0x34]
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 + 0x3c]
mov dword [eax + ecx*4], 0x79
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea ebx, [edx + 1]
mov dword [eax + ecx*4 + 8], ebx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4f56bc
push ebx
push edx
push dword [esp + 0x3c]
mov edx, 0x7a
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4f56eb
mov edi, dword [esp + 0x34]
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 + 0x20]
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov edx, dword [edi + 0x50]
mov dword [esp + 0x50], ecx
cmp dword [esi + 0x70], ecx
jg 0x4f5713
push ebx
push 0
push edx
mov edx, 0x34
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
mov dword [esp + 0x50], eax
jmp 0x4f5742
mov edi, 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], 0x34
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esp + 0x1c]
mov edx, edi
mov ecx, ebx
call fcn.004f45a0
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4f5786
mov edx, dword [edi + 0x18]
mov ecx, ebx
push eax
call fcn.004b6430
mov edx, dword [esp + 0x14]
xor eax, eax
add esp, 4
mov ecx, 3
cmp byte [edi + 0x10], 0x56
cmove eax, ecx
mov ecx, ebx
push eax
call fcn.004f2af0
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4f57bc
mov edx, dword [edi + 0x1c]
mov ecx, ebx
push eax
call fcn.004b6430
mov edx, dword [esp + 0x18]
add esp, 4
cmp byte [edi + 0x10], 0x56
mov ecx, 4
mov eax, 1
cmove eax, ecx
mov ecx, ebx
push eax
call fcn.004f2af0
add esp, 4
mov al, byte [edi + 0x11]
mov cl, al
mov edx, dword [esp + 0x10]
cmp al, byte [edi + 0x12]
jne 0x4f598d
test edx, edx
je 0x4f598d
mov ebx, dword [esi + 0x6c]
xor edx, edx
cmp al, 0x53
sete dl
lea edx, [edx*2 + 0x37]
cmp dword [esi + 0x70], ebx
jg 0x4f5804
push dword [esp + 0x14]
mov ecx, esi
push 0
push dword [esp + 0x18]
call fcn.0049bf40
add esp, 0xc
mov ebx, eax
jmp 0x4f583f
lea eax, [ebx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebx + ebx*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 + 0x54]
call fcn.004f3530
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4f586e
push 0
push 1
push dword [esp + 0x80]
mov edx, 0x24
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4f58a2
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 + 0x78]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
lea ecx, [esp + 0x54]
call fcn.004f3f60
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4f58d1
mov eax, dword [esp + 0x78]
mov edx, 0x8a
push 0
push 0
push eax
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.0049bf40
add esp, 0xc
jmp 0x4f5908
mov edx, dword [esp + 0x78]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [esp + 0x40], 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 0x4f5929
push 0
push dword [esp + 0x34]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.0049bf40
add esp, 0xc
jmp 0x4f595c
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], 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 eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4f596e
mov eax, 0x647cc8
jmp 0x4f597f
test ebx, ebx
lea eax, [edx - 1]
cmovns eax, ebx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov ebx, dword [esp + 0x1c]
mov dword [eax + 8], edx
mov cl, byte [edi + 0x11]
mov edx, dword [esp + 0x10]
cmp cl, 0x53
jne 0x4f59eb
cmp byte [edi + 0x10], 0x56
je 0x4f59eb
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4f59eb
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4f59bc
push edx
push eax
push edx
mov edx, 0x65
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4f59eb
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], 0x65
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], 0x57
je 0x4f5a42
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x70]
cmp dword [esi + 0x70], ecx
jg 0x4f5a13
push 0
push 1
push edx
mov edx, 0x24
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4f5a42
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 + 0x40]
cmp dword [esi + 0x70], ecx
jg 0x4f5a64
push 0
push 1
push edx
mov edx, 0x24
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4f5a93
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 + 0x80]
cmp dword [esi + 0x70], ecx
jg 0x4f5ab8
push 0
push 1
push edx
mov edx, 0x24
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4f5ae7
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 0x4f5c71
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4f5c71
mov edx, dword [ecx]
mov ecx, dword [esi + 0x6c]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x4f5b21
push edx
push eax
push dword [esp + 0x30]
mov edx, 0x4e
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4f5b54
mov edi, dword [esp + 0x28]
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 + 0x20]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x4f5b7d
push edx
push dword [esp + 0x78]
mov edx, 0x4e
mov ecx, esi
push dword [esp + 0x20]
call fcn.0049bf40
add esp, 0xc
jmp 0x4f5bb0
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 + 0x74]
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 + 0x2c]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x4f5bdc
push edx
push dword [esp + 0x80]
mov edx, 0x4e
mov ecx, esi
push dword [esp + 0x20]
call fcn.0049bf40
add esp, 0xc
jmp 0x4f5c0f
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 + 0x7c]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x4f5c3b
push edx
push dword [esp + 0x88]
mov edx, 0x4e
mov ecx, esi
push dword [esp + 0x20]
call fcn.0049bf40
add esp, 0xc
jmp 0x4f5c71
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 + 0x84]
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 0x4f5c92
push 0
push dword [esp + 0x34]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.0049bf40
add esp, 0xc
jmp 0x4f5cc5
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], 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 eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4f5cd7
mov eax, 0x647cc8
jmp 0x4f5cec
mov ecx, dword [esp + 0x50]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4f5d0e
push dword [esp + 0x30]
mov edx, dword [esp + 0x30]
mov ecx, ebx
push eax
push dword [esp + 0x30]
call fcn.004f4820
add esp, 0xc
mov al, byte [edi + 0x11]
cmp al, 0x53
jne 0x4f5e37
push 0
push 0
mov edx, 3
lea ecx, [esp + 0x5c]
call fcn.004f4cd0
add esp, 8
cmp byte [edi + 0x12], 0x57
je 0x4f5ffe
cmp byte [edi + 0x10], 0x56
lea ecx, [esp + 0x54]
jne 0x4f5e0b
dec dword [ebx + 0x38]
mov edx, 0x39
mov ebx, dword [ebx + 0x38]
mov eax, dword [esi + 0x6c]
push ebx
push dword [esp + 0x84]
mov dword [esp + 0x58], eax
push dword [esp + 0x1c]
push dword [esp + 0x84]
call fcn.004f49f0
push 0
push dword [esp + 0x24]
mov edx, 2
lea ecx, [esp + 0x6c]
call fcn.004f4cd0
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x74]
call fcn.004f4cd0
mov ecx, dword [esi + 0x6c]
add esp, 0x20
mov edx, dword [esp + 0x50]
cmp dword [esi + 0x70], ecx
jg 0x4f5dbb
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4f5dea
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 0x4f5f7f
push ebx
mov edx, esi
call fcn.0049c590
add esp, 4
jmp 0x4f5ffe
push 0
push dword [esp + 0x18]
mov edx, 1
call fcn.004f4cd0
push 0
push dword [esp + 0x1c]
mov edx, 2
lea ecx, [esp + 0x64]
call fcn.004f4cd0
add esp, 0x10
jmp 0x4f5ffe
cmp byte [edi + 0x12], 0x55
jne 0x4f5eb8
cmp al, 0x55
jne 0x4f5e4e
cmp byte [edi + 0x10], 0x56
jne 0x4f5e4e
mov ebx, 1
jmp 0x4f5e50
xor ebx, ebx
push 0
push dword [esp + 0x18]
mov edx, 3
lea ecx, [esp + 0x5c]
call fcn.004f4cd0
add esp, 8
test ebx, ebx
je 0x4f5e82
push 0
push dword [esp + 0x14]
mov edx, 2
lea ecx, [esp + 0x5c]
call fcn.004f4cd0
add esp, 8
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x5c]
call fcn.004f4cd0
add esp, 8
test ebx, ebx
jne 0x4f5ffe
push ebx
push dword [esp + 0x14]
lea edx, [ebx + 2]
lea ecx, [esp + 0x5c]
call fcn.004f4cd0
add esp, 8
jmp 0x4f5ffe
xor ebx, ebx
lea ecx, [esp + 0x54]
push ebx
push ebx
lea edx, [ebx + 3]
call fcn.004f4cd0
add esp, 8
cmp byte [edi + 0x12], 0x57
je 0x4f5ffe
cmp byte [edi + 0x10], 0x56
jne 0x4f5f8a
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4f5f19
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x54]
mov edx, 0x39
dec dword [ebx + 0x38]
mov ebx, dword [ebx + 0x38]
push ebx
push dword [esp + 0x84]
push eax
push dword [esp + 0x84]
call fcn.004f49f0
add esp, 0x10
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x5c]
call fcn.004f4cd0
push 0
push dword [esp + 0x1c]
mov edx, 2
lea ecx, [esp + 0x64]
call fcn.004f4cd0
add esp, 0x10
cmp dword [esp + 0x14], 0
je 0x4f5ffe
push dword [esp + 0x50]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.0049c0b0
mov ecx, dword [esi + 0xc]
add esp, 8
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f5f7f
push ebx
mov edx, esi
call fcn.0049c590
add esp, 4
jmp 0x4f5ffe
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + ebx*4], eax
jmp 0x4f5ffe
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4f5fa8
push 1
push 0
push eax
mov edx, 0x2f
mov ecx, esi
call fcn.0049bf80
add esp, 0xc
mov ebx, eax
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x5c]
call fcn.004f4cd0
push 0
push dword [esp + 0x1c]
mov edx, 2
lea ecx, [esp + 0x64]
call fcn.004f4cd0
add esp, 0x10
cmp dword [esp + 0x14], 0
je 0x4f5ffe
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4f5fea
mov eax, 0x647cc8
jmp 0x4f5ffb
test ebx, ebx
lea eax, [edx - 1]
cmovns eax, ebx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x30]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f601c
push edx
mov edx, esi
call fcn.0049c590
add esp, 4
jmp 0x4f6025
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
call fcn.004f0340
cmp dword [edi + 8], 0
je 0x4f60bd
mov ebx, dword [esi + 0x6c]
mov dword [esp + 0x4c], ebx
cmp dword [esi + 0x70], ebx
jg 0x4f6060
push 0
push dword [esp + 0x28]
mov edx, 0x46
mov ecx, esi
push 0
call fcn.0049bf40
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x4f6093
mov edx, dword [esp + 0x24]
lea eax, [ebx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebx + ebx*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 eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4f60a5
mov eax, 0x647cc8
jmp 0x4f60ba
mov ecx, dword [esp + 0x48]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x40], edx
cmp dword [esi + 0x70], edx
jg 0x4f60e6
push 0
push 0
push dword [esp + 0x3c]
mov edx, 0x24
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
mov dword [esp + 0x40], eax
jmp 0x4f6119
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov edx, dword [esp + 0x34]
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], 0x55
mov bl, byte [edi + 0x11]
jne 0x4f6182
cmp bl, 0x55
jne 0x4f6134
cmp byte [edi + 0x10], 0x56
jne 0x4f6134
mov ebx, 1
jmp 0x4f6136
xor ebx, ebx
push 0
push dword [esp + 0x18]
mov edx, 3
lea ecx, [esp + 0x5c]
call fcn.004f4cd0
add esp, 8
test ebx, ebx
je 0x4f6168
push 0
push dword [esp + 0x14]
mov edx, 2
lea ecx, [esp + 0x5c]
call fcn.004f4cd0
add esp, 8
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x5c]
call fcn.004f4cd0
add esp, 8
jmp 0x4f63ed
push 0
push 0
mov edx, 3
lea ecx, [esp + 0x5c]
call fcn.004f4cd0
add esp, 8
lea ecx, [esp + 0x54]
push 1
cmp bl, 0x53
jne 0x4f634b
cmp byte [edi + 0x10], 0x56
mov ebx, dword [esi + 0x6c]
jne 0x4f61d9
push dword [esp + 0x14]
mov edx, 2
call fcn.004f4cd0
push 1
push 0
mov edx, 1
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x64]
call fcn.004f4cd0
mov dword [esp + 0x54], eax
jmp 0x4f6218
cmp byte [edi + 0x12], 0x57
mov edx, 1
jne 0x4f61f3
push dword [esp + 0x14]
call fcn.004f4cd0
push 1
push 0
jmp 0x4f6202
push dword [esp + 0x18]
call fcn.004f4cd0
push 1
push dword [esp + 0x1c]
mov edx, 2
mov dword [esp + 0x54], eax
lea ecx, [esp + 0x64]
call fcn.004f4cd0
mov dword [esp + 0x58], eax
mov ecx, dword [esi + 0x6c]
add esp, 0x10
cmp dword [esi + 0x70], ecx
jg 0x4f6239
push 0
push ebx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4f6268
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], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4f627a
mov eax, 0x647cc8
jmp 0x4f628f
mov ecx, dword [esp + 0x48]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
lea ecx, [esp + 0x54]
mov eax, dword [esi + 0x6c]
mov edx, 1
push 1
push 0
mov dword [esp + 0x58], eax
call fcn.004f4cd0
mov ecx, dword [esi + 0x6c]
add esp, 8
mov ebx, eax
mov edx, dword [esp + 0x50]
cmp dword [esi + 0x70], ecx
jg 0x4f62d2
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4f6301
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 eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4f6313
mov eax, 0x647cc8
jmp 0x4f6328
mov ecx, dword [esp + 0x44]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esi + 0x6c]
test ebx, ebx
jns 0x4f6335
lea ebx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4f63e1
mov eax, 0x647cc8
jmp 0x4f63ea
mov eax, dword [esi + 0x6c]
mov edx, 1
push 0
mov dword [esp + 0x58], eax
call fcn.004f4cd0
push 0
push dword [esp + 0x1c]
mov edx, 2
lea ecx, [esp + 0x64]
mov ebx, eax
call fcn.004f4cd0
mov ecx, dword [esi + 0x6c]
add esp, 0x10
mov edx, dword [esp + 0x50]
cmp dword [esi + 0x70], ecx
jg 0x4f6399
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4f63c8
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 0x4f63d2
lea ebx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4f63e1
mov eax, 0x647cc8
jmp 0x4f63ea
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4f63ff
mov eax, 0x647cc8
jmp 0x4f6414
mov ecx, dword [esp + 0x40]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4f643b
push 0
push 0
push dword [esp + 0x80]
mov edx, 0x8a
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4f646f
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 + 0x78]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
cmp dword [edi + 8], 0
je 0x4f65a4
mov edx, dword [edi + 0x54]
test edx, edx
je 0x4f6521
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4f64a2
push 0
push edx
push 1
mov edx, 0x46
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4f64d1
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 + 0x58]
cmp dword [esi + 0x70], ecx
jg 0x4f64f2
push 0
push edi
push 0
mov edx, 0x46
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4f6521
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 eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4f6533
mov eax, 0x647cc8
jmp 0x4f6548
mov ecx, dword [esp + 0x4c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4f6571
push 0
push 0
push dword [esp + 0x2c]
mov edx, 0x42
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 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], 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