Function at 0x460660
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x22c]
mov dword [esp + 0xa0], eax
mov eax, dword [esi + 0x230]
mov dword [esi + 0x22c], eax
inc eax
mov dword [esi + 0x230], eax
mov eax, dword [esi]
push edi
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], eax
test ebx, ebx
je 0x461bc0
cmp byte [eax + 0x1e], 0
jne 0x461bc0
cmp dword [esi + 0x40], 0
jne 0x461bc0
push 0
push 0
push 0
push 0x15
mov eax, esi
call fcn.00446ef0
add esp, 0x10
test eax, eax
jne 0x461bc0
push 0x2c
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.004bfe20
mov edx, dword [ebp + 0x10]
add esp, 0xc
cmp byte [edx], 4
ja 0x460714
mov eax, dword [ebx + 0x18]
mov edi, dword [esp + 0x38]
push eax
call fcn.0043fa90
mov ecx, 0xfffe
add esp, 4
and word [ebx + 6], cx
mov dword [ebx + 0x18], 0
push 0
push ebx
push esi
call fcn.0045fec0
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx]
add esp, 0xc
cmp dword [esi + 0x40], 0
mov dword [esp + 0x30], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
jne 0x4618ef
mov edx, dword [esp + 0x38]
cmp byte [edx + 0x1e], 0
jne 0x4618ef
movzx eax, word [ebx + 6]
shr eax, 2
and eax, 1
mov edi, esi
mov dword [esp + 0x20], eax
call fcn.0045c3a0
mov dword [esp + 0x10], eax
test eax, eax
je 0x4618ef
mov ecx, dword [esp + 0x4c]
cmp dword [ecx], 1
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax]
jle 0x460798
cmp eax, 6
je 0x460786
cmp eax, 7
jne 0x460798
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
call fcn.0041a700
add esp, 4
jmp 0x4618ef
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [ebx + 0x1c], eax
jne 0x460905
jmp 0x4607b4
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x50]
movsx edx, word [edi]
cmp eax, edx
jge 0x460905
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + ecx*8 + 0x18]
lea edi, [edi + ecx*8 + 8]
mov dword [esp + 0x44], eax
test eax, eax
je 0x4608f7
cmp byte [edi + 0x14], 0
jne 0x4608f7
mov eax, ebx
call fcn.0043e970
add dword [esi + 0x220], eax
mov edx, dword [esp + 0x44]
movzx eax, word [edx + 6]
mov ecx, dword [esp + 0x14]
shr eax, 2
and eax, 1
push eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
push eax
push ecx
push esi
mov eax, ebx
call fcn.0045efa0
add esp, 0x10
test eax, eax
je 0x460844
cmp dword [esp + 0x40], 0
je 0x460837
or word [ebx + 6], 4
mov dword [esp + 0x20], 1
mov dword [esp + 0x14], 0xffffffff
jmp 0x4608c6
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x44]
mov dl, byte [esi + 0x230]
mov dword [esp + 0xdc], eax
xor eax, eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
lea eax, [esp + 0xd8]
push eax
push ecx
mov byte [esp + 0xe0], 9
mov byte [esp + 0xe1], 0
push esi
mov byte [edi + 0x17], dl
call fcn.00460660
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
mov edx, dword [esp + 0x50]
mov ecx, dword [edi + 0xc]
add esp, 0xc
or eax, 0xc00
mov byte [edi + 0x14], 1
mov dword [esp + 0x40], eax
fld qword [edx + 0x48]
fldcw word [esp + 0x40]
fistp qword [esp + 0xa8]
mov eax, dword [esp + 0xa8]
mov dword [ecx + 0x18], eax
fldcw word [esp + 0x1c]
mov edx, dword [esp + 0x38]
cmp byte [edx + 0x1e], 0
jne 0x4618ef
mov eax, ebx
call fcn.0043e970
sub dword [esi + 0x220], eax
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 4
mov eax, dword [ebx + 8]
mov dword [esp + 0x50], eax
jbe 0x4608f7
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x30], edx
inc dword [esp + 0x14]
cmp dword [ebx + 0x1c], 0
je 0x4607b0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x74], eax
movzx eax, word [ebx + 6]
mov dword [esp + 0x1c], ecx
mov ecx, eax
and ecx, 1
cmp dword [ebx + 0x1c], 0
mov dword [esp + 0x4c], edx
mov dword [esp + 0x18], ecx
je 0x460995
cmp dword [ebx + 0x24], 0
jne 0x460973
xor ecx, ecx
xor edx, edx
mov eax, ebx
nop
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ebx
mov ecx, eax
mov eax, dword [eax + 0x1c]
inc edx
test eax, eax
jne 0x460940
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x58]
test eax, eax
je 0x460973
cmp edx, eax
jle 0x460973
push str.too_many_terms_in_compound_SELECT
mov edi, esi
call fcn.0041a700
add esp, 4
jmp 0x4618ef
mov edx, dword [ebp + 0x10]
push edx
push ebx
push esi
call fcn.0045c5a0
mov ecx, dword [esp + 0xb0]
add esp, 0xc
mov dword [esi + 0x22c], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
and al, 5
cmp al, 1
jne 0x4609bb
push 0
push edx
mov edx, dword [esp + 0x40]
push edx
call fcn.0043f2e0
mov dword [ebx + 0x10], eax
mov dword [esp + 0x28], eax
mov eax, 0xfffe
add esp, 0xc
and word [ebx + 6], ax
mov ecx, dword [esp + 0x30]
mov edi, dword [ebx + 0x10]
push ecx
call fcn.00442f80
add esp, 4
test eax, eax
jne 0x460a82
mov edx, dword [esp + 0x38]
test byte [edx + 0xc], 0x20
jne 0x460a82
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp byte [eax], 9
jne 0x460a0e
mov edx, dword [esp + 0x4c]
mov ecx, dword [edx]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x10]
push ecx
push edx
push 0x29
call fcn.004321b0
add esp, 0xc
mov eax, dword [esp + 0x10]
call fcn.004322b0
fld qword [0x512d18]
push eax
fstp qword [ebx + 0x48]
mov dword [esp + 0xac], eax
push ebx
mov eax, esi
call fcn.0045c3d0
add esp, 8
test byte [ebx + 6], 1
je 0x460ac8
mov edi, dword [esi + 0x44]
lea eax, [edi + 1]
mov dword [esi + 0x44], eax
mov ecx, dword [ebx]
push ecx
push esi
mov dword [esp + 0x78], edi
call fcn.0045aee0
push 0xfffffffffffffff0
push eax
mov edx, edi
mov edi, dword [esp + 0x20]
push 0x29
xor eax, eax
xor ecx, ecx
call fcn.00432210
mov edx, edi
mov eax, dword [edx + 4]
add esp, 0x14
test eax, eax
je 0x460ad0
mov ecx, edi
mov ecx, dword [ecx + 0x1c]
lea edx, [ecx + ecx*4]
mov byte [eax + edx*4 - 0x11], 0x10
jmp 0x460ad0
cmp dword [esp + 0x30], 0
je 0x4609e5
mov edi, dword [esp + 0x30]
push edi
push esi
call fcn.0045aee0
mov ecx, dword [esi + 0x44]
mov dword [edi + 8], ecx
inc dword [esi + 0x44]
mov ecx, dword [edi]
mov edx, dword [edi + 8]
mov edi, dword [esp + 0x18]
push 0xfffffffffffffff0
push eax
add ecx, 2
push 0x29
xor eax, eax
call fcn.00432210
add esp, 0x14
mov dword [esp + 0x2c], eax
mov dword [ebx + 0x40], eax
jmp 0x4609ed
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x20], 0
mov edi, dword [esp + 0x1c]
jne 0x460b76
test edi, edi
jne 0x460b7a
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
push edi
lea eax, [esp + 0x34]
push eax
push ecx
push edx
push esi
call fcn.0046c180
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4618ef
fld qword [ebx + 0x48]
fcomp qword [edi + 0x28]
fnstsw ax
test ah, 0x41
jne 0x460b1d
fld qword [edi + 0x28]
fstp qword [ebx + 0x48]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jl 0x460b41
cmp dword [esp + 0x30], 0
jne 0x460b41
mov edx, dword [esp + 0x10]
mov eax, 1
call fcn.00432680
mov dword [ebx + 0x40], 0xffffffff
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x54]
push edx
push 0xffffffffffffffff
push eax
push 0
push 0
push ecx
push ebx
push esi
call fcn.0045aa10
push edi
call fcn.0046cce0
mov edi, dword [esp + 0x3c]
add esp, 0x2c
jmp 0x46188c
test edi, edi
je 0x460bc3
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov ecx, dword [ecx + 0xc]
test eax, eax
jle 0x460b95
add ecx, 0x10
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x14
test eax, eax
jg 0x460b88
mov eax, dword [edi]
mov ecx, dword [edi + 0xc]
test eax, eax
jle 0x460bae
add ecx, 0x10
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x14
test eax, eax
jg 0x460ba1
fld qword [0x512d38]
fcom qword [ebx + 0x48]
fnstsw ax
test ah, 5
jp 0x460bca
fstp qword [ebx + 0x48]
jmp 0x460bcc
fld1
fstp qword [ebx + 0x48]
jmp 0x460bcc
fstp st(0)
mov eax, dword [esp + 0x10]
call fcn.004322b0
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x5c], eax
xor eax, eax
lea edx, [esp + 0x78]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xd0], edx
cmp edi, eax
je 0x460c3e
mov eax, dword [edi]
inc eax
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x4c]
lea edx, [esp + 0xb4]
push edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], ecx
call fcn.00443320
mov ebx, dword [esp + 0x34]
lea eax, [esp + 0xb8]
add esp, 4
push eax
call fcn.00443320
mov ecx, dword [esp + 0x78]
xor edi, edi
add esp, 4
cmp ecx, edi
je 0x460c8e
lea eax, [esp + 0xb4]
call fcn.004432f0
cmp dword [esp + 0x9c], edi
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x14], edi
jle 0x460ce2
lea esp, [esp]
mov edx, dword [esp + 0x98]
mov eax, dword [edi + edx]
mov ebx, dword [eax + 0x10]
lea ecx, [esp + 0xb4]
push ecx
call fcn.00443320
mov eax, dword [esp + 0x18]
inc eax
add esp, 4
add edi, 0x10
cmp eax, dword [esp + 0x9c]
mov dword [esp + 0x14], eax
jl 0x460cb0
mov edx, dword [esp + 0x38]
cmp byte [edx + 0x1e], 0
jne 0x4618ef
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x46194b
mov eax, dword [esi + 0x44]
mov dword [esp + 0x7c], eax
push ecx
inc eax
push esi
mov dword [esi + 0x44], eax
call fcn.0045aee0
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0x1c]
add esp, 8
cmp dword [eax + 0x20], ecx
mov dword [esp + 0x40], ecx
mov ebx, eax
jg 0x460d57
mov edi, ebx
call fcn.00432020
test eax, eax
je 0x460d53
mov eax, 1
mov dword [esp + 0x6c], eax
jmp 0x460d8c
mov ecx, dword [esp + 0x40]
mov eax, dword [ebx + 4]
inc dword [ebx + 0x1c]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 8], edx
xor edx, edx
mov byte [eax], 0x29
mov byte [eax + 3], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov byte [ebx + 0x64], dl
mov dword [esp + 0x6c], ecx
mov eax, ecx
mov ecx, dword [ebx + 4]
mov edi, dword [ebx]
test ecx, ecx
je 0x460de7
cmp byte [edi + 0x1e], 0
jne 0x460de7
test eax, eax
jge 0x460da3
mov eax, dword [ebx + 0x1c]
dec eax
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
movsx eax, byte [ecx + 1]
mov dword [esp + 0x20], ecx
mov ecx, dword [ecx + 0x10]
call fcn.00432580
cmp dword [esp + 0x44], 0
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x10], 0
mov eax, ecx
jne 0x460dda
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
jmp 0x460df5
mov edx, dword [esp + 0x44]
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfa
jmp 0x460df5
mov ecx, dword [esp + 0x44]
mov eax, 0xfffffff0
call fcn.00432580
mov eax, dword [esi + 0x48]
inc eax
lea edi, [eax + 1]
mov dword [esp + 0x68], eax
lea eax, [edi + 1]
mov dword [esp + 0x58], eax
mov dword [esi + 0x48], eax
mov eax, ebx
mov dword [esp + 0x40], edi
call fcn.004322b0
inc dword [esi + 0x48]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x2c], eax
mov eax, ebx
call fcn.004322b0
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x48]
lea ecx, [eax + 1]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
add eax, edx
mov dword [esi + 0x48], eax
mov ecx, dword [ecx]
push edi
lea edx, [eax + 1]
add ecx, eax
push 0
push 7
mov eax, ebx
mov dword [esp + 0x6c], edx
mov dword [esi + 0x48], ecx
call fcn.004321b0
mov edx, dword [esp + 0x74]
add esp, 0xc
push edx
push 0
push 7
mov eax, ebx
call fcn.004321b0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x38]
add esp, 0xc
push eax
push ecx
push 2
mov eax, ebx
call fcn.004321b0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
add esp, 0xc
push 0
lea edx, [esp + 0x20]
push edx
push eax
push ecx
push esi
call fcn.0046c180
add esp, 0x14
mov dword [esp + 0x3c], eax
test eax, eax
je 0x4618ef
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x460eca
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], edi
jmp 0x46119f
cmp dword [esp + 0x18], 0
je 0x460edf
mov ecx, dword [ebp + 0xc]
test byte [ecx + 6], 1
mov eax, str.DISTINCT
je 0x460ee4
mov eax, str.GROUP_BY
mov ecx, esi
call fcn.0045af90
mov eax, dword [edi]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x18], eax
inc eax
mov dword [esp + 0x48], 1
mov dword [esp + 0xc], eax
mov ecx, eax
mov dword [esp + 0x34], eax
test edx, edx
jle 0x460f2b
mov edi, dword [esp + 0x88]
add edi, 0xc
cmp dword [edi], eax
jl 0x460f1f
inc ecx
inc eax
add edi, 0x18
sub edx, 1
jne 0x460f19
mov dword [esp + 0x34], ecx
mov eax, dword [esi + 0x38]
cmp ecx, eax
mov edi, dword [esi + 0x3c]
mov dword [esp + 0x20], edi
jg 0x460f46
lea edx, [edi + ecx]
sub eax, ecx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x38], eax
jmp 0x460f55
mov eax, dword [esi + 0x48]
lea edi, [eax + 1]
add ecx, eax
mov dword [esp + 0x20], edi
mov dword [esi + 0x48], ecx
mov edx, esi
call fcn.00441160
mov eax, dword [esp + 0x1c]
push 0
push edi
push esi
call fcn.004425c0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x88]
add esp, 0xc
add edi, eax
push edi
push ecx
push 0x35
mov eax, ebx
call fcn.004321b0
mov edx, dword [esp + 0x18]
add esp, 0xc
cmp dword [esp + 0x8c], 0
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], 0
jle 0x461021
mov eax, dword [esp + 0x20]
mov ecx, edx
add eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x88]
xor edi, edi
mov edx, dword [esp + 0xc]
cmp dword [edi + eax + 0xc], edx
jl 0x46100c
mov ecx, dword [edi + eax + 4]
mov edx, dword [edi + eax + 8]
mov eax, dword [edi + eax]
push ecx
push edx
push eax
mov eax, dword [esp + 0x24]
mov ecx, esi
call fcn.004410d0
add esp, 0xc
cmp dword [esp + 0x18], eax
je 0x460ff8
mov ecx, dword [esp + 0x18]
push ecx
push eax
push 0xf
mov eax, ebx
call fcn.004321b0
add esp, 0xc
mov eax, 1
add dword [esp + 0xc], eax
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x14]
inc ecx
add edi, 0x18
cmp ecx, dword [esp + 0x8c]
mov dword [esp + 0x14], ecx
jl 0x460fba
mov al, byte [esi + 0x15]
test al, al
jne 0x461030
inc dword [esi + 0x48]
mov ecx, dword [esi + 0x48]
jmp 0x46103c
dec al
movzx edx, al
mov byte [esi + 0x15], al
mov ecx, dword [esi + edx*4 + 0x18]
mov eax, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], eax
jg 0x46105f
mov edi, ebx
call fcn.00432020
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x461092
mov eax, dword [esp + 0xc]
mov edx, dword [ebx + 4]
inc dword [ebx + 0x1c]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov byte [eax], 0x1e
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [ebx + 0x64], 0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], eax
mov dword [esp + 0xc], eax
jg 0x4610b9
mov edi, ebx
call fcn.00432020
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x4610e4
mov eax, dword [esp + 0xc]
inc dword [ebx + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x14]
mov dword [eax + 4], edx
xor edx, edx
mov byte [eax], 0x46
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov byte [ebx + 0x64], dl
mov edi, dword [esp + 0x34]
test ecx, ecx
je 0x46111c
mov bl, byte [esi + 0x15]
cmp bl, 8
jae 0x46111c
xor eax, eax
lea edx, [esi + 0x60]
lea esp, [esp]
cmp dword [edx + 0x10], ecx
je 0x46123c
inc eax
add edx, 0x18
cmp eax, 0xa
jl 0x461100
movzx eax, bl
mov dword [esi + eax*4 + 0x18], ecx
inc byte [esi + 0x15]
mov ebx, dword [esp + 0x20]
push ebx
mov eax, edi
call fcn.00440f90
mov eax, esi
add esp, 4
cmp edi, dword [eax + 0x38]
jle 0x461138
mov dword [eax + 0x38], edi
mov dword [eax + 0x3c], ebx
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0046cce0
mov edi, dword [esp + 0x14]
mov esi, dword [edi + 0x1c]
mov ebx, dword [esp + 0x80]
add esp, 4
cmp dword [edi + 0x20], esi
jg 0x461161
call fcn.00432020
test eax, eax
jne 0x46118c
mov eax, dword [edi + 4]
inc dword [edi + 0x1c]
mov ecx, dword [esp + 0x5c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x40
mov byte [eax + 3], 0
mov dword [eax + 4], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [edi + 0x64], cl
mov edx, dword [ebp + 8]
mov byte [esp + 0x79], 1
call fcn.00441160
mov ebx, dword [esp + 0x10]
mov esi, edx
mov edx, dword [ebx + 0x1c]
mov dword [esp + 0x24], edx
mov edx, esi
call fcn.00441160
mov eax, dword [esp + 0x1c]
cmp dword [eax], 0
mov dword [esp + 0xc], 0
jle 0x4612fd
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x48], 0
je 0x461245
mov eax, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], eax
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x34], eax
jg 0x461200
mov edi, ebx
call fcn.00432020
test eax, eax
jne 0x4612df
mov eax, dword [esp + 0x34]
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x14]
mov byte [eax], 0x1c
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [ebx + 0x64], 0
jmp 0x4612df
mov byte [edx + 8], 1
jmp 0x46111c
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov byte [esp + 0x78], 1
mov ecx, dword [eax + 0xc]
mov eax, dword [edx + ecx]
test eax, eax
je 0x4612b5
cmp byte [eax], 0x84
jne 0x4612b5
mov eax, dword [eax + 0x18]
mov edi, dword [esi + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x1c]
cmp dword [edi + 0x20], eax
mov dword [esp + 0x34], eax
jg 0x461284
call fcn.00432020
test eax, eax
jne 0x4612df
mov eax, dword [esp + 0x34]
mov edx, dword [edi + 4]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0xe
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [edi + 0x64], cl
jmp 0x4612df
mov edi, dword [esp + 0x14]
push edi
push eax
push esi
call fcn.00441350
add esp, 0xc
cmp eax, edi
je 0x4612df
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4612df
mov edx, edi
push edx
push eax
push 0xf
mov eax, ecx
call fcn.004321b0
add esp, 0xc
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
inc dword [esp + 0x14]
add dword [esp + 0x20], 0x14
inc eax
cmp eax, dword [ecx]
mov dword [esp + 0xc], eax
jl 0x4611d2
mov edx, dword [esp + 0x1c]
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
mov eax, dword [edx]
mov dword [esp + 0x20], eax
jg 0x461321
mov edi, ebx
call fcn.00432020
test eax, eax
je 0x461321
mov esi, 1
jmp 0x461358
mov edx, dword [ebx + 4]
inc dword [ebx + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov byte [eax], 0x18
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [ebx + 0x64], 0
mov edx, dword [esp + 0x44]
push edx
push ebx
mov ecx, 0xfffffffa
mov eax, esi
call fcn.004326c0
mov esi, dword [ebx + 0x1c]
add esp, 8
cmp dword [ebx + 0x20], esi
mov dword [esp + 0x44], esi
jg 0x461384
mov edi, ebx
call fcn.00432020
test eax, eax
jne 0x4613ae
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x1c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor edx, edx
lea ecx, [esi + 1]
mov byte [eax], 0x19
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov byte [ebx + 0x64], dl
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x60]
mov edi, dword [ebp + 8]
push eax
call fcn.004411b0
mov esi, dword [esp + 0x14]
mov ebx, dword [esi + 0x1c]
add esp, 4
cmp dword [esi + 0x20], ebx
jg 0x4613df
mov edi, esi
call fcn.00432020
test eax, eax
jne 0x46140f
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x64]
xor ebx, ebx
mov byte [eax], 2
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x64], bl
jmp 0x461411
xor ebx, ebx
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x28], eax
jg 0x46142c
mov edi, esi
call fcn.00432020
test eax, eax
jne 0x461458
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x40]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x5c]
mov byte [eax], 0x71
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x64], bl
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x28], eax
jg 0x461473
mov edi, esi
call fcn.00432020
test eax, eax
jne 0x46149f
mov eax, dword [esp + 0x28]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x2c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x54]
mov byte [eax], 2
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x64], bl
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jle 0x4614b4
mov edx, dword [esi + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x78]
push eax
push ecx
call fcn.00460270
mov eax, dword [esi + 0x1c]
add esp, 8
cmp dword [esi + 0x20], eax
mov dword [esp + 0x28], eax
jg 0x4614e0
mov edi, esi
call fcn.00432020
test eax, eax
jne 0x46150d
mov eax, dword [esp + 0x28]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov ecx, 1
add dword [esi + 0x1c], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x68]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x64], bl
cmp dword [esp + 0x48], ebx
je 0x461564
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], eax
jg 0x461536
mov edi, esi
call fcn.00432020
test eax, eax
jne 0x4615a9
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x28]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x24]
mov byte [eax], 0x43
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x64], bl
jmp 0x4615a9
mov edx, dword [esp + 0x3c]
push edx
call fcn.0046cce0
mov eax, dword [esi + 4]
add esp, 4
cmp eax, ebx
je 0x4615a9
mov ecx, dword [esp + 0x6c]
mov edi, dword [esi]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
movsx eax, byte [ecx + 1]
mov dword [esp + 0x24], ecx
mov ecx, dword [ecx + 0x10]
call fcn.00432580
mov eax, dword [esp + 0x24]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax], 0x89
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x24], eax
jg 0x4615c4
mov edi, esi
call fcn.00432020
test eax, eax
jne 0x4615f0
mov eax, dword [esp + 0x24]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x58]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x64]
mov byte [eax], 2
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x64], bl
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x24], eax
jg 0x46160b
mov edi, esi
call fcn.00432020
test eax, eax
jne 0x461633
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x5c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x64], bl
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x3c], eax
jg 0x461652
mov edi, esi
call fcn.00432020
test eax, eax
jne 0x46167f
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 4]
mov ecx, 1
add dword [esi + 0x1c], ecx
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x64], bl
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x24], eax
jg 0x46169a
mov edi, esi
call fcn.00432020
test eax, eax
jne 0x4616c2
mov eax, dword [esp + 0x24]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x58]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 3
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x64], bl
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x4616db
mov edx, dword [esp + 0x64]
lea ecx, [edx*4 + 4]
mov edx, dword [esi + 0x1c]
sub eax, ecx
mov dword [eax], edx
mov edi, dword [esi + 0x1c]
cmp dword [esi + 0x20], edi
mov dword [esp + 0xc], edi
jg 0x4616f6
mov edi, esi
call fcn.00432020
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x461721
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x68]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
lea ecx, [edi + 2]
mov byte [eax], 0x71
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x64], bl
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x24], eax
jg 0x461740
mov edi, esi
call fcn.00432020
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x461768
mov eax, dword [esp + 0x24]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x58]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 3
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x64], bl
mov eax, dword [ebp + 8]
lea edx, [esp + 0x78]
push edx
call fcn.00460160
mov eax, dword [esp + 0x78]
mov ecx, dword [ebp + 8]
add esp, 4
push 8
inc edi
push edi
push eax
push ecx
call fcn.00442ae0
mov edx, dword [esp + 0x4c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0x44]
push edi
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [eax]
push edx
mov edx, dword [ebp + 8]
push ebx
push ebx
push ecx
push eax
push edx
call fcn.0045aa10
mov eax, dword [esi + 0x1c]
add esp, 0x38
cmp dword [esi + 0x20], eax
mov dword [esp + 0x24], eax
jg 0x4617d1
mov edi, esi
call fcn.00432020
test eax, eax
jne 0x4617f9
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 3
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x64], bl
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x461812
mov ecx, dword [esp + 0x54]
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0x1c]
sub eax, edx
mov dword [eax], ecx
mov eax, dword [ebp + 8]
lea edx, [esp + 0x78]
push edx
push eax
call fcn.0045ff50
mov eax, dword [esi + 0x1c]
add esp, 8
cmp dword [esi + 0x20], eax
mov dword [esp + 0x24], eax
jg 0x461840
mov edi, esi
call fcn.00432020
test eax, eax
jne 0x46186c
mov esi, dword [esp + 0x10]
xor ebx, ebx
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x24]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x2c]
mov byte [eax], 3
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x64], bl
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x46188c
mov ecx, dword [esp + 0x5c]
lea edx, [ecx*4 + 4]
mov ecx, dword [edi + 0x1c]
sub eax, edx
mov dword [eax], ecx
cmp dword [esp + 0x70], 0
jl 0x46189f
mov eax, str.DISTINCT
mov ecx, esi
call fcn.0045af90
cmp dword [esp + 0x30], 0
je 0x4618cb
mov eax, str.ORDER_BY
mov ecx, esi
call fcn.0045af90
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
push edx
mov edx, dword [ebp + 0xc]
push ecx
push edi
push edx
push esi
call fcn.0045b1b0
add esp, 0x14
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x4618e7
mov ecx, dword [esp + 0xa8]
lea edx, [ecx*4 + 4]
mov ecx, dword [edi + 0x1c]
sub eax, edx
mov dword [eax], ecx
mov dword [esp + 0x34], 0
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0xa4]
mov dword [esi + 0x22c], edx
test edi, edi
jne 0x46191f
mov eax, dword [ebp + 0x10]
cmp byte [eax], 5
jne 0x46191f
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
push ecx
push edx
push esi
call fcn.0045bd30
add esp, 0xc
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0x38]
push eax
push esi
call fcn.004186a0
mov ecx, dword [esp + 0xa0]
push ecx
push esi
call fcn.004186a0
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x58], 0
call fcn.0045f5d0
mov edi, eax
add esp, 4
test edi, edi
je 0x461a8e
mov ebx, dword [ebp + 8]
mov esi, dword [edi + 0x44]
mov ecx, dword [ebx]
call fcn.00459850
mov ecx, dword [ebx + 0x44]
mov dword [esp + 0x28], ecx
inc ecx
mov dword [ebx + 0x44], ecx
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x40], eax
mov ebx, eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], ecx
call fcn.0044b8f0
mov edx, dword [edi]
mov eax, dword [edi + 0x14]
push edx
push esi
push eax
mov eax, dword [ebp + 8]
mov ecx, ebx
push ecx
call fcn.00446f80
mov eax, dword [edi + 0x10]
add esp, 0x10
test eax, eax
je 0x4619f9
lea ecx, [ecx]
test esi, esi
je 0x4619cc
mov edx, dword [eax + 4]
cmp edx, dword [esi + 4]
jge 0x4619ce
mov esi, eax
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x4619c0
test esi, esi
je 0x4619f9
mov eax, dword [esi + 4]
cmp eax, dword [edi + 8]
jge 0x4619f9
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 0x14]
push esi
push edx
mov dword [esp + 0x44], ecx
call fcn.0044bda0
add esp, 8
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
push eax
push ecx
push edx
push 0x26
mov eax, ebx
call fcn.004320a0
mov ecx, dword [esp + 0x3c]
add esp, 0x10
test ecx, ecx
je 0x461a5d
mov esi, dword [ebx + 4]
mov edi, dword [ebx]
test esi, esi
je 0x461a53
cmp byte [edi + 0x1e], 0
jne 0x461a53
mov eax, dword [ebx + 0x1c]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
call fcn.00432580
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x10], ecx
mov byte [esi + 1], 0xfa
jmp 0x461a5d
mov eax, 0xfffffff0
call fcn.00432580
mov edx, dword [esp + 0x98]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x28]
push eax
push esi
push 0x1f
mov eax, ebx
call fcn.004321b0
add esp, 0xc
push esi
push 0x2b
mov eax, ebx
call fcn.00432150
mov esi, dword [ebp + 8]
add esp, 8
jmp 0x461b72
mov edi, dword [ebp + 0xc]
mov eax, edi
mov dword [esp + 0x2c], 0
call fcn.0045f560
mov bl, al
test bl, bl
je 0x461ae6
mov ecx, dword [edi]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
mov edi, dword [esp + 0x38]
push 0
push ecx
push edi
call fcn.0043f2e0
add esp, 0xc
mov dword [esp + 0x2c], eax
mov dword [esp + 0x54], eax
test eax, eax
je 0x461ae6
cmp byte [edi + 0x1e], 0
jne 0x461ae6
mov ecx, dword [eax + 0xc]
cmp bl, 1
setne dl
mov byte [ecx + 0xc], dl
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov byte [eax], 0x98
lea ecx, [esp + 0x78]
push ecx
push esi
call fcn.0045ff50
movzx dx, bl
movzx eax, dx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x38]
push ecx
push edx
push eax
push esi
call fcn.0046c180
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x461b2d
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x38]
push ecx
call fcn.0043fa90
add esp, 4
jmp 0x4618ef
lea edx, [esp + 0x78]
push edx
push esi
call fcn.00460270
add esp, 8
cmp dword [esp + 0x2c], 0
jne 0x461b5a
test bl, bl
je 0x461b5a
mov eax, dword [edi + 0x14]
push eax
mov eax, dword [esp + 0x14]
push 0
push 1
call fcn.004321b0
add esp, 0xc
push edi
call fcn.0046cce0
lea ecx, [esp + 0x7c]
add esp, 4
push ecx
mov eax, esi
call fcn.00460160
add esp, 4
mov edi, dword [esp + 0x5c]
mov edx, dword [esp + 0x74]
push 8
push edi
push edx
push esi
mov dword [esp + 0x40], 0
call fcn.00442ae0
mov eax, dword [ebp + 0x10]
push edi
push edi
push eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push 0xffffffffffffffff
push 0
push 0
push 0
push ecx
push eax
push esi
call fcn.0045aa10
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0x70]
push edx
call fcn.0043fa90
add esp, 0x3c
jmp 0x46186f
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret