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

Disassembly:
sub esp, 0x6c
push ebx
mov ebx, dword [esp + 0x78]
push ebp
mov ebp, dword [esp + 0x78]
push esi
push edi
mov edi, dword [ebx + 0x44]
mov esi, dword [ebp + 8]
mov dword [esp + 0x38], edi
mov eax, dword [edi + 0xc]
mov dword [esp + 0x1c], eax
test esi, esi
jne 0x587554
cmp dword [ebp + 0x80], esi
jne 0x587549
mov eax, dword [ebp]
test byte [eax + 0x50], 8
jne 0x587549
mov byte [ebp + 0x17], 1
push ebp
call fcn.00570c30
add esp, 4
mov esi, eax
mov eax, dword [ebx + 0x20]
xorps xmm0, xmm0
movlpd qword [esp + 0x64], xmm0
movlpd qword [esp + 0x74], xmm0
movlpd qword [esp + 0x6c], xmm0
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x40], ecx
movlpd qword [esp + 0x5c], xmm0
mov dword [esp + 0x44], ebp
movsx ebx, word [eax + 0x22]
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0x38]
dec eax
mov dword [esp + 0x2c], ebx
mov dword [ebp + 0x38], eax
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x50], eax
lea eax, [ecx + 1]
mov dword [esp + 0x90], eax
lea eax, [ecx + 2]
mov dword [esp + 0x64], eax
lea eax, [ecx + 3]
mov dword [esp + 0x74], eax
mov al, byte [edi + 0x11]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x6c], ecx
cmp al, 0x56
je 0x587679
cmp al, 0x5a
je 0x587610
mov dword [esp + 0x5c], 2
jmp 0x58769d
cmp dword [edi + 0x58], 0
jne 0x58769d
mov ecx, edi
nop dword [eax]
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 0x20]
cmp eax, str.nth_value
je 0x58769d
cmp eax, str.first_value
je 0x58769d
cmp eax, str.lead
je 0x58769d
cmp eax, 0x6044d0
je 0x58769d
mov ecx, dword [ecx + 0x24]
test ecx, ecx
jne 0x587620
cmp byte [edi + 0x12], 0x58
jne 0x58766f
cmp byte [edi + 0x10], 0x59
je 0x58769d
push dword [edi + 0x1c]
push ebp
call fcn.005a00e0
add esp, 8
test eax, eax
je 0x58769d
mov dword [esp + 0x5c], 3
jmp 0x58769d
mov dword [esp + 0x5c], 1
jmp 0x58769d
cmp byte [edi + 0x10], 0x59
je 0x58769d
push dword [edi + 0x18]
push ebp
call fcn.005a00e0
mov ecx, dword [esp + 0x64]
add esp, 8
test eax, eax
mov eax, 1
cmovne ecx, eax
mov dword [esp + 0x5c], ecx
mov eax, dword [ebp + 0x2c]
lea edx, [eax + 1]
inc eax
add eax, ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], eax
lea ebx, [eax + 1]
mov dword [ebp + 0x2c], ebx
mov cl, byte [edi + 0x11]
mov dword [esp + 0x60], ebx
cmp cl, 0x58
je 0x5876c7
mov eax, ebx
cmp cl, 0x56
jne 0x5876d1
lea eax, [ebx + 1]
mov dword [esp + 0x10], eax
mov dword [ebp + 0x2c], eax
mov cl, byte [edi + 0x12]
cmp cl, 0x58
je 0x5876de
cmp cl, 0x56
jne 0x5876ed
lea ebx, [eax + 1]
mov dword [esp + 0x84], ebx
mov eax, ebx
mov dword [ebp + 0x2c], ebx
cmp byte [edi + 0x10], 0x4c
je 0x58773e
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x5876ff
mov ecx, dword [ecx]
jmp 0x587701
xor ecx, ecx
mov ebx, dword [edi + 0x4c]
add ebx, edx
mov edx, dword [edi + 8]
mov dword [esp + 0x28], ebx
test edx, edx
je 0x587717
add ebx, dword [edx]
mov dword [esp + 0x28], ebx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x14], edx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x68], edx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x70], edx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x78], edx
mov dword [ebp + 0x2c], eax
mov edx, dword [esp + 0x2c]
xor ebx, ebx
test edx, edx
jle 0x5877b1
mov ebp, dword [esp + 0x30]
mov edi, edx
nop
mov ecx, dword [esi + 0x6c]
lea edx, [ebx + ebp]
cmp dword [esi + 0x70], ecx
jg 0x58776e
push edx
push ebx
push dword [esp + 0x48]
push 0x5e
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x58779d
mov edi, dword [esp + 0x40]
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 + 0x2c]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
inc ebx
cmp ebx, edi
jl 0x587750
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x80]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x6c]
mov ebx, dword [esp + 0x30]
cmp dword [esi + 0x70], ecx
jg 0x5877d0
push dword [esp + 0x24]
push edx
push ebx
push 0x61
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x5877fb
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 + 0x24]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 8]
test eax, eax
je 0x5879c7
mov ecx, dword [eax]
push 0
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0x4c]
push 0
push eax
add ecx, ebx
push ebp
mov dword [esp + 0x3c], ecx
call fcn.00556000
inc dword [ebp + 0x2c]
mov ebx, eax
mov eax, dword [ebp + 0x2c]
add esp, 0x10
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], edx
cmp dword [esi + 0x70], edx
jg 0x58785d
mov edx, dword [esp + 0x30]
push edx
push eax
push dword [esp + 0x34]
push 0x5a
push esi
call fcn.0050f290
add esp, 0x14
mov dword [esp + 0x40], eax
jmp 0x587890
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x5878b8
cmp dword [eax + 0x210], 0
jne 0x5878ca
test ebx, ebx
je 0x5878ca
add dword [ebx], 0xffffffff
jne 0x5878ca
push ebx
push dword [ebx + 0xc]
call fcn.0053c330
add esp, 8
jmp 0x5878ca
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], ebx
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 0x6c]
lea edx, [eax + 2]
lea ebx, [eax + 4]
cmp dword [esi + 0x70], ecx
jg 0x5878ec
push edx
push ebx
push edx
push 0xe
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x58791a
mov ebp, dword [esp + 0x80]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xe
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 + 0x34], ecx
cmp dword [esi + 0x70], ecx
jg 0x58793f
push 0
push 0
push dword [esp + 0x20]
push 0xa
push esi
call fcn.0050f290
add esp, 0x14
mov dword [esp + 0x34], eax
jmp 0x587972
mov edx, 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], 0xa
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 + 0x30]
mov ecx, dword [esi + 0x6c]
dec edx
mov ebx, dword [edi + 0x44]
cmp dword [esi + 0x70], ecx
jg 0x587995
push edx
push ebx
push dword [esp + 0x34]
push 0x50
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x5879c7
mov ebp, 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 + 4], ebp
mov ebp, dword [esp + 0x80]
mov dword [eax + ecx*4], 0x50
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 0x5879ef
mov ebx, dword [esp + 0x24]
push 0
inc ebx
push ebx
push dword [esp + 0x98]
push 0x7f
push esi
call fcn.0050f290
mov edx, dword [esp + 0x38]
add esp, 0x14
jmp 0x587a28
mov edx, dword [esp + 0x90]
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 + 0x24]
mov dword [eax + ecx*4], 0x7f
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 0x587a49
push ebx
push edx
push dword [esp + 0x98]
push pe_nt_image_headers32
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x587a7e
mov ebp, dword [esp + 0x90]
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], ebp
mov ebp, dword [esp + 0x80]
mov dword [eax + ecx*4], pe_nt_image_headers32
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 + 0x54]
mov dword [esp + 0x40], ecx
cmp dword [esi + 0x70], ecx
jg 0x587aa2
push ebx
push 0
push edx
push 0x34
push esi
call fcn.0050f290
add esp, 0x14
mov dword [esp + 0x40], eax
jmp 0x587ad4
mov ebp, dword [esp + 0x80]
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
push edi
push ebp
call fcn.005a0ae0
mov ebx, dword [esp + 0x18]
add esp, 8
mov dword [esp + 0x58], eax
test ebx, ebx
je 0x587b0d
push ebx
push dword [edi + 0x18]
push ebp
call fcn.0053fa80
xor eax, eax
mov ecx, 3
cmp byte [edi + 0x10], 0x59
cmove eax, ecx
push eax
push ebx
push ebp
call fcn.0059f640
add esp, 0x18
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x587b4b
push ecx
push dword [edi + 0x1c]
push ebp
call fcn.0053fa80
cmp byte [edi + 0x10], 0x59
mov ecx, 4
mov eax, 1
cmove eax, ecx
push eax
push dword [esp + 0x94]
push ebp
call fcn.0059f640
mov ecx, dword [esp + 0x9c]
add esp, 0x18
cmp byte [edi + 0x10], 0x59
je 0x587d0f
mov al, byte [edi + 0x11]
cmp al, byte [edi + 0x12]
jne 0x587d0f
test ebx, ebx
je 0x587d0f
mov ebx, dword [esi + 0x6c]
xor edx, edx
cmp al, 0x56
sete dl
lea edx, [edx*2 + 0x37]
cmp dword [esi + 0x70], ebx
jg 0x587b94
push ecx
push 0
push dword [esp + 0x18]
push edx
push esi
call fcn.0050f290
add esp, 0x14
mov ebx, eax
jmp 0x587bd2
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 + 0x84]
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
lea eax, [esp + 0x44]
push 0
push eax
call fcn.0059ea60
mov ecx, dword [esi + 0x6c]
add esp, 8
cmp dword [esi + 0x70], ecx
jg 0x587c01
push 0
push 0
push dword [esp + 0x94]
push 0x24
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x587c37
mov edx, dword [esp + 0x8c]
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], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [esp + 0x44]
push eax
call fcn.005a0e50
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x587c67
push 0
push 0
push dword [esp + 0x94]
push 0x92
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x587c9d
mov edx, dword [esp + 0x8c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x92
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 0x587cba
push 0
push dword [esp + 0x24]
push 0
push 9
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x587ced
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], 9
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 + 0x57], 0
je 0x587cff
mov eax, 0x63d108
jmp 0x587d08
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov ebx, dword [esp + 0x10]
mov dword [eax + 8], edx
cmp byte [edi + 0x11], 0x56
jne 0x587d6c
cmp byte [edi + 0x10], 0x59
je 0x587d6c
mov edx, dword [esp + 0x84]
test edx, edx
je 0x587d6c
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x587d3e
push ebx
push edx
push ebx
push 0x6b
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x587d6c
mov ebp, dword [esp + 0x80]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x6b
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [edi + 0x11], 0x5a
je 0x587dcc
mov edx, dword [esp + 0x8c]
mov ecx, dword [esi + 0x6c]
add edx, 2
cmp dword [esi + 0x70], ecx
jg 0x587d96
push 0
push 0
push edx
push 0x24
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x587dcc
mov ebp, dword [esp + 0x80]
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], 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 0x587dec
push 0
push 0
push dword [esp + 0x94]
push 0x24
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x587e22
mov edx, dword [esp + 0x8c]
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], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x74]
cmp dword [esi + 0x70], ecx
jg 0x587e40
push 0
push 0
push edx
push 0x24
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x587e6f
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], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x587fe6
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x587fe6
mov edx, dword [ecx]
mov ecx, dword [esi + 0x6c]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x587ea5
push edx
push eax
push dword [esp + 0x30]
push 0x50
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x587edb
mov ebp, 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], ebp
mov ebp, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], ebp
mov ebp, dword [esp + 0x80]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x587f00
push edx
push dword [esp + 0x6c]
push dword [esp + 0x1c]
push 0x50
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x587f33
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 + 4], ebx
mov ebx, dword [esp + 0x68]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x587f58
push edx
push dword [esp + 0x74]
push dword [esp + 0x1c]
push 0x50
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x587f8b
mov edi, 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 + 4], edi
mov edi, dword [esp + 0x70]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x587fb0
push edx
push dword [esp + 0x7c]
push dword [esp + 0x1c]
push 0x50
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x587fe6
mov ebp, 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 + 4], ebp
mov ebp, dword [esp + 0x78]
mov dword [eax + ecx*4 + 8], ebp
mov ebp, dword [esp + 0x80]
mov dword [eax + ecx*4], 0x50
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 0x588003
push 0
push dword [esp + 0x24]
push 0
push 9
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x588036
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], 9
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 + 0x57], 0
je 0x588048
mov eax, 0x63d108
jmp 0x588055
mov eax, dword [esp + 0x40]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x588076
push dword [esp + 0x20]
push eax
push dword [esp + 0x30]
push dword [esp + 0x28]
push ebp
call fcn.005a0940
add esp, 0x14
mov al, byte [edi + 0x11]
cmp al, 0x56
jne 0x588188
push 0
push 0
lea eax, [esp + 0x4c]
push 3
push eax
call fcn.0059f8c0
add esp, 0x10
cmp byte [edi + 0x12], 0x5a
je 0x58834a
cmp byte [edi + 0x10], 0x59
lea eax, [esp + 0x44]
jne 0x58815f
dec dword [ebp + 0x38]
mov ebx, dword [ebp + 0x38]
mov ebp, dword [esi + 0x6c]
push ebx
push dword [esp + 0x78]
push dword [esp + 0x8c]
push dword [esp + 0x98]
push 0x39
push eax
call fcn.0059fce0
push 0
push dword [esp + 0x2c]
lea eax, [esp + 0x64]
push 2
push eax
call fcn.0059f8c0
push 0
push 0
lea eax, [esp + 0x74]
push 1
push eax
call fcn.0059f8c0
mov ecx, dword [esi + 0x6c]
add esp, 0x38
cmp dword [esi + 0x70], ecx
jg 0x58810f
push 0
push ebp
push 0
push 9
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x58813e
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebp
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 0x5882db
push ebx
push esi
push ecx
call fcn.00529000
add esp, 0xc
jmp 0x58834a
mov ebp, dword [esp + 0x84]
push 0
push ebp
push 1
push eax
call fcn.0059f8c0
push 0
push ebx
lea eax, [esp + 0x5c]
push 2
push eax
call fcn.0059f8c0
add esp, 0x20
jmp 0x58834a
cmp byte [edi + 0x12], 0x58
jne 0x588214
cmp al, 0x58
jne 0x5881d8
cmp byte [edi + 0x10], 0x59
jne 0x5881d8
push 0
push dword [esp + 0x88]
lea eax, [esp + 0x4c]
push 3
push eax
call fcn.0059f8c0
push 0
push ebx
lea eax, [esp + 0x5c]
push 2
push eax
call fcn.0059f8c0
push 0
push 0
lea eax, [esp + 0x6c]
push 1
push eax
call fcn.0059f8c0
add esp, 0x30
jmp 0x58834a
push 0
push dword [esp + 0x88]
lea eax, [esp + 0x4c]
push 3
push eax
call fcn.0059f8c0
push 0
push 0
lea eax, [esp + 0x5c]
push 1
push eax
call fcn.0059f8c0
push 0
push ebx
lea eax, [esp + 0x6c]
push 2
push eax
call fcn.0059f8c0
add esp, 0x30
jmp 0x58834a
xor ebx, ebx
lea eax, [esp + 0x44]
push ebx
push ebx
push 3
push eax
call fcn.0059f8c0
add esp, 0x10
cmp byte [edi + 0x12], 0x5a
je 0x58834a
cmp byte [edi + 0x10], 0x59
jne 0x5882e6
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x80], eax
cmp dword [esp + 0x84], ebx
je 0x588279
dec dword [ebp + 0x38]
lea eax, [esp + 0x44]
mov ebx, dword [ebp + 0x38]
mov ebp, dword [esp + 0x84]
push ebx
push dword [esp + 0x78]
push ebp
push dword [esp + 0x98]
push 0x39
push eax
call fcn.0059fce0
add esp, 0x18
jmp 0x588280
mov ebp, dword [esp + 0x84]
push 0
push 0
lea eax, [esp + 0x4c]
push 1
push eax
call fcn.0059f8c0
push 0
push dword [esp + 0x24]
lea eax, [esp + 0x5c]
push 2
push eax
call fcn.0059f8c0
add esp, 0x20
test ebp, ebp
je 0x58834a
push dword [esp + 0x80]
push 0
push 9
push esi
call fcn.00570400
mov ecx, dword [esi + 0xc]
add esp, 0x10
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x5882db
push ebx
push esi
push ecx
call fcn.00529000
add esp, 0xc
jmp 0x58834a
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + ebx*4], eax
jmp 0x58834a
mov ebp, dword [esp + 0x84]
test ebp, ebp
je 0x588303
push 1
push 0
push ebp
push 0x3b
push esi
call fcn.00570460
add esp, 0x14
mov ebx, eax
push 0
push 0
lea eax, [esp + 0x4c]
push 1
push eax
call fcn.0059f8c0
push 0
push dword [esp + 0x24]
lea eax, [esp + 0x5c]
push 2
push eax
call fcn.0059f8c0
add esp, 0x20
test ebp, ebp
je 0x58834a
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x58833e
mov eax, 0x63d108
jmp 0x588347
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x588368
push edx
push esi
push ecx
call fcn.00529000
add esp, 0xc
jmp 0x588371
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
push dword [esp + 0x88]
call fcn.00584b90
add esp, 4
cmp dword [edi + 8], 0
je 0x588400
mov ebx, dword [esi + 0x6c]
mov dword [esp + 0x3c], ebx
cmp dword [esi + 0x70], ebx
jg 0x5883ab
push 0
push dword [esp + 0x1c]
push 0
push 0x47
push esi
call fcn.0050f290
add esp, 0x14
mov dword [esp + 0x3c], eax
jmp 0x5883de
mov edx, dword [esp + 0x18]
lea eax, [ebx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x68]
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 + 0x6c]
cmp byte [eax + 0x57], 0
je 0x5883f0
mov eax, 0x63d108
jmp 0x5883fd
mov eax, dword [esp + 0x34]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ebp, dword [esi + 0x6c]
mov dword [esp + 0x60], 0
cmp dword [esi + 0x70], ebp
jg 0x58842a
push 0
push 0
push dword [esp + 0x98]
push 0x24
push esi
call fcn.0050f290
add esp, 0x14
mov ebp, eax
jmp 0x588466
mov edx, dword [esp + 0x90]
lea eax, [ebp + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebp*4]
mov eax, dword [esi + 0x68]
add ecx, ebp
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
mov al, byte [edi + 0x11]
jne 0x5884ce
cmp al, 0x58
jne 0x58849c
cmp byte [edi + 0x10], 0x59
jne 0x58849c
push 0
push dword [esp + 0x88]
lea eax, [esp + 0x4c]
push 3
push eax
call fcn.0059f8c0
mov edx, dword [esp + 0x20]
add esp, 0x10
mov ecx, 2
jmp 0x5884a8
mov edx, dword [esp + 0x84]
mov ecx, 3
push 0
push edx
lea eax, [esp + 0x4c]
push ecx
push eax
call fcn.0059f8c0
push 0
push 0
lea eax, [esp + 0x5c]
push 1
push eax
call fcn.0059f8c0
add esp, 0x20
jmp 0x588740
push 0
push 0
cmp al, 0x56
lea eax, [esp + 0x4c]
push 3
push eax
jne 0x58869e
call fcn.0059f8c0
mov ebx, dword [esi + 0x6c]
lea eax, [esp + 0x54]
add esp, 0x10
cmp byte [edi + 0x10], 0x59
push 1
jne 0x588524
push dword [esp + 0x14]
push 2
push eax
call fcn.0059f8c0
push 1
push 0
mov dword [esp + 0x98], eax
lea eax, [esp + 0x5c]
push 1
push eax
call fcn.0059f8c0
mov dword [esp + 0xa4], eax
jmp 0x58856b
cmp byte [edi + 0x12], 0x5a
jne 0x58853c
push dword [esp + 0x14]
push 1
push eax
call fcn.0059f8c0
push 1
push 0
jmp 0x588551
push dword [esp + 0x88]
push 1
push eax
call fcn.0059f8c0
push 1
push dword [esp + 0x24]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x5c]
push 2
push eax
call fcn.0059f8c0
mov dword [esp + 0xa0], eax
mov ecx, dword [esi + 0x6c]
add esp, 0x20
cmp dword [esi + 0x70], ecx
jg 0x588588
push 0
push ebx
push 0
push 9
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x5885b7
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 9
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 + 0x57], 0
je 0x5885c9
mov eax, 0x63d108
jmp 0x5885d9
mov eax, dword [esp + 0x80]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
push 1
mov dword [eax + 8], edx
lea eax, [esp + 0x48]
mov ebx, dword [esi + 0x6c]
push 0
push 1
push eax
call fcn.0059f8c0
mov ecx, dword [esi + 0x6c]
add esp, 0x10
mov edx, eax
mov dword [esp + 0x80], edx
cmp dword [esi + 0x70], ecx
jg 0x58861c
push 0
push ebx
push 0
push 9
push esi
call fcn.0050f290
mov edx, dword [esp + 0x94]
add esp, 0x14
jmp 0x58864f
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], 9
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 ebx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x588661
mov eax, 0x63d108
jmp 0x588671
mov eax, dword [esp + 0x84]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], ebx
mov eax, dword [esi]
mov ebx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x58868c
mov eax, 0x63d108
mov dword [eax + 8], ebx
jmp 0x588740
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov dword [eax + ecx*4 + 8], ebx
lea eax, [eax + ecx*4]
jmp 0x588740
call fcn.0059f8c0
mov ebx, dword [esi + 0x6c]
lea eax, [esp + 0x54]
push 1
push 0
push 1
push eax
call fcn.0059f8c0
push 0
push dword [esp + 0x34]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x6c]
push 2
push eax
call fcn.0059f8c0
mov ecx, dword [esi + 0x6c]
add esp, 0x30
cmp dword [esi + 0x70], ecx
jg 0x5886ec
push 0
push ebx
push 0
push 9
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x58871b
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 9
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 + 0x57], 0
je 0x58872d
mov eax, 0x63d108
jmp 0x58873d
mov eax, dword [esp + 0x80]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x588752
mov eax, 0x63d108
jmp 0x588761
mov eax, dword [esi + 0x68]
lea ecx, [ebp*4]
add ecx, ebp
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x588787
push 0
push 0
push dword [esp + 0x94]
push 0x92
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x5887bd
mov edx, dword [esp + 0x8c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x92
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 dword [edi + 8], 0
je 0x5888df
mov edx, dword [edi + 0x58]
test edx, edx
je 0x588867
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x5887ec
push 0
push edx
push 1
push 0x47
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x58881b
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
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 + 0x6c]
mov edx, dword [edi + 0x5c]
cmp dword [esi + 0x70], ecx
jg 0x588838
push 0
push edx
push 0
push 0x47
push esi
call fcn.0050f290
add esp, 0x14
jmp 0x588867
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
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 + 0x6c]
cmp byte [eax + 0x57], 0
je 0x588879
mov eax, 0x63d108
jmp 0x588886
mov eax, dword [esp + 0x3c]
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 0x5888ac
push 0
push 0
push dword [esp + 0x20]
push 0x43
push esi
call fcn.0050f290
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov edx, 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], 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 ebp
pop ebx
add esp, 0x6c
ret