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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [ebx + 0x1d4]
mov edi, dword [ebx]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebx + 0x1d8]
mov dword [ebx + 0x1d4], eax
inc eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 1
mov dword [ebx + 0x1d8], eax
mov dword [ebp - 0xc], edi
test esi, esi
je 0x59dc55
cmp byte [edi + 0x45], 0
jne 0x59dc55
cmp dword [ebx + 0x44], 0
jne 0x59dc55
push 0
push 0
push 0
push 0x15
push ebx
call fcn.0057f450
add esp, 0x14
test eax, eax
jne 0x59dc55
push 0x30
push eax
lea eax, [ebp - 0xac]
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 0x10]
add esp, 0xc
cmp byte [eax], 8
ja 0x59bdff
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x59bdf4
push eax
push edi
call fcn.005692b0
add esp, 8
and dword [esi + 8], 0xfffffffe
mov dword [esi + 0x2c], 0
push 0
push esi
push ebx
call fcn.0059e270
mov eax, dword [esi + 0x2c]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x1c]
add esp, 0xc
cmp dword [ebx + 0x44], 0
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 4], eax
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xd0], eax
mov dword [ebp - 8], ecx
jne 0x59bf8b
cmp byte [edi + 0x45], 0
jne 0x59bf8b
mov eax, dword [esi + 8]
shr eax, 3
and eax, 1
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax]
mov eax, dword [esi]
cmp dword [eax], 1
jle 0x59be78
cmp ecx, 0xa
je 0x59be65
cmp ecx, 0xb
jne 0x59be78
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push ebx
call fcn.00587f40
add esp, 8
jmp 0x59bf88
xor edx, edx
mov dword [ebp - 0x14], edx
cmp dword [esi + 0x30], edx
jne 0x59bf25
mov ecx, dword [ebp - 8]
nop dword [eax]
cmp edx, dword [ecx]
jge 0x59bf25
lea eax, [edx + edx*4]
add eax, eax
mov edi, dword [ecx + eax*8 + 0x1c]
mov eax, dword [ecx + eax*8 + 0x18]
mov dword [ebp - 0x10], eax
test edi, edi
je 0x59bf17
movsx ecx, word [eax + 0x22]
mov eax, dword [edi]
cmp ecx, dword [eax]
jne 0x59bf6b
mov edi, dword [edi + 8]
shr edi, 3
and edi, 1
push edi
push dword [ebp - 0x34]
push edx
push esi
push ebx
call fcn.0056be90
add esp, 0x14
test eax, eax
je 0x59beea
test edi, edi
je 0x59bee5
or dword [esi + 8], 8
mov dword [ebp - 0x34], 1
or edx, 0xffffffff
jmp 0x59beed
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0xc]
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 8], ecx
cmp byte [edi + 0x45], 0
jne 0x59bf8b
mov eax, dword [ebp + 0x10]
cmp byte [eax], 8
jbe 0x59bf17
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xd0], ecx
mov ecx, dword [ebp - 8]
inc edx
cmp dword [esi + 0x30], 0
mov dword [ebp - 0x14], edx
je 0x59be90
mov edi, dword [ebx + 8]
mov dword [ebp - 0x68], edi
test edi, edi
jne 0x59bf41
push ebx
call fcn.0055c750
mov edi, eax
mov dword [ebp - 0x68], eax
add esp, 4
test edi, edi
je 0x59bf85
cmp dword [esi + 0x30], 0
je 0x59bfdf
push dword [ebp + 0x10]
push esi
push ebx
call fcn.005711d0
mov edx, dword [ebp - 0xb0]
add esp, 0xc
mov dword [ebx + 0x1d4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [eax]
mov eax, dword [ebp - 0x10]
push dword [eax]
movsx eax, word [eax + 0x22]
push eax
push str.expected__d_columns_for__s_but_got__d
push ebx
call fcn.00587f40
add esp, 0x14
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, 1
mov edx, dword [ebp - 0xb0]
mov dword [ebx + 0x1d4], edx
test eax, eax
jne 0x59bfb5
mov eax, dword [ebp + 0x10]
cmp byte [eax], 9
jne 0x59bfb5
push dword [ebp - 0x44]
push ecx
push ebx
call fcn.0056cdb0
add esp, 0xc
mov esi, dword [ebp - 0x90]
test esi, esi
je 0x59db92
cmp dword [edi + 0x1c8], 0
je 0x59db17
push esi
push edi
call fcn.00570a50
add esp, 8
jmp 0x59db92
mov ecx, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp dword [ecx], eax
jle 0x59c039
nop dword [eax + eax]
lea esi, [eax + eax*4]
shl esi, 4
add esi, 8
add esi, ecx
mov dword [ebp - 0x5c], esi
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x59c02b
mov eax, dword [esi + 0x18]
test eax, eax
je 0x59c0e7
test byte [esi + 0x28], 0x10
jne 0x59c02b
push eax
push dword [esi + 0x1c]
push 0xe
push edi
call fcn.005a3710
mov ecx, dword [ebp - 8]
add esp, 0x10
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, dword [ecx]
jl 0x59bff0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x14], eax
mov al, byte [esi + 8]
and al, 1
mov dword [ebp - 0x44], ecx
mov byte [ebp - 0x19], al
mov byte [ebp - 0x74], al
mov eax, dword [esi + 8]
and al, 9
cmp al, 1
jne 0x59c096
mov eax, dword [ebp - 4]
push 0xffffffffffffffff
push ecx
push eax
call fcn.0058b360
mov ecx, dword [ebp - 0x44]
add esp, 0xc
test eax, eax
jne 0x59c096
and dword [esi + 8], 0xfffffffe
push eax
push ecx
push dword [ebp - 0xc]
call fcn.0058b3e0
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x20], ecx
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
test eax, eax
je 0x59c2ab
push dword [ecx]
push 0
push eax
push ebx
call fcn.0056fa60
mov edx, dword [ebx + 0x48]
mov ecx, eax
push 0xfffffffffffffffa
push ecx
push 0
lea eax, [edx + 1]
mov dword [ebp - 0xc8], edx
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
add eax, ecx
push eax
push edx
push 0x6a
push edi
call fcn.005a37e0
add esp, 0x2c
mov dword [ebp - 0xbc], eax
jmp 0x59c2b5
push dword [ebp + 0xc]
call fcn.0059e020
add dword [ebx + 0x1d0], eax
add esp, 4
test byte [esi + 0x24], 0x20
jne 0x59c115
push dword [esi + 0x30]
mov eax, dword [ebp + 0xc]
push dword [eax + 0x20]
push dword [ebp - 0x38]
push dword [ebp - 0xc]
call fcn.00577e00
add esp, 0x10
cmp dword [ebp - 0x2c], 0
jne 0x59c1d9
mov eax, dword [ebp - 8]
cmp dword [eax], 1
je 0x59c131
test byte [eax + 0x7c], 0xa
je 0x59c1d9
mov eax, dword [ebp + 0xc]
test byte [eax + 8], 2
jne 0x59c1d9
mov eax, dword [ebp - 0xc]
mov ecx, 0x100
test word [eax + 0x40], cx
jne 0x59c1d9
mov esi, dword [edi + 0x20]
mov eax, dword [ebx + 0x4c]
inc esi
mov ecx, dword [ebp - 0x5c]
inc eax
push esi
push 0
push eax
push 0xf
mov dword [ebx + 0x4c], eax
push edi
mov dword [ecx + 0x1c], eax
call fcn.005a3780
mov ecx, dword [ebp - 0x5c]
mov word [ebp - 0x7c], 0xd
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x78], eax
mov dword [ecx + 0x18], esi
mov al, byte [ebx + 0x1d8]
mov byte [ecx + 0x2c], al
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x38]
push ebx
call fcn.0059bd50
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x38]
mov ecx, dword [edx + 0x10]
mov ax, word [eax + 6]
mov word [ecx + 0x26], ax
push dword [edx + 0x1c]
mov eax, dword [ebp - 0x74]
or dword [edx + 0x28], 0x10
push edi
mov dword [edx + 0x20], eax
call fcn.005a44d0
lea eax, [esi - 1]
push eax
push edi
call fcn.005ab430
add esp, 0x30
jmp 0x59c279
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x4c]
inc eax
push eax
push 0
push 0x4b
mov dword [ebx + 0x4c], eax
push edi
mov dword [esi + 0x1c], eax
call fcn.005a3710
mov dword [ebp - 0x10], eax
add esp, 0x10
inc eax
test byte [esi + 0x28], 8
mov dword [esi + 0x18], eax
jne 0x59c20f
push ebx
call fcn.00583da0
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x78], eax
mov al, byte [ebx + 0x1d8]
mov byte [esi + 0x2c], al
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x38]
mov word [ebp - 0x7c], 0xc
push ebx
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
call fcn.0059bd50
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov ecx, dword [esi + 0x10]
mov ax, word [eax + 6]
mov word [ecx + 0x26], ax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x59c261
push eax
push edi
call fcn.005ab430
add esp, 8
push dword [esi + 0x1c]
push 0x47
push edi
call fcn.005a36a0
push eax
push dword [ebp - 0x10]
push edi
call fcn.005a3b20
add esp, 0x18
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x3c], 0
mov byte [ebx + 0x13], 0
cmp byte [eax + 0x45], 0
jne 0x59db10
mov esi, dword [ebp + 0xc]
push esi
call fcn.0059e020
mov ecx, dword [ebp - 8]
add esp, 4
sub dword [ebx + 0x1d0], eax
jmp 0x59c02e
mov dword [ebp - 0xbc], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0xc
jne 0x59c2d0
mov ecx, dword [ebp - 0x44]
push dword [ecx]
push dword [eax + 4]
push 0x6a
push edi
call fcn.005a3710
add esp, 0x10
push edi
call fcn.005ab8a0
push eax
mov ecx, 0x140
mov dword [ebp - 0xd4], eax
push esi
push ebx
mov word [esi + 6], cx
call fcn.005644f0
add esp, 0x10
cmp dword [esi + 0xc], 0
jne 0x59c313
mov eax, dword [ebp - 0xbc]
test eax, eax
js 0x59c313
push 0x6b
push eax
push edi
call fcn.005a3ae0
add esp, 0xc
or byte [ebp - 0xb4], 1
test byte [esi + 8], 1
je 0x59c35f
mov esi, dword [ebx + 0x48]
push 0xfffffffffffffffa
push 0
push 0
lea eax, [esi + 1]
mov dword [ebp - 0x70], esi
mov dword [ebx + 0x48], eax
mov eax, dword [ebp + 0xc]
push dword [eax]
push ebx
call fcn.0056fa60
add esp, 0x10
push eax
push 0
push 0
push esi
push 0x6a
push edi
call fcn.005a37e0
push 8
push edi
mov dword [ebp - 0x6c], eax
call fcn.005a3be0
mov esi, dword [ebp + 0xc]
add esp, 0x24
mov eax, 3
jmp 0x59c361
xor al, al
cmp dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x20]
mov byte [ebp - 0x73], al
mov dword [ebp - 0x5c], eax
jne 0x59c460
test edx, edx
jne 0x59c460
xor ecx, ecx
mov eax, 0x100
cmp byte [ebp - 0x19], cl
mov edx, 0x4000
cmovne ecx, eax
mov ax, word [esi + 8]
and ax, dx
or cx, ax
movsx eax, word [esi + 6]
push eax
movzx ecx, cx
push ecx
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 0x4c]
push dword [ebp - 8]
push ebx
call fcn.005b04c0
add esp, 0x1c
mov dword [ebp + 8], eax
test eax, eax
je 0x59bf85
movzx ecx, word [eax + 0x20]
cmp cx, word [esi + 6]
jge 0x59c3ce
mov word [esi + 6], cx
cmp byte [ebp - 0x19], 0
je 0x59c3ee
mov cl, byte [eax + 0x2a]
mov edx, dword [ebp - 0x5c]
test cl, cl
movzx eax, cl
movzx edx, dl
cmovne edx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], edx
mov byte [ebp - 0x73], dl
mov edx, dword [ebp - 4]
test edx, edx
je 0x59c415
movsx ecx, byte [eax + 0x26]
mov al, byte [eax + 0x2c]
mov byte [ebp - 0xb3], al
xor eax, eax
cmp ecx, dword [edx]
mov dword [ebp - 0xcc], ecx
cmove edx, eax
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xbc]
test eax, eax
js 0x59c42d
test edx, edx
jne 0x59c42d
push eax
push edi
call fcn.005a3c00
add esp, 8
mov eax, dword [ebp + 8]
push dword [eax + 0x38]
push dword [eax + 0x34]
lea eax, [ebp - 0x74]
push dword [ebp + 0x10]
push eax
lea eax, [ebp - 0xd0]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x44]
push esi
push ebx
call fcn.0057c740
push dword [ebp + 8]
call fcn.005b26f0
add esp, 0x28
jmp 0x59d8b7
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
test edx, edx
je 0x59c4bf
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
jle 0x59c491
add ecx, 0x16
xor ebx, ebx
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], bx
test eax, eax
jg 0x59c480
mov ebx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
test eax, eax
jle 0x59c4b1
add ecx, 0x16
nop dword [eax]
xor edi, edi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], di
test eax, eax
jg 0x59c4a0
mov edi, dword [ebp - 0x68]
cmp word [esi + 6], 0x42
jle 0x59c4c5
mov eax, 0x42
jmp 0x59c4c1
xor eax, eax
mov word [esi + 6], ax
push 0xffffffffffffffff
push dword [ebp - 4]
push edx
call fcn.0058b360
add esp, 0xc
mov ecx, 1
test eax, eax
mov dword [ebp - 0x24], ecx
mov eax, 0
cmove eax, ecx
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ecx + 0x74]
mov dword [ebp - 0x2c], edx
lea eax, [edx + 1]
mov dword [ecx + 0x74], eax
lea eax, [edx - 1]
test edx, eax
jne 0x59c521
push 0
lea eax, [edx*8 + 4]
push eax
push dword [ecx + 0x78]
push dword [ecx]
call fcn.00586540
mov ecx, dword [ebp - 0x18]
add esp, 0x10
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x59c52f
mov dword [eax + edx*4], 0xffffffff
mov ecx, dword [ebp - 0x20]
or eax, 0xffffffff
sub eax, edx
xorps xmm0, xmm0
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
movups xmmword [ebp - 0xf4], xmm0
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebx + 0x4c]
inc eax
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 0x9c], eax
movups xmmword [ebp - 0xe4], xmm0
test ecx, ecx
je 0x59c57e
mov eax, dword [ecx]
mov dword [ebp - 0xa0], eax
jmp 0x59c588
mov dword [ebp - 0xa0], 0
push dword [ebp - 0x44]
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x94], ecx
push eax
call fcn.00588310
push dword [ebp - 4]
lea eax, [ebp - 0xf4]
push eax
call fcn.00588310
mov eax, dword [ebp - 0x14]
add esp, 0x10
test eax, eax
je 0x59c602
push eax
xorps xmm0, xmm0
mov dword [ebp - 0xf8], 0
lea eax, [ebp - 0x110]
movq qword [ebp - 0x100], xmm0
movups xmmword [ebp - 0x110], xmm0
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0x10c], 0x55d2c0
push eax
mov dword [ebp - 0x108], fcn.005515e0
mov dword [ebp - 0xf8], ecx
call fcn.005bc3b0
add esp, 8
cmp dword [ebp - 0x80], 0
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x88], ecx
jle 0x59c673
mov ax, word [ebp - 0xd8]
xor esi, esi
xor ebx, ebx
mov edi, 0xfff7
or ax, 8
mov word [ebp - 0xd8], ax
mov eax, dword [ebp - 0x84]
mov eax, dword [eax + esi]
push dword [eax + 0x14]
lea eax, [ebp - 0xf4]
push eax
call fcn.00588310
mov ax, word [ebp - 0xd8]
lea esi, [esi + 0x10]
and ax, di
inc ebx
add esp, 8
mov word [ebp - 0xd8], ax
cmp ebx, dword [ebp - 0x80]
jl 0x59c624
mov ecx, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x68]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x45], 0
jne 0x59db10
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x59d4bf
mov eax, dword [ebx + 0x48]
push ecx
push 0
mov dword [ebp - 0xa8], eax
inc eax
push edx
push ebx
mov dword [ebx + 0x48], eax
call fcn.0056fa60
push 0xfffffffffffffffa
push eax
push 0
push dword [ebp - 0xa0]
mov dword [ebp - 0x58], eax
push dword [ebp - 0xa8]
push 0x6b
push edi
call fcn.005a37e0
mov dword [ebp - 0x50], eax
add esp, 0x2c
mov eax, dword [ebx + 0x4c]
inc eax
mov dword [ebp - 0x38], eax
inc eax
mov dword [ebp - 4], eax
inc eax
mov dword [ebx + 0x4c], eax
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x24], ecx
mov edx, dword [ecx + 0x74]
mov dword [ebp - 0x18], edx
lea eax, [edx + 1]
mov dword [ecx + 0x74], eax
lea eax, [edx - 1]
test edx, eax
jne 0x59c715
push 0
lea eax, [edx*8 + 4]
push eax
push dword [ecx + 0x78]
push dword [ecx]
call fcn.00586540
mov ecx, dword [ebp - 0x24]
add esp, 0x10
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x59c723
mov dword [eax + edx*4], 0xffffffff
inc dword [ebx + 0x4c]
or eax, 0xffffffff
mov ecx, dword [edi + 0x18]
sub eax, edx
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x3c], eax
mov edx, dword [ecx + 0x74]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], edx
lea eax, [edx + 1]
mov dword [ecx + 0x74], eax
lea eax, [edx - 1]
test edx, eax
jne 0x59c76d
push 0
lea eax, [edx*8 + 4]
push eax
push dword [ecx + 0x78]
push dword [ecx]
call fcn.00586540
mov ecx, dword [ebp - 0x24]
add esp, 0x10
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x59c77b
mov dword [eax + edx*4], 0xffffffff
or eax, 0xffffffff
sub eax, edx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x4c]
lea ecx, [eax + 1]
mov dword [ebp - 0x60], ecx
mov ecx, dword [edx]
add ecx, eax
mov dword [ebx + 0x4c], ecx
lea eax, [ecx + 1]
mov dword [ebp - 0x54], eax
mov eax, dword [edx]
add eax, ecx
mov dword [ebx + 0x4c], eax
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x59c7c2
push 0
push dword [ebp - 4]
push 0
push 0x4b
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59c7f8
mov edx, dword [ebp - 4]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x4b
mov byte [eax + ecx*4 + 3], 0
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 [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x59c817
push 0
push dword [ebp - 0x38]
push 0
push 0x4b
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59c84d
mov edx, dword [ebp - 0x38]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x4b
mov byte [eax + ecx*4 + 3], 0
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 [ebp - 0x20]
mov edx, dword [ebp - 0x60]
mov eax, dword [edi + 0x18]
dec edx
add edx, dword [ecx]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x59c874
push edx
push dword [ebp - 0x60]
push 0
push 0x4e
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59c8a9
mov esi, dword [ebp - 0x60]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [ebp + 0xc]
mov word [eax + ecx*4], 0x4e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push dword [ebp - 0x2c]
push dword [ebp - 0x3c]
push 0xe
push edi
call fcn.005a3710
mov eax, dword [ebp - 0x10]
neg eax
push 0
sbb eax, eax
and eax, 0x200
or ax, 0x40
movzx eax, ax
push eax
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x4c]
push dword [ebp - 8]
push ebx
call fcn.005b04c0
mov edx, eax
add esp, 0x2c
mov dword [ebp - 0x24], edx
test edx, edx
je 0x59bf85
mov ecx, dword [ebp - 0x20]
movsx eax, byte [edx + 0x26]
cmp eax, dword [ecx]
jne 0x59c903
xor ecx, ecx
mov dword [ebp - 0x34], ecx
jmp 0x59cc63
cmp byte [ebp - 0x19], 0
je 0x59c914
test byte [esi + 8], 1
mov eax, str.DISTINCT
je 0x59c919
mov eax, str.GROUP_BY
push eax
push ebx
call fcn.00567dc0
mov eax, dword [ebp - 0x20]
add esp, 8
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x34], 1
mov esi, dword [eax]
mov ecx, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x30], esi
test edx, edx
jle 0x59c960
mov eax, dword [ebp - 0x90]
add eax, 0xc
nop word [eax + eax]
cmp dword [eax], ecx
jl 0x59c958
inc dword [ebp - 0x30]
inc ecx
add eax, 0x18
sub edx, 1
jne 0x59c950
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x28], eax
cmp edx, ecx
jg 0x59c97c
add eax, edx
sub ecx, edx
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x3c], ecx
jmp 0x59c98a
mov eax, dword [ebx + 0x4c]
lea ecx, [eax + 1]
add eax, edx
mov dword [ebp - 0x28], ecx
mov dword [ebx + 0x4c], eax
push ebx
call fcn.00588720
push 0
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x20]
push ebx
call fcn.00588e40
mov ecx, dword [ebp - 0x8c]
xor edx, edx
add esp, 0x18
mov dword [ebp - 0x40], edx
test ecx, ecx
jle 0x59ca66
add esi, dword [ebp - 0x28]
xor edi, edi
nop dword [eax + eax]
mov eax, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x18]
cmp dword [eax + edi + 0xc], ebx
mov ebx, dword [ebp + 8]
jl 0x59ca54
push 0
push esi
push dword [eax + edi + 4]
push dword [eax + edi + 8]
push dword [eax + edi]
push ebx
call fcn.005890f0
add esp, 0x18
mov dword [ebp - 0x4c], eax
cmp eax, esi
je 0x59ca47
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x59ca15
push 0
push esi
push dword [ebp - 0x4c]
push 0x54
push edx
call fcn.0056e710
add esp, 0x14
jmp 0x59ca47
lea eax, [ecx + 1]
mov dword [edx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 4]
mov edx, dword [ebp - 0x4c]
mov word [eax + ecx*4], 0x54
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
inc dword [ebp - 0x18]
inc esi
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x40]
inc edx
add edi, 0x18
mov dword [ebp - 0x40], edx
cmp edx, ecx
jl 0x59c9c0
mov edi, dword [ebp - 0x68]
mov al, byte [ebx + 0x13]
test al, al
jne 0x59ca75
inc dword [ebx + 0x4c]
mov esi, dword [ebx + 0x4c]
jmp 0x59ca81
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov esi, dword [ebx + eax*4 + 0x1c]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x59caa0
push esi
push dword [ebp - 0x30]
push dword [ebp - 0x28]
push 0x62
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59cad1
mov edx, dword [ebp - 0x28]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x30]
mov word [eax + ecx*4], 0x62
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov edx, dword [ebp - 0xa8]
cmp dword [eax + 0x58], ecx
jg 0x59caf3
push 0
push esi
push edx
push 0x7c
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59cb22
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x7c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test esi, esi
je 0x59cb51
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x59cb51
xor ecx, ecx
lea eax, [ebx + 0x7c]
cmp dword [eax + 0xc], esi
je 0x59cb4d
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x59cb33
movzx eax, dl
mov dword [ebx + eax*4 + 0x1c], esi
inc byte [ebx + 0x13]
jmp 0x59cb51
mov byte [eax + 6], 1
mov esi, dword [ebp - 0x30]
push esi
push dword [ebp - 0x28]
push ebx
call fcn.00588a70
add esp, 0xc
cmp esi, dword [ebx + 0x3c]
jle 0x59cb6f
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x3c], esi
mov dword [ebx + 0x40], eax
push dword [ebp - 0x24]
call fcn.005b26f0
mov edx, dword [ebx + 0x48]
add esp, 4
mov dword [ebp - 0x28], edx
mov dword [ebp - 0xa4], edx
lea eax, [edx + 1]
mov dword [ebx + 0x48], eax
mov al, byte [ebx + 0x13]
test al, al
jne 0x59cb9b
inc dword [ebx + 0x4c]
mov eax, dword [ebx + 0x4c]
jmp 0x59cba7
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov eax, dword [ebx + eax*4 + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x59cbc7
push esi
push dword [ebp - 0x30]
push edx
push 0x6d
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59cbf5
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x30]
mov word [eax + ecx*4], 0x6d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov edx, dword [ebp - 0xa8]
cmp dword [eax + 0x58], ecx
jg 0x59cc19
push 0
push dword [ebp - 0x48]
push edx
push 0x35
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59cc4b
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x48]
mov word [eax + ecx*4], 0x35
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push ebx
mov byte [ebp - 0xab], 1
call fcn.00588720
mov edx, dword [ebp - 0x24]
add esp, 4
mov ecx, 1
cmp dword [ebp - 0x10], 0
je 0x59ccba
mov eax, dword [ebp - 0xc]
test byte [eax + 0x40], 4
jne 0x59ccba
test ecx, ecx
jne 0x59cc7b
cmp byte [edx + 0x27], cl
je 0x59ccba
mov edx, dword [edi]
mov dword [ebp - 0xd0], 0
cmp byte [edx + 0x45], 0
jne 0x59ccba
mov eax, dword [ebp - 0xbc]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
push dword [eax + ecx*4 + 0x10]
lea esi, [eax + ecx*4]
movsx eax, byte [esi + 1]
push eax
push edx
call fcn.0056c510
add esp, 0xc
mov word [esi], 0xa0
mov dword [esi + 0x10], 0
mov eax, dword [edi + 0x20]
push ebx
mov dword [ebp - 0x40], eax
call fcn.00588720
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x59ccf2
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov edx, dword [ebp - 0xa8]
cmp dword [eax + 0x58], ecx
jg 0x59cd3d
push dword [ebp - 0x28]
push dword [ebp - 0x30]
push edx
push 0x77
push edi
call fcn.0056e710
add esp, 0x14
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
xor esi, esi
cmp dword [eax], esi
jle 0x59cdd9
xor ecx, ecx
mov dword [ebp - 0x10], ecx
nop word [eax + eax]
cmp dword [ebp - 0x34], 0
je 0x59cda2
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x59cd70
mov eax, dword [ebp - 0x54]
add eax, esi
push eax
push esi
push edx
push 0x5f
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59cdc1
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x30]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp - 0x28]
mov word [eax + ecx*4], 0x77
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x59ccf5
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x5f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
lea ecx, [eax + ecx*4]
mov eax, dword [ebp - 0x54]
add eax, esi
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0
jmp 0x59cdc4
mov eax, dword [ebp - 0x54]
add eax, esi
mov byte [ebp - 0xac], 1
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
push dword [eax + ecx]
push ebx
call fcn.00588cf0
add esp, 0xc
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
inc esi
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov dword [ebp - 0x10], ecx
cmp esi, dword [eax]
jl 0x59cd10
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x59cde2
inc dword [ecx]
mov esi, dword [eax]
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x20]
cmp dword [eax + 0x58], edx
jg 0x59ce05
push esi
push dword [ebp - 0x54]
push dword [ebp - 0x60]
push 0x5e
push edi
call fcn.0056e710
add esp, 0x14
mov edx, eax
jmp 0x59ce39
mov ebx, dword [ebp - 0x60]
lea eax, [edx + 1]
mov dword [edi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [ebp - 0x54]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [ebp + 8]
mov word [eax + ecx*4], 0x5e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x59ce52
mov ecx, dword [ebp - 0x58]
push ecx
push 0xfffffffffffffffa
push eax
call fcn.0056c510
add esp, 0xc
jmp 0x59ce87
test edx, edx
jns 0x59ce5a
mov edx, dword [edi + 0x20]
dec edx
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x58]
je 0x59ce7c
push 0xfffffffffffffffa
push ecx
push eax
push edi
call fcn.005b6720
add esp, 0x10
jmp 0x59ce87
test ecx, ecx
je 0x59ce87
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfa
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
lea edx, [esi + 1]
cmp dword [eax + 0x58], esi
jg 0x59cea6
push edx
push 0
push edx
push 0x12
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59ced5
lea eax, [esi + 1]
mov dword [edi + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp - 0x20]
mov edx, dword [ebx + 8]
mov eax, dword [eax]
mov ecx, dword [edx + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x59cf01
push dword [ebp - 0x18]
push dword [ebp - 0x60]
push dword [ebp - 0x54]
push 0x52
push edx
call fcn.0056e710
add esp, 0x14
jmp 0x59cf35
lea eax, [ecx + 1]
mov dword [edx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 4]
mov edx, dword [ebp - 0x54]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x60]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp - 0x18]
mov word [eax + ecx*4], 0x52
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push dword [ebp - 0x18]
push dword [ebp - 0x54]
push ebx
call fcn.00588a70
mov eax, dword [edi + 0x18]
add esp, 0xc
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x59cf66
mov eax, dword [ebp - 4]
push 0
push dword [ebp - 0x64]
inc eax
push eax
push 0xe
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59cf9f
mov edx, dword [ebp - 4]
lea eax, [ecx + 1]
mov ebx, dword [ebp + 8]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x20], eax
inc edx
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x64]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 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 [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x59cfbf
push 0
push dword [ebp - 0x48]
push dword [ebp - 4]
push 0x41
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59cff4
mov edx, dword [ebp - 4]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x48]
mov word [eax + ecx*4], 0x41
mov byte [eax + ecx*4 + 3], 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 [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x59d014
push 0
push dword [ebp - 0x2c]
push dword [ebp - 0x3c]
push 0xe
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59d049
mov edx, dword [ebp - 0x3c]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x2c]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 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 [edi + 0x20]
mov eax, dword [edi + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov edx, dword [edi + 0x20]
test esi, esi
jns 0x59d05d
lea esi, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x59d06c
mov eax, 0x68444c
jmp 0x59d075
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
lea eax, [ebp - 0xac]
push eax
push ebx
call fcn.005b58d0
mov eax, dword [edi + 0x18]
add esp, 8
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x59d0a7
push 0
push dword [ebp - 0x38]
push 1
push 0x4b
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59d0dd
mov edx, dword [ebp - 0x38]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x4b
mov byte [eax + ecx*4 + 3], 0
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
cmp dword [ebp - 0x34], 0
je 0x59d139
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov edx, dword [ebp - 0xa8]
mov esi, dword [ebp - 0x40]
cmp dword [eax + 0x58], ecx
jg 0x59d108
push 0
push esi
push edx
push 3
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59d176
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 3
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x59d176
push dword [ebp - 0x24]
call fcn.005b26f0
mov edx, dword [edi]
add esp, 4
cmp byte [edx + 0x45], 0
jne 0x59d176
mov eax, dword [ebp - 0x50]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
push dword [eax + ecx*4 + 0x10]
lea esi, [eax + ecx*4]
movsx eax, byte [esi + 1]
push eax
push edx
call fcn.0056c510
add esp, 0xc
mov word [esi], 0xa0
mov dword [esi + 0x10], 0
mov eax, dword [edi + 0x18]
mov esi, dword [ebp - 4]
mov ecx, dword [edi + 0x20]
inc esi
cmp dword [eax + 0x58], ecx
jg 0x59d198
push 0
push dword [ebp - 0x64]
push esi
push 0xe
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59d1ca
mov edx, dword [ebp - 0x64]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x59d1e9
push 0
push dword [ebp - 0x48]
push 0
push 0xd
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59d21f
mov edx, dword [ebp - 0x48]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
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 [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x50], ecx
cmp dword [eax + 0x58], ecx
jg 0x59d241
push 0
push dword [ebp - 4]
push 1
push 0x4b
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59d277
mov edx, dword [ebp - 4]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x4b
mov byte [eax + ecx*4 + 3], 0
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 eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x59d294
push 0
push 0
push esi
push 0x47
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59d2c7
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x47
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x59d2e2
mov eax, dword [ebp - 0x64]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
lea edx, [esi + 2]
cmp dword [eax + 0x58], esi
jg 0x59d30a
push 0
push edx
push dword [ebp - 0x38]
push 0x41
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59d33f
mov ebx, dword [ebp - 0x38]
lea eax, [esi + 1]
mov dword [edi + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [ebp + 8]
mov word [eax + ecx*4], 0x41
mov byte [eax + ecx*4 + 3], 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 [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x59d360
mov eax, dword [ebp - 4]
push 0
push 0
inc eax
push eax
push 0x47
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59d39a
mov edx, dword [ebp - 4]
lea eax, [ecx + 1]
mov ebx, dword [ebp + 8]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x20], eax
inc edx
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x47
mov byte [eax + ecx*4 + 3], 0
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, [ebp - 0xac]
push eax
push ebx
call fcn.00569f80
mov eax, dword [ebp - 0x14]
inc esi
push 0x10
push esi
push eax
push ebx
call fcn.0058aae0
push dword [ebp - 0x50]
lea eax, [ebp - 0x74]
push esi
push dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0xd0]
push eax
push 0xffffffffffffffff
push dword [esi]
push esi
push ebx
call fcn.0057c740
mov eax, dword [edi + 0x18]
add esp, 0x3c
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x59d3f9
mov eax, dword [ebp - 4]
push 0
push 0
inc eax
push eax
push 0x47
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59d430
mov edx, dword [ebp - 4]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
inc edx
mov word [eax + ecx*4], 0x47
mov byte [eax + ecx*4 + 3], 0
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 [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x59d44b
mov eax, dword [ebp - 0x2c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x60], eax
lea eax, [ebp - 0xac]
push eax
push ebx
call fcn.00579630
mov eax, dword [edi + 0x18]
add esp, 8
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x59d484
push 0
push 0
push dword [ebp - 0x3c]
push 0x47
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59d895
mov edx, dword [ebp - 0x3c]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x47
mov byte [eax + ecx*4 + 3], 0
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
jmp 0x59d895
xor eax, eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0xac]
push eax
push esi
call fcn.0056f930
mov ecx, eax
add esp, 8
mov dword [ebp - 0x3c], ecx
test ecx, ecx
je 0x59d75b
mov edx, dword [ebx]
mov eax, dword [ecx + 0x40]
mov dword [ebp - 0x50], edx
mov edx, 0xfff0bdc0
mov dword [ebp - 0x2c], edx
test eax, eax
je 0x59d526
mov eax, dword [ebx]
xor edx, edx
mov dword [ebp - 0x2c], edx
cmp dword [eax + 0x14], edx
jle 0x59d526
mov eax, dword [eax + 0x10]
mov esi, dword [ecx + 0x40]
add eax, 0xc
mov ebx, dword [ebp - 0x50]
nop dword [eax]
cmp dword [eax], esi
je 0x59d51d
inc edx
add eax, 0x10
cmp edx, dword [ebx + 0x14]
jl 0x59d510
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebx + 0x48]
mov dword [ebp + 8], eax
inc eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 0x1c]
mov ecx, ebx
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x1a0]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx + 0x154]
mov ecx, edx
shl dword [ebp - 0x24], cl
test dword [ebp - 0x24], eax
jne 0x59d59a
bts eax, edx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0x154], ecx
mov ecx, edx
mov eax, dword [eax]
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ecx + edx*4 + 0x158], eax
cmp edx, 1
jne 0x59d59a
push ecx
call fcn.00594050
mov edx, dword [ebp - 0x2c]
add esp, 4
mov eax, dword [ebp - 0x3c]
push dword [eax]
push 0
push dword [eax + 0x1c]
push edx
push ebx
call fcn.0059f870
mov eax, dword [ebp - 0x3c]
add esp, 0x14
test byte [eax + 0x2a], 0x20
je 0x59d5d9
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x59d5db
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x59d5d1
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x59d5c1
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], ecx
jmp 0x59d5db
xor ecx, ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x59d614
mov esi, dword [ebp - 0x3c]
test byte [eax + 0x38], 4
jne 0x59d607
movzx edx, word [eax + 0x30]
cmp dx, word [esi + 0x28]
jge 0x59d607
cmp dword [eax + 0x24], 0
jne 0x59d607
test ecx, ecx
je 0x59d605
cmp dx, word [ecx + 0x30]
jge 0x59d607
mov ecx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x59d5e5
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x59d62b
mov eax, dword [ecx + 0x2c]
push ecx
push ebx
mov dword [ebp - 0x40], eax
call fcn.00592300
add esp, 8
mov dword [ebp - 0x4c], eax
push 1
push dword [ebp - 0x2c]
push dword [ebp - 0x40]
push dword [ebp + 8]
push 0x67
push edi
call fcn.005a3860
mov edx, dword [ebp - 0x4c]
add esp, 0x18
test edx, edx
je 0x59d688
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x59d65e
push edx
push 0xfffffffffffffffa
push eax
call fcn.0056c510
add esp, 0xc
jmp 0x59d688
mov eax, dword [edi + 0x20]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x59d681
push 0xfffffffffffffffa
push edx
push eax
push edi
call fcn.005b6720
add esp, 0x10
jmp 0x59d688
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfa
mov eax, dword [ebp - 0x84]
mov ecx, dword [edi + 0x20]
mov edx, dword [eax + 8]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x59d6af
push 0
push edx
push dword [ebp + 8]
push 0x63
push edi
call fcn.0056e710
add esp, 0x14
jmp 0x59d6e4
mov esi, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp + 0xc]
mov word [eax + ecx*4], 0x63
mov byte [eax + ecx*4 + 3], 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 [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x59d713
push 0
push 0
push dword [ebp + 8]
push 0x6e
push edi
call fcn.0056e710
mov eax, dword [ebp - 0x34]
add esp, 0x14
push eax
push dword [ebp - 0x3c]
push ebx
call fcn.00567d40
jmp 0x59d84c
mov edx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x6e
mov byte [eax + ecx*4 + 3], 0
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 [ebp - 0x34]
push eax
push dword [ebp - 0x3c]
push ebx
call fcn.00567d40
jmp 0x59d84c
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], eax
mov byte [ebp + 0xb], al
cmp dword [esi + 0x28], eax
jne 0x59d7c3
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.00570ca0
add esp, 8
mov byte [ebp + 0xb], al
test al, al
je 0x59d7bd
push 0
push dword [ebp - 0x24]
push dword [ebp - 0xc]
call fcn.0058b3e0
mov edx, eax
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x58], edx
cmp byte [eax + 0x45], 0
jne 0x59d7c3
mov eax, dword [edx + 4]
cmp byte [ebp + 0xb], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov byte [eax], 0x98
jmp 0x59d7c3
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xac]
push eax
push ebx
call fcn.00579630
mov al, byte [ebp + 0xb]
push 0
movzx eax, al
push eax
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x4c]
push dword [ebp - 8]
push ebx
call fcn.005b04c0
add esp, 0x24
mov dword [ebp + 8], eax
test eax, eax
jne 0x59d811
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0xc]
test eax, eax
je 0x59bf88
push eax
push edi
call fcn.005692b0
add esp, 8
jmp 0x59bf88
lea eax, [ebp - 0xac]
push eax
push ebx
call fcn.005b58d0
mov eax, dword [ebp + 8]
add esp, 8
cmp byte [eax + 0x26], 0
jle 0x59d839
push dword [eax + 0x38]
push edi
call fcn.005aad60
mov eax, dword [ebp + 8]
add esp, 8
push eax
call fcn.005b26f0
lea eax, [ebp - 0xac]
push eax
push ebx
call fcn.00569f80
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0xd0], 0
push 0x10
push dword [ebp - 0x48]
push eax
push ebx
call fcn.0058aae0
mov eax, dword [ebp - 0x48]
push eax
push eax
push dword [ebp + 0x10]
push 0
push 0
push 0xffffffffffffffff
push dword [esi]
push esi
push ebx
call fcn.0057c740
mov eax, dword [ebp - 0x58]
add esp, 0x34
test eax, eax
je 0x59d895
push eax
push dword [ebp - 0xc]
call fcn.005692b0
add esp, 8
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x59d8b0
mov eax, dword [ebp - 0x48]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x60], eax
cmp byte [ebp - 0x5c], 3
jne 0x59d9b0
cmp byte [ebx + 0x1c5], 2
jne 0x59d9b0
mov eax, dword [ebx + 8]
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push dword [ebx]
mov dword [ebp + 8], eax
call fcn.005933c0
mov ecx, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x1d4]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x20]
cmp dword [eax + 0x58], edx
jg 0x59d91b
push 0
push 0
push dword [ebp - 0x10]
push 0xa1
push ecx
call fcn.0056e710
add esp, 0x14
mov edx, eax
jmp 0x59d957
mov esi, dword [ebp - 0x10]
lea eax, [edx + 1]
mov dword [ecx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp + 0xc]
mov word [eax + ecx*4], 0xa1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x50], ecx
cmp byte [ecx + 0x45], 0
je 0x59d978
mov ecx, dword [ebp - 0x14]
push ecx
push 0xffffffffffffffff
push dword [ebp - 0x50]
call fcn.0056c510
add esp, 0xc
jmp 0x59d9b0
test edx, edx
jns 0x59d980
mov edx, dword [eax + 0x20]
dec edx
mov eax, dword [eax + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
je 0x59d9a5
push 0xffffffffffffffff
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.005b6720
add esp, 0x10
jmp 0x59d9b0
test ecx, ecx
je 0x59d9b0
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xff
cmp dword [ebp - 0xd0], 0
je 0x59dad5
cmp byte [ebx + 0x1c5], 2
jne 0x59dabc
mov eax, dword [ebx + 8]
mov ecx, str.ORDER_BY
cmp dword [ebp - 0xcc], 0
mov dword [ebp + 8], eax
mov eax, str.RIGHT_PART_OF_ORDER_BY
cmovle eax, ecx
push eax
push str.USE_TEMP_B_TREE_FOR__s
push dword [ebx]
call fcn.005933c0
mov ecx, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x1d4]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x20]
cmp dword [eax + 0x58], edx
jg 0x59da27
push 0
push 0
push dword [ebp - 0x10]
push 0xa1
push ecx
call fcn.0056e710
add esp, 0x14
mov edx, eax
jmp 0x59da63
mov esi, dword [ebp - 0x10]
lea eax, [edx + 1]
mov dword [ecx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp + 0xc]
mov word [eax + ecx*4], 0xa1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp + 0xc], ecx
cmp byte [ecx + 0x45], 0
je 0x59da84
mov ecx, dword [ebp - 0x14]
push ecx
push 0xffffffffffffffff
push dword [ebp + 0xc]
call fcn.0056c510
add esp, 0xc
jmp 0x59dabc
test edx, edx
jns 0x59da8c
mov edx, dword [eax + 0x20]
dec edx
mov eax, dword [eax + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
je 0x59dab1
push 0xffffffffffffffff
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.005b6720
add esp, 0x10
jmp 0x59dabc
test ecx, ecx
je 0x59dabc
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xff
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x44]
push dword [eax]
lea eax, [ebp - 0xd0]
push eax
push esi
push ebx
call fcn.0056d3c0
add esp, 0x14
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x59daf3
mov eax, dword [ebp - 0xd4]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
mov edi, dword [ebp - 0xc]
dec eax
mov ecx, dword [ebp - 8]
mov dword [edx + 0x60], eax
xor eax, eax
cmp dword [ebx + 0x44], eax
setg al
mov dword [ebp - 0x40], eax
jmp 0x59bf90
mov edi, eax
jmp 0x59bf88
cmp esi, dword [edi + 0x120]
jb 0x59db3d
cmp esi, dword [edi + 0x124]
jae 0x59db3d
mov eax, dword [edi + 0x11c]
mov dword [esi], eax
dec dword [edi + 0x108]
mov dword [edi + 0x11c], esi
jmp 0x59db92
cmp dword [0x671b20], 0
je 0x59db88
mov eax, dword [0x6840d8]
test eax, eax
je 0x59db59
push eax
call dword [0x671b78]
add esp, 4
push esi
call dword [0x671b54]
sub dword [0x684158], eax
dec dword [0x68417c]
push esi
call dword [0x671b4c]
mov eax, dword [0x6840d8]
add esp, 8
test eax, eax
je 0x59db92
push eax
call dword [0x671b80]
jmp 0x59db8f
push esi
call dword [0x671b4c]
add esp, 4
mov esi, dword [ebp - 0x84]
test esi, esi
je 0x59dc4b
cmp dword [edi + 0x1c8], 0
je 0x59dbbd
push esi
push edi
call fcn.00570a50
mov eax, dword [ebp - 0x40]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, dword [edi + 0x120]
jb 0x59dbeb
cmp esi, dword [edi + 0x124]
jae 0x59dbeb
mov eax, dword [edi + 0x11c]
mov dword [esi], eax
dec dword [edi + 0x108]
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x11c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x671b20], 0
je 0x59dc41
mov eax, dword [0x6840d8]
test eax, eax
je 0x59dc07
push eax
call dword [0x671b78]
add esp, 4
push esi
call dword [0x671b54]
sub dword [0x684158], eax
dec dword [0x68417c]
push esi
call dword [0x671b4c]
mov eax, dword [0x6840d8]
add esp, 8
test eax, eax
je 0x59dc4b
push eax
call dword [0x671b80]
mov eax, dword [ebp - 0x40]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [0x671b4c]
add esp, 4
mov eax, dword [ebp - 0x40]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret