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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
push ebx
mov ebx, edx
mov edx, ecx
push esi
push edi
mov dword [esp + 0x18], edx
mov edi, dword [ebx + 0x44]
mov esi, dword [edx + 8]
mov dword [esp + 0x20], edi
mov eax, dword [edi + 0xc]
mov dword [esp + 0x2c], eax
test esi, esi
jne 0x50cf38
cmp dword [edx + 0x74], esi
jne 0x50cf2d
mov eax, dword [edx]
test byte [eax + 0x50], 8
jne 0x50cf2d
mov byte [edx + 0x17], 1
call fcn.00491bf0
mov edx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [ebx + 0x20]
xorps xmm0, xmm0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x28], 0
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
movsx eax, word [eax + 0x22]
mov dword [esp + 0x44], eax
mov eax, dword [edx + 0x38]
dec eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x30], eax
mov dword [edx + 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x40], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x10], 0
lea ecx, [eax + 1]
movlpd qword [esp + 0x70], xmm0
mov dword [esp + 0x34], ecx
lea ecx, [eax + 2]
add eax, 3
mov dword [esp + 0x7c], 0
mov dword [esp + 0x88], eax
mov al, byte [edi + 0x11]
mov dword [esp + 0x84], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x78], ecx
cmp al, 0x56
je 0x50d10b
cmp al, 0x5a
je 0x50d013
mov dword [esp + 0x70], 2
jmp 0x50d1a7
cmp dword [edi + 0x58], 0
jne 0x50d1a7
mov ecx, edi
nop
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 0x20]
cmp eax, str.nth_value
je 0x50d1a7
cmp eax, str.first_value
je 0x50d1a7
cmp eax, str.lead
je 0x50d1a7
cmp eax, 0x592320
je 0x50d1a7
mov ecx, dword [ecx + 0x24]
test ecx, ecx
jne 0x50d020
cmp byte [edi + 0x12], 0x58
jne 0x50d0fe
cmp byte [edi + 0x10], 0x59
je 0x50d1a7
mov ebx, dword [esp + 0x18]
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebx]
xor ebx, ebx
mov dword [esp + 0x3c], ebx
test edx, edx
je 0x50d0bc
push ecx
lea eax, [esp + 0x40]
push eax
movzx eax, byte [ecx + 0x54]
push 0x43
push eax
call fcn.00491650
mov ebx, dword [esp + 0x4c]
add esp, 0x10
test ebx, ebx
je 0x50d0e2
mov ecx, ebx
call fcn.00490900
mov ebx, dword [esp + 0x3c]
xor ecx, ecx
test eax, eax
mov edx, 1
cmovg ecx, edx
mov dword [esp + 0x48], ecx
test ebx, ebx
je 0x50d0e2
mov eax, 0x2400
test word [ebx + 8], ax
jne 0x50d0d1
cmp dword [ebx + 0x18], 0
je 0x50d0d8
mov ecx, ebx
call fcn.00490840
mov ecx, dword [ebx + 0x20]
mov edx, ebx
call fcn.0046d590
cmp dword [esp + 0x48], 0
mov edx, dword [esp + 0x18]
je 0x50d1a7
mov dword [esp + 0x70], 3
jmp 0x50d1a7
mov dword [esp + 0x70], 1
jmp 0x50d1a7
cmp byte [edi + 0x10], 0x59
je 0x50d1a7
mov ebx, dword [esp + 0x18]
mov edx, dword [edi + 0x18]
mov dword [esp + 0x48], 0
mov ecx, dword [ebx]
xor ebx, ebx
mov dword [esp + 0x3c], ebx
test edx, edx
je 0x50d168
push ecx
lea eax, [esp + 0x40]
push eax
movzx eax, byte [ecx + 0x54]
push 0x43
push eax
call fcn.00491650
mov ebx, dword [esp + 0x4c]
add esp, 0x10
test ebx, ebx
je 0x50d18e
mov ecx, ebx
call fcn.00490900
mov ebx, dword [esp + 0x3c]
xor ecx, ecx
test eax, eax
mov eax, 1
cmovg ecx, eax
mov dword [esp + 0x48], ecx
test ebx, ebx
je 0x50d18e
mov eax, 0x2400
test word [ebx + 8], ax
jne 0x50d17d
cmp dword [ebx + 0x18], 0
je 0x50d184
mov ecx, ebx
call fcn.00490840
mov ecx, dword [ebx + 0x20]
mov edx, ebx
call fcn.0046d590
mov eax, dword [esp + 0x70]
mov edx, 1
cmp dword [esp + 0x48], 0
cmovne eax, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x70], eax
mov eax, dword [edx + 0x2c]
mov ecx, dword [esp + 0x44]
inc ecx
lea ebx, [eax + 1]
add eax, ecx
mov dword [esp + 0x3c], eax
inc eax
mov dword [edx + 0x2c], eax
mov cl, byte [edi + 0x11]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x74], eax
cmp cl, 0x58
je 0x50d1d5
cmp cl, 0x56
jne 0x50d1dd
inc eax
mov dword [esp + 0x14], eax
mov dword [edx + 0x2c], eax
mov cl, byte [edi + 0x12]
cmp cl, 0x58
je 0x50d1ea
cmp cl, 0x56
jne 0x50d1f2
inc eax
mov dword [esp + 0x10], eax
mov dword [edx + 0x2c], eax
cmp byte [edi + 0x10], 0x4c
je 0x50d251
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x50d204
mov ecx, dword [ecx]
jmp 0x50d206
xor ecx, ecx
mov edx, dword [edi + 0x4c]
add edx, ebx
mov dword [esp + 0x28], edx
mov edx, dword [edi + 8]
test edx, edx
je 0x50d220
mov ebx, dword [esp + 0x28]
add ebx, dword [edx]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x18]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x1c], 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 dword [ebx + 0x2c], eax
mov edx, dword [esp + 0x44]
xor ebx, ebx
test edx, edx
jle 0x50d2be
mov edi, dword [esp + 0x38]
nop
mov ecx, dword [esi + 0x74]
lea edx, [edi + ebx]
cmp dword [esi + 0x78], ecx
jg 0x50d282
push edx
push ebx
push dword [esp + 0x5c]
mov edx, 0x5d
mov ecx, esi
call fcn.00491e40
add esp, 0xc
jmp 0x50d2b1
mov edi, dword [esp + 0x54]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x5d
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 0x50d260
mov edi, dword [esp + 0x20]
mov ecx, dword [esi + 0x74]
mov ebx, dword [esp + 0x38]
cmp dword [esi + 0x78], ecx
jg 0x50d2e1
push dword [esp + 0x3c]
mov ecx, esi
push edx
push ebx
mov edx, 0x60
call fcn.00491e40
add esp, 0xc
jmp 0x50d30c
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x60
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 0x50d4cd
mov eax, dword [edx]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x4c]
add eax, ebx
mov ebx, dword [esp + 0x18]
push 0
push 0
mov ecx, ebx
mov dword [esp + 0x40], eax
call fcn.004e0130
inc dword [ebx + 0x2c]
add esp, 8
mov edx, dword [edi + 0x44]
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0x2c]
mov ebx, dword [esi + 0x74]
mov dword [esp + 0x24], eax
cmp dword [esi + 0x78], ebx
jg 0x50d36d
push dword [esp + 0x44]
mov ecx, esi
push edx
push dword [esp + 0x40]
mov edx, 0x59
call fcn.00491e40
add esp, 0xc
mov ebx, eax
jmp 0x50d3a0
mov edi, dword [esp + 0x38]
lea eax, [ebx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x70]
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], 0x59
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 + 0x57], 0
je 0x50d3bc
push edx
mov edx, 0xfffffff7
call fcn.00492950
add esp, 4
jmp 0x50d3ce
mov eax, dword [esi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov ecx, dword [esi + 0x74]
lea edx, [ebx + 2]
add ebx, 4
cmp dword [esi + 0x78], ecx
jg 0x50d3f0
push edx
push ebx
push edx
mov edx, 0x10
mov ecx, esi
call fcn.00491e40
add esp, 0xc
jmp 0x50d41b
mov edi, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
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 + 0x74]
mov dword [esp + 0x4c], ecx
cmp dword [esi + 0x78], ecx
jg 0x50d444
push 0
push 0
push dword [esp + 0x2c]
mov edx, 0xc
mov ecx, esi
call fcn.00491e40
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x50d477
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
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 + 0x74]
dec edx
mov ebx, dword [edi + 0x44]
cmp dword [esi + 0x78], ecx
jg 0x50d49e
push edx
push ebx
push dword [esp + 0x40]
mov edx, 0x4f
mov ecx, esi
call fcn.00491e40
add esp, 0xc
jmp 0x50d4cd
mov edi, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x4f
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 + 0x74]
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
cmp dword [esi + 0x78], ecx
jg 0x50d4f6
push 0
push ebx
push edx
mov edx, 0x7e
mov ecx, esi
call fcn.00491e40
mov edx, dword [esp + 0x40]
add esp, 0xc
jmp 0x50d521
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x7e
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x50d540
push ebx
push dword [esp + 0x40]
mov ecx, esi
push edx
mov edx, 0x7f
call fcn.00491e40
add esp, 0xc
jmp 0x50d56f
mov edi, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x7f
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 + 0x74]
mov edx, dword [edi + 0x54]
mov dword [esp + 0x54], ecx
cmp dword [esi + 0x78], ecx
jg 0x50d597
push ebx
push 0
push edx
mov edx, 0x34
mov ecx, esi
call fcn.00491e40
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x50d5c6
mov edi, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
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 + 0x18]
mov edx, edi
mov ecx, ebx
call fcn.0050ba80
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x50d60a
mov edx, dword [edi + 0x18]
mov ecx, ebx
push eax
call fcn.004b13e0
mov edx, dword [esp + 0x18]
xor eax, eax
add esp, 4
mov ecx, 3
cmp byte [edi + 0x10], 0x59
cmove eax, ecx
mov ecx, ebx
push eax
call fcn.00509c00
add esp, 4
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x50d644
mov edx, dword [edi + 0x1c]
push ecx
mov ecx, ebx
call fcn.004b13e0
mov edx, dword [esp + 0x14]
add esp, 4
cmp byte [edi + 0x10], 0x59
mov ecx, 4
mov eax, 1
cmove eax, ecx
mov ecx, ebx
push eax
call fcn.00509c00
mov ecx, dword [esp + 0x14]
add esp, 4
cmp byte [edi + 0x10], 0x59
je 0x50d81b
mov al, byte [edi + 0x11]
cmp al, byte [edi + 0x12]
jne 0x50d81b
cmp dword [esp + 0x14], 0
je 0x50d81b
mov ebx, dword [esi + 0x74]
xor edx, edx
cmp al, 0x56
sete dl
lea edx, [edx*2 + 0x37]
cmp dword [esi + 0x78], ebx
jg 0x50d690
push ecx
push 0
push dword [esp + 0x1c]
mov ecx, esi
call fcn.00491e40
add esp, 0xc
mov ebx, eax
jmp 0x50d6cb
lea eax, [ebx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
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 + 0x58]
call fcn.0050a8f0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x50d6fa
push 0
push 1
push dword [esp + 0x88]
mov edx, 0x26
mov ecx, esi
call fcn.00491e40
add esp, 0xc
jmp 0x50d731
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x26
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 + 0x58]
call fcn.0050b370
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x50d763
mov eax, dword [esp + 0x80]
mov edx, 0x91
push 0
push 0
push eax
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.00491e40
add esp, 0xc
jmp 0x50d79d
mov edx, dword [esp + 0x80]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [esp + 0x40], edx
mov dword [eax + ecx*4], 0x91
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 + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x50d7be
push 0
push dword [esp + 0x34]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.00491e40
add esp, 0xc
jmp 0x50d7f1
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
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 + 0x74]
cmp byte [eax + 0x57], 0
je 0x50d803
mov eax, 0x5cdb30
jmp 0x50d814
test ebx, ebx
lea eax, [edx - 1]
cmovns eax, ebx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov ebx, dword [esp + 0x18]
mov dword [eax + 8], edx
cmp byte [edi + 0x11], 0x56
jne 0x50d880
cmp byte [edi + 0x10], 0x59
je 0x50d880
mov edx, dword [esp + 0x10]
test edx, edx
je 0x50d880
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x50d84f
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
push edx
push eax
mov edx, 0x6b
call fcn.00491e40
add esp, 0xc
jmp 0x50d880
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], edx
mov edx, ebx
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x6b
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [edi + 0x11], 0x5a
je 0x50d8d7
mov ecx, dword [esi + 0x74]
mov edx, dword [esp + 0x78]
cmp dword [esi + 0x78], ecx
jg 0x50d8a8
push 0
push 1
push edx
mov edx, 0x26
mov ecx, esi
call fcn.00491e40
add esp, 0xc
jmp 0x50d8d7
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x26
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 + 0x74]
mov edx, dword [esp + 0x40]
cmp dword [esi + 0x78], ecx
jg 0x50d8f9
push 0
push 1
push edx
mov edx, 0x26
mov ecx, esi
call fcn.00491e40
add esp, 0xc
jmp 0x50d928
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x26
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 + 0x74]
mov edx, dword [esp + 0x88]
cmp dword [esi + 0x78], ecx
jg 0x50d94d
push 0
push 1
push edx
mov edx, 0x26
mov ecx, esi
call fcn.00491e40
add esp, 0xc
jmp 0x50d97c
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x26
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 + 0x1c]
test eax, eax
je 0x50db0c
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x50db0c
mov edx, dword [ecx]
mov ecx, dword [esi + 0x74]
dec edx
cmp dword [esi + 0x78], ecx
jg 0x50d9b6
push edx
push eax
push dword [esp + 0x30]
mov edx, 0x4f
mov ecx, esi
call fcn.00491e40
add esp, 0xc
jmp 0x50d9e9
mov edi, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x74]
mov edx, dword [edx]
dec edx
cmp dword [esi + 0x78], ecx
jg 0x50da15
push edx
push dword [esp + 0x80]
mov edx, 0x4f
mov ecx, esi
push dword [esp + 0x24]
call fcn.00491e40
add esp, 0xc
jmp 0x50da48
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x7c]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax]
dec edx
cmp dword [esi + 0x78], ecx
jg 0x50da74
push edx
push dword [esp + 0x88]
mov edx, 0x4f
mov ecx, esi
push dword [esp + 0x24]
call fcn.00491e40
add esp, 0xc
jmp 0x50daaa
mov edi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x84]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax]
dec edx
cmp dword [esi + 0x78], ecx
jg 0x50dad6
push edx
push dword [esp + 0x90]
mov edx, 0x4f
mov ecx, esi
push dword [esp + 0x24]
call fcn.00491e40
add esp, 0xc
jmp 0x50db0c
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x8c]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x50db2d
push 0
push dword [esp + 0x34]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.00491e40
add esp, 0xc
jmp 0x50db60
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
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 + 0x74]
cmp byte [eax + 0x57], 0
je 0x50db72
mov eax, 0x5cdb30
jmp 0x50db87
mov ecx, dword [esp + 0x54]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x50dba9
push dword [esp + 0x30]
mov edx, dword [esp + 0x30]
mov ecx, ebx
push eax
push dword [esp + 0x30]
call fcn.0050bcf0
add esp, 0xc
mov al, byte [edi + 0x11]
cmp al, 0x56
jne 0x50dcdd
push 0
push 0
mov edx, 3
lea ecx, [esp + 0x60]
call fcn.0050c530
add esp, 8
cmp byte [edi + 0x12], 0x5a
je 0x50dee6
cmp byte [edi + 0x10], 0x59
lea ecx, [esp + 0x58]
jne 0x50dcb0
dec dword [ebx + 0x38]
mov edx, 0x39
mov ebx, dword [ebx + 0x38]
mov eax, dword [esi + 0x74]
push ebx
push dword [esp + 0x8c]
mov dword [esp + 0x5c], eax
push dword [esp + 0x18]
push dword [esp + 0x8c]
call fcn.0050bee0
push 0
push dword [esp + 0x28]
mov edx, 2
lea ecx, [esp + 0x70]
call fcn.0050c530
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x78]
call fcn.0050c530
mov ecx, dword [esi + 0x74]
add esp, 0x20
mov edx, dword [esp + 0x54]
cmp dword [esi + 0x78], ecx
jg 0x50dc56
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00491e40
add esp, 0xc
jmp 0x50dc85
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
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 0x50dca2
push ebx
mov edx, esi
call fcn.00492660
add esp, 4
jmp 0x50dee6
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + ebx*4], eax
jmp 0x50dee6
mov ebx, dword [esp + 0x10]
mov edx, 1
push 0
push ebx
call fcn.0050c530
push 0
push dword [esp + 0x20]
mov edx, 2
lea ecx, [esp + 0x68]
call fcn.0050c530
add esp, 0x10
jmp 0x50deea
cmp byte [edi + 0x12], 0x58
jne 0x50dd77
cmp al, 0x58
jne 0x50dd34
cmp byte [edi + 0x10], 0x59
jne 0x50dd34
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x58]
push 0
push ebx
mov edx, 3
call fcn.0050c530
push 0
push dword [esp + 0x20]
mov edx, 2
lea ecx, [esp + 0x68]
call fcn.0050c530
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x70]
call fcn.0050c530
add esp, 0x18
jmp 0x50deea
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x58]
push 0
push ebx
mov edx, 3
call fcn.0050c530
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x68]
call fcn.0050c530
push 0
push dword [esp + 0x28]
mov edx, 2
lea ecx, [esp + 0x70]
call fcn.0050c530
add esp, 0x18
jmp 0x50deea
xor ebx, ebx
lea ecx, [esp + 0x58]
push ebx
push ebx
lea edx, [ebx + 3]
call fcn.0050c530
add esp, 8
cmp byte [edi + 0x12], 0x5a
je 0x50dee6
cmp byte [edi + 0x10], 0x59
jne 0x50de35
mov eax, dword [esi + 0x74]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x50ddd8
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x58]
mov edx, 0x39
dec dword [ebx + 0x38]
mov ebx, dword [ebx + 0x38]
push ebx
push dword [esp + 0x8c]
push eax
push dword [esp + 0x8c]
call fcn.0050bee0
add esp, 0x10
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x60]
call fcn.0050c530
push 0
push dword [esp + 0x20]
mov edx, 2
lea ecx, [esp + 0x68]
call fcn.0050c530
add esp, 0x10
cmp dword [esp + 0x10], 0
je 0x50dee6
mov ecx, dword [esi + 0x74]
mov edx, dword [esp + 0x54]
cmp dword [esi + 0x78], ecx
jg 0x50dc56
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00491e40
add esp, 0xc
jmp 0x50dc85
mov edx, dword [esp + 0x10]
test edx, edx
je 0x50de90
mov ebx, dword [esi + 0x74]
cmp dword [esi + 0x78], ebx
jg 0x50de5d
push 1
push 0
push edx
mov edx, 0x31
mov ecx, esi
call fcn.00491e40
add esp, 0xc
mov ebx, eax
jmp 0x50de90
mov edi, dword [esp + 0x20]
lea eax, [ebx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x31
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x60]
call fcn.0050c530
push 0
push dword [esp + 0x20]
mov edx, 2
lea ecx, [esp + 0x68]
call fcn.0050c530
add esp, 0x10
cmp dword [esp + 0x10], 0
je 0x50dee6
mov eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x50ded2
mov eax, 0x5cdb30
jmp 0x50dee3
test ebx, ebx
lea eax, [edx - 1]
cmovns eax, ebx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x30]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x50df08
push edx
mov edx, esi
call fcn.00492660
add esp, 4
jmp 0x50df11
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
call fcn.00506790
cmp dword [edi + 8], 0
je 0x50dfa9
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x50], ecx
cmp dword [esi + 0x78], ecx
jg 0x50df4c
push 0
push dword [esp + 0x28]
mov edx, 0x47
mov ecx, esi
push 0
call fcn.00491e40
add esp, 0xc
mov dword [esp + 0x50], eax
jmp 0x50df7f
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
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 + 0x74]
cmp byte [eax + 0x57], 0
je 0x50df91
mov eax, 0x5cdb30
jmp 0x50dfa6
mov ecx, dword [esp + 0x4c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esi + 0x74]
mov dword [esp + 0x74], 0
mov dword [esp + 0x54], edx
cmp dword [esi + 0x78], edx
jg 0x50dfdb
mov edx, dword [esp + 0x34]
mov ecx, esi
push 0
push 0
push edx
mov edx, 0x26
call fcn.00491e40
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x50e00e
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x26
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
mov al, byte [edi + 0x11]
jne 0x50e06d
cmp al, 0x58
jne 0x50e040
cmp byte [edi + 0x10], 0x59
jne 0x50e040
push 0
push ebx
mov edx, 3
lea ecx, [esp + 0x60]
call fcn.0050c530
mov eax, dword [esp + 0x1c]
add esp, 8
mov edx, 2
jmp 0x50e047
mov edx, 3
mov eax, ebx
push 0
lea ecx, [esp + 0x5c]
push eax
call fcn.0050c530
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x68]
call fcn.0050c530
add esp, 0x10
jmp 0x50e2d4
lea ecx, [esp + 0x58]
mov edx, 3
push 0
push 0
cmp al, 0x56
jne 0x50e228
call fcn.0050c530
mov ebx, dword [esi + 0x74]
lea ecx, [esp + 0x60]
add esp, 8
cmp byte [edi + 0x10], 0x59
push 1
jne 0x50e0c3
push dword [esp + 0x18]
mov edx, 2
call fcn.0050c530
push 1
push 0
mov edx, 1
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x68]
call fcn.0050c530
mov dword [esp + 0x58], eax
jmp 0x50e102
cmp byte [edi + 0x12], 0x5a
mov edx, 1
jne 0x50e0dd
push dword [esp + 0x18]
call fcn.0050c530
push 1
push 0
jmp 0x50e0ec
push dword [esp + 0x14]
call fcn.0050c530
push 1
push dword [esp + 0x20]
mov edx, 2
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x68]
call fcn.0050c530
mov dword [esp + 0x5c], eax
mov ecx, dword [esi + 0x74]
add esp, 0x10
cmp dword [esi + 0x78], ecx
jg 0x50e123
push 0
push ebx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00491e40
add esp, 0xc
jmp 0x50e152
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
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 + 0x74]
cmp byte [eax + 0x57], 0
je 0x50e164
mov eax, 0x5cdb30
jmp 0x50e179
mov ecx, dword [esp + 0x4c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
lea ecx, [esp + 0x58]
mov ebx, dword [esi + 0x74]
mov edx, 1
push 1
push 0
call fcn.0050c530
mov ecx, dword [esi + 0x74]
add esp, 8
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x78], ecx
jg 0x50e1b6
push 0
push ebx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00491e40
add esp, 0xc
jmp 0x50e1e5
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
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 + 0x74]
cmp byte [eax + 0x57], 0
je 0x50e1f7
mov eax, 0x5cdb30
jmp 0x50e20c
mov ecx, dword [esp + 0x48]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x50e2bc
mov eax, 0x5cdb30
jmp 0x50e2d1
call fcn.0050c530
mov ebx, dword [esi + 0x74]
lea ecx, [esp + 0x60]
push 1
push 0
mov edx, 1
call fcn.0050c530
push 0
push dword [esp + 0x28]
mov edx, 2
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x70]
call fcn.0050c530
mov ecx, dword [esi + 0x74]
add esp, 0x18
cmp dword [esi + 0x78], ecx
jg 0x50e27b
push 0
push ebx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00491e40
add esp, 0xc
jmp 0x50e2aa
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
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 + 0x74]
cmp byte [eax + 0x57], 0
je 0x50e2bc
mov eax, 0x5cdb30
jmp 0x50e2d1
mov ecx, dword [esp + 0x4c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x50e2e6
mov eax, 0x5cdb30
jmp 0x50e2fb
mov ecx, dword [esp + 0x54]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x50e322
push 0
push 0
push dword [esp + 0x88]
mov edx, 0x91
mov ecx, esi
call fcn.00491e40
add esp, 0xc
jmp 0x50e359
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x91
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 0x50e48e
mov edx, dword [edi + 0x58]
test edx, edx
je 0x50e40b
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x50e38c
push 0
push edx
push 1
mov edx, 0x47
mov ecx, esi
call fcn.00491e40
add esp, 0xc
jmp 0x50e3bb
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
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 + 0x74]
mov edi, dword [edi + 0x5c]
cmp dword [esi + 0x78], ecx
jg 0x50e3dc
push 0
push edi
push 0
mov edx, 0x47
mov ecx, esi
call fcn.00491e40
add esp, 0xc
jmp 0x50e40b
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
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 + 0x74]
cmp byte [eax + 0x57], 0
je 0x50e41d
mov eax, 0x5cdb30
jmp 0x50e432
mov ecx, dword [esp + 0x50]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x50e45b
push 0
push 0
push dword [esp + 0x2c]
mov edx, 0x43
mov ecx, esi
call fcn.00491e40
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 + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x43
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