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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x559940]
xor eax, esp
mov dword [esp + 0xa4], eax
xor eax, eax
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], eax
movups xmm0, xmmword [esi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x30]
movups xmmword [esp + 0x50], xmm0
mov dword [esp + 0x20], edi
movq xmm0, qword [esi + 0x10]
movq qword [esp + 0x60], xmm0
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x48], esi
mov dword [esp + 0xc], eax
test edx, edx
jne 0x4771ea
cmp dword [eax + 0x38], edx
jne 0x4771ea
mov esi, dword [ecx + 8]
mov dword [esp + 0x44], esi
test esi, esi
jne 0x47617c
cmp dword [ecx + 0x78], esi
jne 0x476171
mov eax, dword [esp + 0x40]
test byte [eax + 0x44], 8
jne 0x476171
mov byte [ecx + 0x17], 1
call fcn.00429580
mov esi, eax
mov dword [esp + 0x44], eax
mov dl, byte [esp + 0x50]
lea ecx, [esi + 0x88]
mov dword [esp + 0x1c], ecx
cmp dl, 0xc
jne 0x476216
mov eax, dword [edi]
mov edx, dword [ecx]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], edx
jg 0x4761d6
mov edx, dword [esp + 0x14]
mov ecx, esi
push 0
push edx
mov edx, dword [esp + 0x10]
push edx
mov edx, 0x6c
call fcn.00429830
mov dl, 0xe
lea ecx, [esi + 0x88]
add esp, 0xc
mov byte [esp + 0x50], dl
jmp 0x47621a
lea eax, [edx + 1]
mov dword [ecx], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x58]
mov edx, dword [esp + 8]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov dl, 0xe
mov dword [eax + ecx*4], 0x6c
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea ecx, [esi + 0x88]
mov byte [esp + 0x50], dl
jmp 0x47621a
mov dword [esp + 0x1c], ecx
mov eax, dword [edi + 8]
test eax, 0x400
je 0x4762ad
mov eax, dword [edi + 0x30]
mov ecx, 1
mov dword [esp + 0x24], ecx
test eax, eax
je 0x476250
mov edi, eax
inc ecx
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x476238
mov dword [esp + 0x24], ecx
nop word [eax + eax]
mov esi, dword [edi + 0x30]
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0x18]
mov edx, edi
push eax
mov dword [edi + 0x30], 0
call fcn.0047bc80
mov ecx, eax
mov dword [edi + 0x30], esi
add esp, 4
test ecx, ecx
jne 0x476285
mov eax, dword [esp + 0x24]
mov word [edi + 6], ax
mov edi, dword [edi + 0x34]
test edi, edi
jne 0x476250
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x58]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [edx + 0xc], eax
mov eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret
test eax, 0x2000
je 0x4762cc
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x50]
push eax
mov edx, edi
call fcn.00475830
add esp, 4
jmp 0x476fed
cmp dword [edi + 0x2c], 0
je 0x4762f9
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
push edx
mov edx, edi
call fcn.00477bc0
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret
movzx eax, byte [edi + 4]
sub eax, 0x73
je 0x476b7f
sub eax, 1
je 0x4768e3
sub eax, 1
je 0x476b7f
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x28]
mov dword [esp + 0x10], eax
inc eax
mov dword [esp + 0x4c], eax
inc eax
mov dword [edx + 0x28], eax
mov eax, dword [ecx]
mov dword [esp + 8], eax
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 8]
cmp dword [eax + 0x30], edi
jg 0x47635b
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x6c
mov ecx, esi
call fcn.00429830
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x476397
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x10]
inc eax
mov dword [ecx], eax
mov eax, dword [esp + 8]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x6c
mov dword [eax + ecx*4 + 4], edi
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 + 8]
mov edi, dword [esp + 0x20]
mov ecx, edi
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x34]
test eax, eax
je 0x4763b0
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x4763a7
or dword [ecx + 8], 0x20
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [edx + 0x1a0]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x80], 1
mov dword [esp + 0x90], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
call fcn.0047bc80
mov ecx, eax
add esp, 4
mov dword [esp + 0x38], ecx
test ecx, ecx
jne 0x4771a2
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0xc]
mov edx, dword [ecx]
cmp dword [eax + 0x30], edx
jg 0x47643e
push 0
push 0
push dword [esp + 0x54]
mov edx, 0x6c
mov ecx, esi
call fcn.00429830
add esp, 0xc
mov edx, eax
jmp 0x476474
mov edi, dword [esp + 0x4c]
lea eax, [edx + 1]
mov dword [ecx], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x6c
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [edi + 0x18], edx
mov edx, edi
mov eax, dword [edi + 0x38]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x30], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov ecx, dword [eax + 0x1a0]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
call fcn.0047bc80
mov dword [esp + 0x3c], eax
add esp, 4
mov eax, dword [edi + 0x30]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc]
mov dword [edi + 0x30], eax
movzx eax, word [eax + 6]
cmp word [edi + 6], ax
jle 0x4764e4
mov word [edi + 6], ax
mov edx, dword [edi + 0x38]
test edx, edx
je 0x4764f4
mov ecx, dword [esp + 0x40]
call fcn.00441410
mov eax, dword [esp + 8]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x3c], eax
mov ecx, dword [esi + 0xc]
mov dword [esp + 8], ecx
mov edx, dword [ecx + 0x44]
mov dword [esp + 0x30], edx
lea eax, [edx + 1]
mov dword [ecx + 0x44], eax
lea eax, [edx - 1]
add ecx, 0x48
test edx, eax
jne 0x476547
lea eax, [edx*8 + 4]
mov edx, dword [ecx]
push 0
push eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
call fcn.00405ab0
mov ecx, dword [esp + 0x10]
add esp, 8
mov edx, dword [esp + 0x30]
add ecx, 0x48
mov dword [ecx], eax
mov eax, dword [ecx]
test eax, eax
je 0x476554
mov dword [eax + edx*4], 0xffffffff
mov ecx, dword [esi + 0xc]
not edx
mov dword [esp + 0x30], edx
mov dword [esp + 8], ecx
mov edx, dword [ecx + 0x44]
mov dword [esp + 0x14], edx
lea eax, [edx + 1]
mov dword [ecx + 0x44], eax
lea eax, [edx - 1]
add ecx, 0x48
test edx, eax
jne 0x47659f
lea eax, [edx*8 + 4]
mov edx, dword [ecx]
push 0
push eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
call fcn.00405ab0
mov ecx, dword [esp + 0x10]
add esp, 8
mov edx, dword [esp + 0x14]
add ecx, 0x48
mov dword [ecx], eax
mov eax, dword [ecx]
test eax, eax
je 0x4765ac
mov dword [eax + edx*4], 0xffffffff
push dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
not edx
mov dword [esp + 0x18], edx
mov edx, edi
call fcn.00475310
mov edx, dword [esp + 0x20]
add esp, 4
mov eax, dword [esi + 0xc]
mov ecx, dword [edx]
cmp dword [eax + 0x30], ecx
jg 0x4765f1
push 0
push dword [esp + 0x34]
mov edx, 0x25
mov ecx, esi
push dword [esp + 0x18]
call fcn.00429830
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x476623
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x25
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x18]
mov al, byte [ecx + 0x13]
test al, al
jne 0x476636
inc dword [ecx + 0x2c]
mov ecx, dword [ecx + 0x2c]
jmp 0x476645
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov ecx, dword [ecx + eax*4 + 0x15c]
mov eax, dword [edx]
mov dword [esp + 8], eax
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 8]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x30], edi
mov edi, dword [esp + 0x20]
jg 0x47667f
push 0
push ecx
push dword [esp + 0x18]
mov edx, 0x7a
mov ecx, esi
call fcn.00429830
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 8], eax
jmp 0x4766b9
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [edx]
mov dword [esp + 0x34], ecx
cmp dword [eax + 0x30], ecx
jg 0x4766eb
push dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov ecx, esi
push edx
push dword [esp + 0x54]
mov edx, 0x1d
call fcn.00429830
mov edx, dword [esp + 0x18]
add esp, 0xc
mov ecx, eax
jmp 0x476721
lea eax, [ecx + 1]
mov dword [edx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x1d
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x34]
mov eax, dword [esi]
cmp byte [eax + 0x49], 0
jne 0x47673c
mov eax, dword [esi + 0x58]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x18]
test edx, edx
je 0x47679e
mov al, byte [ecx + 0x13]
mov byte [esp + 0x3f], al
cmp al, 8
jae 0x47679e
movzx edi, byte [ecx + 0x19]
lea eax, [ecx + 0x94]
xor edx, edx
mov dword [esp + 0x34], edi
test edi, edi
mov edi, dword [esp + 0x20]
je 0x47678b
nop word [eax + eax]
mov edi, dword [esp + 0xc]
cmp dword [eax + 0xc], edi
mov edi, dword [esp + 0x20]
je 0x476805
inc edx
add eax, 0x14
cmp edx, dword [esp + 0x34]
jl 0x476770
movzx eax, byte [esp + 0x3f]
mov edx, dword [esp + 0xc]
mov dword [ecx + eax*4 + 0x15c], edx
inc byte [ecx + 0x13]
push dword [esp + 0x30]
lea eax, [esp + 0x54]
mov edx, edi
push dword [esp + 0x18]
push eax
push 0
push 0
push dword [esp + 0x24]
call fcn.00472610
mov eax, dword [esi + 0xc]
add esp, 0x18
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x4767dc
mov eax, dword [esp + 0x14]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [edx]
cmp dword [eax + 0x30], ecx
jg 0x47680b
push 0
push dword [esp + 0xc]
mov edx, 7
mov ecx, esi
push dword [esp + 0x18]
call fcn.00429830
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x476841
mov byte [eax + 6], 1
jmp 0x47679e
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 8]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 7
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x47685c
mov eax, dword [esp + 0x30]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [edx]
cmp dword [eax + 0x30], ecx
jg 0x476883
push 0
push 0
push dword [esp + 0x54]
mov edx, 0x70
mov ecx, esi
call fcn.00429830
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x4768b9
mov edi, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov dword [edx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [edx]
cmp dword [eax + 0x30], ecx
jg 0x476fbb
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x70
mov ecx, esi
call fcn.00429830
add esp, 0xc
jmp 0x476fed
mov ecx, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x38]
mov dword [ecx + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [ecx + 0x3c], eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x1a0]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x50]
push edx
mov edx, ecx
mov ecx, eax
call fcn.0047bc80
mov ecx, eax
mov dword [edi + 0x38], 0
add esp, 4
mov dword [esp + 0x38], ecx
mov dword [edi + 0x3c], 0
test ecx, ecx
jne 0x4771a2
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [edi + 0xc], ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x24], ecx
mov dword [edi + 0x10], eax
test ecx, ecx
je 0x476a48
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0xc]
mov ecx, dword [edx]
mov dword [esp + 8], ecx
cmp dword [eax + 0x30], ecx
jg 0x476992
push 0
push 0
push dword [esp + 0x2c]
mov edx, 0x16
mov ecx, esi
call fcn.00429830
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 8], eax
jmp 0x4769c8
mov edi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [edx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x16
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x476a48
lea eax, [ecx + 1]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [edx]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x24]
cmp dword [eax + 0x30], edi
mov edi, dword [esp + 0x20]
jg 0x476a12
push ecx
lea edx, [ecx + 1]
mov ecx, esi
push edx
mov edx, dword [esp + 0x30]
push edx
mov edx, 0x93
call fcn.00429830
add esp, 0xc
jmp 0x476a48
mov ecx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [edx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x93
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov edx, edi
mov ecx, dword [eax + 0x1a0]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.0047bc80
movzx ecx, word [edi + 6]
add esp, 4
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc]
mov dword [edi + 0x30], eax
mov dword [esp + 0x34], ecx
movsx ecx, cx
movzx eax, word [eax + 6]
movsx edx, ax
cmp word [esp + 0x34], ax
jl 0x476ac8
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x476aa3
movzx eax, word [edi + 6]
mov edx, dword [esp + 0xc]
jmp 0x476b02
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x476ab5
movzx eax, word [edi + 6]
mov edx, dword [esp + 0xc]
inc eax
jmp 0x476aff
sub ecx, edx
mov edx, dword [esp + 0xc]
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 6]
jmp 0x476afc
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x476ad9
mov edx, dword [esp + 0xc]
movzx eax, word [edx + 6]
jmp 0x476b02
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x476aeb
mov edx, dword [esp + 0xc]
movzx eax, word [edx + 6]
inc eax
jmp 0x476aff
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
mov edx, dword [esp + 0xc]
movzx ecx, word [edx + 6]
add ax, cx
movzx eax, ax
mov word [edi + 6], ax
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x476b37
lea edx, [esp + 0x4c]
call fcn.004428c0
test eax, eax
je 0x476b37
mov eax, dword [esp + 0x4c]
test eax, eax
jle 0x476b37
cdq
push edx
push eax
call fcn.00409bb0
add esp, 8
cmp word [edi + 6], ax
jle 0x476b37
mov word [edi + 6], ax
mov edx, dword [esp + 8]
test edx, edx
je 0x476fed
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [ecx]
cmp byte [eax + 0x49], 0
mov dword [esp + 0x34], ecx
je 0x476b62
mov eax, 0x5600c0
mov dword [eax + 8], ecx
jmp 0x476fed
lea eax, [ecx - 1]
test edx, edx
cmovns eax, edx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
jmp 0x476fed
cmp dl, 1
jne 0x476b91
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
jmp 0x476c21
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x10], eax
inc eax
mov dword [ecx + 0x28], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0xc]
mov edx, dword [ecx]
cmp dword [eax + 0x30], edx
jg 0x476bc9
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x6c
mov ecx, esi
call fcn.00429830
add esp, 0xc
mov edx, eax
jmp 0x476bff
lea eax, [edx + 1]
mov dword [ecx], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x58]
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x6c
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [edi + 0x14], edx
mov ecx, edi
mov eax, dword [edi + 0x34]
test eax, eax
je 0x476c19
nop dword [eax + eax]
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x476c10
or dword [ecx + 8], 0x20
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x94], 1
mov dword [esp + 0xa4], 0
mov dword [esp + 0x9c], 0
mov ecx, dword [eax + 0x1a0]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x94]
push ecx
mov ecx, eax
mov dword [esp + 0xa4], 0
call fcn.0047bc80
mov ecx, eax
add esp, 4
mov dword [esp + 0x38], ecx
test ecx, ecx
jne 0x4771a2
cmp byte [edi + 4], 0x75
mov edx, edi
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x14], eax
sete al
inc al
mov dword [edi + 0x38], ecx
mov byte [esp + 0x94], al
mov eax, dword [esp + 0x18]
mov dword [edi + 0x3c], ecx
mov ecx, dword [eax + 0x1a0]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x94]
push ecx
mov ecx, eax
call fcn.0047bc80
mov edx, dword [edi + 0x2c]
add esp, 4
mov dword [esp + 0x38], eax
test edx, edx
je 0x476ce0
mov ecx, dword [esp + 0x40]
call fcn.00442460
cmp byte [edi + 4], 0x73
mov eax, dword [edi + 0x30]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc]
mov dword [edi + 0x30], eax
mov dword [edi + 0x2c], 0
jne 0x476d80
movzx ecx, word [edi + 6]
movzx eax, word [eax + 6]
mov dword [esp + 0x34], ecx
movsx ecx, cx
movsx edx, ax
cmp word [esp + 0x34], ax
jl 0x476d42
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x476d25
movzx eax, word [edi + 6]
jmp 0x476d7c
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x476d33
movzx eax, word [edi + 6]
inc eax
jmp 0x476d79
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 6]
jmp 0x476d76
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x476d53
mov edx, dword [esp + 0xc]
movzx eax, word [edx + 6]
jmp 0x476d7c
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x476d65
mov edx, dword [esp + 0xc]
movzx eax, word [edx + 6]
inc eax
jmp 0x476d79
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
mov edx, dword [esp + 0xc]
movzx ecx, word [edx + 6]
add ax, cx
movzx eax, ax
mov word [edi + 6], ax
mov edx, dword [edi + 0x38]
test edx, edx
je 0x476d90
mov ecx, dword [esp + 0x40]
call fcn.00441410
cmp byte [esp + 0x50], 1
mov eax, dword [esp + 8]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x3c], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
je 0x476fed
mov edx, dword [esi + 0xc]
mov dword [esp + 8], edx
mov ecx, dword [edx + 0x44]
mov dword [esp + 0x4c], ecx
lea eax, [ecx + 1]
mov dword [edx + 0x44], eax
lea eax, [ecx - 1]
add edx, 0x48
test ecx, eax
jne 0x476dfc
mov edx, dword [edx]
lea eax, [ecx*8 + 4]
push 0
push eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
call fcn.00405ab0
mov edx, dword [esp + 0x10]
add esp, 8
mov ecx, dword [esp + 0x4c]
add edx, 0x48
mov dword [edx], eax
mov eax, dword [edx]
test eax, eax
je 0x476e09
mov dword [eax + ecx*4], 0xffffffff
mov eax, dword [esi + 0xc]
not ecx
mov dword [esp + 0x30], eax
mov edi, dword [esp + 0x30]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 0x44]
mov dword [esp + 0x14], edx
lea eax, [edx + 1]
mov dword [edi + 0x44], eax
mov eax, edi
add eax, 0x48
mov dword [esp + 8], eax
lea eax, [edx - 1]
test edx, eax
jne 0x476e61
lea eax, [edx*8 + 4]
push 0
push eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov eax, edi
mov ecx, dword [eax]
call fcn.00405ab0
mov ecx, dword [esp + 0x10]
add esp, 8
mov edx, dword [esp + 0x14]
mov dword [ecx], eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x476e76
mov dword [eax + edx*4], 0xffffffff
not edx
mov dword [esp + 0x14], edx
mov edx, edi
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00475310
mov ecx, dword [esp + 0x20]
add esp, 4
mov eax, dword [esi + 0xc]
mov edx, dword [ecx]
cmp dword [eax + 0x30], edx
jg 0x476eb5
mov edx, dword [esp + 0x4c]
mov ecx, esi
push 0
push edx
push dword [esp + 0x18]
mov edx, 0x25
call fcn.00429830
add esp, 0xc
jmp 0x476ee7
lea eax, [edx + 1]
mov dword [ecx], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x58]
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0x25
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x1c]
mov edx, edi
push dword [esp + 0x4c]
push dword [esp + 0x18]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x58]
push eax
push 0
push 0
push dword [esp + 0x24]
call fcn.00472610
mov eax, dword [esi + 0xc]
add esp, 0x18
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x476f33
mov eax, dword [esp + 0x14]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [edx]
cmp dword [eax + 0x30], ecx
jg 0x476f5c
push 0
push dword [esp + 0xc]
mov edx, 7
mov ecx, esi
push dword [esp + 0x18]
call fcn.00429830
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x476f92
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 8]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 7
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x476fad
mov eax, dword [esp + 0x4c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [edx]
cmp dword [eax + 0x30], ecx
jle 0x4768c7
lea eax, [ecx + 1]
mov dword [edx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4], 0x70
mov cl, byte [edi + 4]
lea eax, [edi + 4]
xor eax, eax
movzx edx, cl
cmp cl, 0x74
mov ecx, dword [esp + 0x18]
setne al
push eax
push dword [esp + 0x2c]
push dword [esp + 0x34]
call fcn.00473c30
add esp, 0xc
test byte [edi + 8], 0x20
je 0x47719e
mov eax, dword [edi]
mov ecx, dword [esp + 0x40]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x18], eax
call fcn.00473960
mov edx, eax
add esp, 4
mov dword [esp + 0x28], edx
test edx, edx
jne 0x47704d
mov ecx, 7
mov dword [esp + 0x38], ecx
jmp 0x4771a2
cmp dword [esp + 0x14], 0
lea ecx, [edx + 0x14]
mov dword [esp + 0x2c], ecx
jle 0x4770d0
mov dword [esp + 8], 0
xor esi, esi
mov edx, dword [edi + 0x30]
test edx, edx
je 0x477083
mov ecx, dword [esp + 0x18]
push esi
call fcn.004756a0
mov ecx, dword [esp + 0x30]
add esp, 4
test eax, eax
jne 0x4770a0
jmp 0x477085
xor eax, eax
mov edx, dword [edi]
cmp esi, dword [edx]
jge 0x4770a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
mov edx, dword [edx + eax + 4]
call fcn.004401f0
mov ecx, dword [esp + 0x2c]
mov dword [ecx], eax
test eax, eax
jne 0x4770af
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 8]
mov dword [ecx], eax
add dword [esp + 8], 0x18
inc esi
add ecx, 4
mov dword [esp + 0x2c], ecx
cmp esi, dword [esp + 0x14]
jl 0x477065
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
nop word [eax + eax]
lea eax, [edi + 0x14]
mov dword [esp + 0x2c], 0
mov edi, dword [esp + 0x44]
add esi, 0x58
mov dword [esp + 8], eax
mov eax, dword [eax]
test eax, eax
js 0x477180
lea ecx, [eax + eax*4]
mov eax, dword [edi]
shl ecx, 2
cmp byte [eax + 0x49], 0
je 0x477105
mov eax, 0x5600c0
jmp 0x477109
mov eax, dword [esi]
add eax, ecx
mov edx, dword [esp + 0x14]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x28]
inc dword [edx]
mov eax, dword [edi]
cmp byte [eax + 0x49], 0
je 0x477137
push edx
mov edx, 0xfffffff7
mov ecx, eax
call fcn.0042a2b0
mov edx, dword [esp + 0x2c]
lea esi, [edi + 0x58]
add esp, 4
jmp 0x47715d
mov eax, dword [esi]
add eax, ecx
cmp byte [eax + 1], 0
je 0x477156
push 0xfffffffffffffff7
push edx
mov edx, eax
mov ecx, edi
call fcn.0042a4d0
mov edx, dword [esp + 0x30]
add esp, 8
jmp 0x47715d
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x2c], ecx
mov dword [eax], 0xffffffff
add eax, 4
mov dword [esp + 8], eax
cmp ecx, 2
jl 0x4770e6
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x44]
mov edi, dword [edi + 0x30]
mov dword [esp + 0x20], edi
test edi, edi
jne 0x4770d0
mov ecx, edx
call fcn.00473a10
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x58]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x477249
mov ecx, dword [esp + 0x40]
mov edx, eax
push 1
call fcn.004711a0
mov ecx, dword [esp + 0x3c]
add esp, 4
mov eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret
movzx eax, byte [edi + 4]
sub eax, 0x74
je 0x477212
sub eax, 1
je 0x47720b
sub eax, 1
je 0x477204
mov eax, str.UNION
jmp 0x477217
mov eax, str.INTERSECT
jmp 0x477217
mov eax, str.EXCEPT
jmp 0x477217
mov eax, str.UNION_ALL
push eax
test edx, edx
mov eax, str.ORDER_BY
mov edi, str.LIMIT
cmove eax, edi
push eax
push str._s_clause_should_come_after__s_not_before
push ecx
call fcn.00408830
mov eax, dword [esp + 0x68]
add esp, 0x10
mov dword [esi + 8], eax
mov ecx, 1
mov eax, dword [esp + 0x5c]
mov dword [esi + 0xc], eax
mov eax, ecx
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret