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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x5f4748]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 0x40], eax
xor ecx, ecx
push esi
inc ecx
mov esi, edx
mov eax, dword [ebx + 0x1d0]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x1d4]
mov dword [ebx + 0x1d0], eax
inc eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x5c], ecx
mov dword [ebx + 0x1d4], eax
push edi
mov edi, dword [ebx]
mov dword [esp + 0x1c], edi
test esi, esi
je 0x4908b6
cmp byte [edi + 0x40], 0
jne 0x4908b6
xor eax, eax
cmp dword [ebx + 0x40], eax
jne 0x4908b6
push eax
push eax
push eax
push 0x15
pop edx
mov ecx, ebx
call fcn.0047bd14
add esp, 0xc
test eax, eax
je 0x48f6b7
xor eax, eax
inc eax
jmp 0x4908b8
push 0x30
lea eax, [esp + 0x98]
push 0
push eax
call fcn.005533c0
mov eax, dword [esp + 0x54]
add esp, 0xc
cmp byte [eax], 8
ja 0x48f6eb
mov edx, dword [esi + 0x30]
mov ecx, edi
call fcn.00476c04
and dword [esi + 0x30], 0
mov eax, 0xfffe
and word [esi + 6], ax
push 0
mov edx, esi
mov ecx, ebx
call fcn.0048f248
pop ecx
push 7
xor eax, eax
lea edi, [esp + 0xc8]
cmp dword [ebx + 0x40], 0
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x30]
mov edi, dword [esi + 0x20]
mov ecx, dword [esi]
mov dword [esp + 0x20], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], ecx
jne 0x49086b
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x40], 0
jne 0x49086b
movzx eax, word [esi + 6]
mov ecx, ebx
shr eax, 2
and eax, 1
mov dword [esp + 0x2c], eax
call fcn.0048c7f7
mov ecx, dword [esp + 0x28]
mov edi, eax
mov dword [esp + 0x38], edi
test edi, edi
je 0x490867
cmp dword [ecx], 1
jle 0x48f775
mov edx, dword [esp + 0x48]
mov ecx, ebx
call fcn.0048b537
mov ecx, dword [esp + 0x28]
jmp 0x48f777
xor eax, eax
test eax, eax
jne 0x490867
mov dword [esp + 0x3c], eax
cmp dword [esi + 0x34], eax
jne 0x48fa6f
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx]
jge 0x48fa6f
imul eax, eax, 0x50
mov dword [esp + 0x14], eax
mov edx, dword [eax + ecx + 0x1c]
mov dword [esp + 0x34], edx
test edx, edx
je 0x48fa5c
mov edx, dword [eax + ecx + 0x20]
test edx, edx
je 0x48f7df
test byte [eax + ecx + 0x30], 4
jne 0x48fa5c
push 0
push edx
push dword [eax + ecx + 0x24]
mov ecx, edi
push 0x11
pop edx
call fcn.004698fa
mov ecx, dword [esp + 0x24]
add esp, 0xc
jmp 0x48fa5c
mov ecx, esi
call fcn.00475de1
add dword [ebx + 0x1cc], eax
mov edx, esi
mov eax, dword [esp + 0x34]
mov ecx, ebx
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
push eax
call fcn.0048dfdb
add esp, 0xc
test eax, eax
je 0x48f83a
cmp dword [esp + 0x24], 0
je 0x48f82e
push 4
pop eax
or word [esi + 6], ax
mov dword [esp + 0x2c], 1
or eax, 0xffffffff
mov dword [esp + 0x3c], eax
jmp 0x48fa23
mov edx, dword [esp + 0x18]
cmp dword [edx], 1
jne 0x48f92a
mov eax, dword [esp + 0x1c]
mov ecx, 0x100
test word [eax + 0x3c], cx
jne 0x48f92a
mov esi, dword [edi + 0x20]
mov eax, dword [ebx + 0x48]
inc esi
mov ecx, dword [esp + 0x14]
inc eax
push esi
push 0
push eax
mov dword [ebx + 0x48], eax
mov dword [ecx + edx + 0x24], eax
mov ecx, edi
push 0x14
pop edx
call fcn.004698fa
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x18]
mov eax, dword [ecx + edx + 0x24]
mov dword [ecx + edx + 0x20], esi
mov dword [esp + 0x104], eax
xor eax, eax
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], eax
mov al, byte [ebx + 0x1d4]
mov word [esp + 0x100], 0xd
mov byte [ecx + edx + 0x34], al
lea eax, [esp + 0x100]
mov edx, dword [esp + 0x34]
mov ecx, ebx
push eax
call fcn.0048f628
mov eax, dword [esp + 0x38]
pop ecx
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.00457118
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push 4
mov ecx, dword [edx + ecx + 0x18]
mov word [ecx + 0x1c], ax
mov ecx, dword [esp + 0x24]
pop eax
push 0
push 0
push dword [edx + ecx + 0x24]
or dword [edx + ecx + 0x30], eax
mov eax, dword [esp + 0x11c]
mov dword [edx + ecx + 0x28], eax
mov ecx, edi
push 0x15
pop edx
call fcn.004698fa
add esp, 0x14
lea edx, [esi - 1]
mov ecx, edi
call fcn.00469cfb
mov esi, dword [esp + 0x40]
jmp 0x48fa1b
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x48]
inc eax
push 0
push eax
push 0
mov dword [ebx + 0x48], eax
mov dword [ecx + edx + 0x24], eax
mov ecx, edi
push 0x19
pop edx
call fcn.004698fa
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
inc eax
test byte [ecx + edx + 0x30], 2
mov dword [ecx + edx + 0x20], eax
jne 0x48f97c
mov ecx, ebx
call fcn.00476ed3
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + edx + 0x38]
mov dword [esp + 0x104], eax
xor eax, eax
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], eax
mov al, byte [ebx + 0x1d4]
mov word [esp + 0x100], 0xc
mov byte [ecx + edx + 0x34], al
lea eax, [esp + 0x100]
mov edx, dword [esp + 0x34]
mov ecx, ebx
push eax
call fcn.0048f628
mov eax, dword [esp + 0x38]
pop ecx
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.00457118
mov edx, dword [esp + 0x20]
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + edx + 0x18]
mov word [ecx + 0x1c], ax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x48f9f1
mov edx, eax
mov ecx, edi
call fcn.00469cfb
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
push 0
push dword [eax + ecx + 0x24]
mov ecx, edi
push 0x12
pop edx
call fcn.004698fa
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, edi
push eax
call fcn.00469ca4
pop ecx
and dword [ebx + 0x38], 0
mov byte [ebx + 0x13], 0
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x40], 0
jne 0x490863
mov ecx, esi
call fcn.00475de1
sub dword [ebx + 0x1cc], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x18], ecx
cmp byte [eax], 8
jbe 0x48fa5c
mov eax, dword [esi + 0x30]
mov dword [esp + 0x20], eax
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x3c]
inc eax
cmp dword [esi + 0x34], 0
mov dword [esp + 0x3c], eax
je 0x48f790
mov eax, dword [esi + 0x24]
xor ecx, ecx
mov edx, dword [esi]
inc ecx
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x68], eax
mov al, byte [esi + 6]
and al, cl
mov dword [esp + 0x28], edx
cmp dword [esi + 0x34], 0
mov byte [esp + 0x13], al
mov byte [esp + 0x7c], al
je 0x48fabd
push dword [esp + 0x48]
mov edx, esi
mov ecx, ebx
call fcn.0048cdbc
mov edx, dword [esp + 0x7c]
pop ecx
mov dword [ebx + 0x1d0], edx
jmp 0x4908b8
mov al, byte [esi + 6]
and al, 5
cmp al, cl
jne 0x48fb03
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
call fcn.004793bb
pop ecx
test eax, eax
jne 0x48fb03
mov edx, dword [esi]
mov eax, 0xfffe
mov ecx, dword [esp + 0x1c]
and word [esi + 6], ax
push 0
call fcn.004766ee
mov dword [esp + 0x18], eax
mov dword [esi + 0x28], eax
xor eax, eax
pop ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0xc4], eax
jmp 0x48fb07
mov eax, dword [esp + 0x20]
test eax, eax
je 0x48fb50
push 0
push 0
mov edx, eax
mov ecx, ebx
call fcn.0048bbe4
mov edx, dword [ebx + 0x44]
mov ecx, eax
push 0xfffffffffffffffa
push ecx
push 0
lea eax, [edx + 1]
mov dword [esp + 0xe0], edx
mov dword [ebx + 0x44], eax
mov ecx, edi
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
add eax, 2
push eax
push edx
push 0x38
pop edx
call fcn.00469983
add esp, 0x1c
mov dword [esp + 0xd8], eax
jmp 0x48fb58
or dword [esp + 0xd8], 0xffffffff
mov eax, dword [esp + 0x48]
cmp byte [eax], 0xc
jne 0x48fb79
mov ecx, dword [esp + 0x28]
push 0
push dword [ecx]
mov ecx, edi
push dword [eax + 4]
push 0x38
pop edx
call fcn.004698fa
add esp, 0xc
mov ecx, edi
call fcn.00469a3a
or dword [esi + 0x18], 0xffffffff
mov edx, esi
push eax
mov ecx, ebx
mov dword [esp + 0x90], eax
mov dword [esi + 0x1c], SysReAllocString
call fcn.0048c83f
xor edx, edx
pop ecx
cmp dword [esi + 8], edx
jne 0x48fbc5
mov eax, dword [esp + 0xd8]
test eax, eax
js 0x48fbc5
mov edx, eax
mov ecx, edi
call fcn.00469f85
or byte [esp + 0xdc], 1
xor edx, edx
mov byte [eax], 0x39
test byte [esi + 6], 1
je 0x48fc35
mov esi, dword [ebx + 0x44]
mov ecx, ebx
push edx
push edx
mov edx, dword [esp + 0x48]
lea eax, [esi + 1]
mov dword [esp + 0x88], esi
mov dword [ebx + 0x44], eax
mov edx, dword [edx]
call fcn.0048bbe4
mov ecx, dword [esp + 0x40]
mov edi, eax
push 0
push 0
push esi
push 0x38
pop edx
call fcn.004698fa
add esp, 0x14
mov esi, eax
mov edx, esi
push 0xfffffffffffffffa
push edi
mov edi, dword [esp + 0x40]
mov ecx, edi
call fcn.00469ea9
pop ecx
pop ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x84], esi
test ecx, ecx
je 0x48fc2b
imul eax, dword [edi + 0x20], 0x14
mov byte [eax + ecx - 0x11], 8
mov esi, dword [esp + 0x40]
mov al, 3
xor edx, edx
jmp 0x48fc37
mov al, dl
cmp dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x7d], al
mov dword [esp + 0x34], eax
jne 0x48fd4c
test ecx, ecx
jne 0x48fd4c
xor eax, eax
mov ecx, 0x400
cmp byte [esp + 0x13], al
push edx
mov edx, dword [esp + 0x1c]
cmovne eax, ecx
movzx eax, ax
mov ecx, ebx
push eax
push dword [esi]
push dword [esp + 0x2c]
push dword [esp + 0x64]
call fcn.00499f70
add esp, 0x14
mov dword [esp + 0x40], eax
test eax, eax
je 0x490863
mov cx, word [eax + 0x20]
call fcn.004571f2
cmp edx, dword [esi + 0x1c]
ja 0x48fca8
jb 0x48fca2
cmp eax, dword [esi + 0x18]
jae 0x48fca8
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
cmp byte [esp + 0x13], 0
mov edx, dword [esp + 0x40]
je 0x48fcd5
mov eax, dword [esp + 0x34]
mov cl, byte [edx + 0x28]
movzx eax, al
test cl, cl
mov dword [esp + 0x34], eax
movzx eax, cl
mov ecx, dword [esp + 0x34]
cmovne ecx, eax
mov dword [esp + 0x34], ecx
mov byte [esp + 0x7d], cl
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x48fcf6
movsx eax, byte [edx + 0x24]
xor edx, edx
cmp eax, dword [ecx]
mov dword [esp + 0xc8], eax
cmove ecx, edx
mov dword [esp + 0xc4], ecx
mov eax, dword [esp + 0xd8]
test eax, eax
js 0x48fd0e
test ecx, ecx
jne 0x48fd0e
mov edx, eax
mov ecx, edi
call fcn.00469e35
mov eax, dword [esp + 0x40]
mov edx, esi
mov ecx, ebx
push dword [eax + 0x34]
push dword [eax + 0x30]
lea eax, [esp + 0x84]
push dword [esp + 0x50]
push eax
lea eax, [esp + 0xd4]
push eax
push 0xffffffffffffffff
push dword [esp + 0x40]
call fcn.0048b55b
mov ecx, dword [esp + 0x5c]
add esp, 0x1c
call fcn.0049a713
jmp 0x4907e3
mov dword [esp + 0x50], edx
mov dword [esp + 0x44], edx
test ecx, ecx
je 0x48fdab
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
jle 0x48fd77
add edx, 0x16
xor edi, edi
dec eax
mov word [edx], di
lea edx, [edx + 0x18]
test eax, eax
jg 0x48fd66
mov edi, dword [esp + 0x38]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
test eax, eax
jle 0x48fd94
add edx, 0x16
xor edi, edi
dec eax
mov word [edx], di
lea edx, [edx + 0x18]
test eax, eax
jg 0x48fd83
mov edi, dword [esp + 0x38]
cmp dword [esi + 0x1c], 0
push 0x64
pop eax
ja 0x48fda2
cmp dword [esi + 0x18], eax
jbe 0x48fdb5
and dword [esi + 0x1c], 0
mov dword [esi + 0x18], eax
jmp 0x48fdb5
mov dword [esi + 0x18], 1
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
call fcn.004793bb
pop ecx
xor ecx, ecx
test eax, eax
push 1
pop eax
cmove ecx, eax
mov dword [esp + 0x24], ecx
mov ecx, edi
call fcn.00469a3a
mov dword [esp + 0x3c], eax
lea edi, [esp + 0xe0]
xor eax, eax
push 8
pop ecx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x94]
mov edi, dword [esp + 0x18]
mov dword [esp + 0xec], eax
mov eax, dword [ebx + 0x48]
inc eax
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], edi
mov dword [esp + 0xa4], eax
test ecx, ecx
je 0x48fe27
mov eax, dword [ecx]
inc eax
mov dword [esp + 0xa0], eax
jmp 0x48fe2f
and dword [esp + 0xa0], 0
mov edx, dword [esp + 0x28]
mov dword [esp + 0xac], ecx
lea ecx, [esp + 0xe0]
call fcn.004797f5
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xe0]
call fcn.004797f5
mov eax, dword [esp + 0x68]
test eax, eax
je 0x48fe6c
mov edx, eax
lea ecx, [esp + 0xe0]
call fcn.004797ae
and dword [esp + 0x30], 0
cmp dword [esp + 0xc0], 0
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xb8], eax
jle 0x48fedd
mov al, byte [esp + 0xfc]
xor esi, esi
mov edi, dword [esp + 0x30]
or al, 8
lea ecx, [esp + 0xe0]
mov byte [esp + 0xfc], al
mov eax, dword [esp + 0xbc]
mov edx, dword [eax + esi]
mov edx, dword [edx + 0x14]
call fcn.004797f5
mov al, byte [esp + 0xfc]
lea esi, [esi + 0x10]
and al, 0xf7
inc edi
mov byte [esp + 0xfc], al
cmp edi, dword [esp + 0xc0]
jl 0x48fe96
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x18]
mov eax, dword [ebx + 0x48]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x40], 0
jne 0x49085d
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x49053c
mov eax, dword [ebx + 0x44]
mov edx, ecx
mov dword [esp + 0x98], eax
mov ecx, ebx
inc eax
push 0
push 0
mov dword [ebx + 0x44], eax
call fcn.0048bbe4
mov edi, dword [esp + 0x40]
mov ecx, edi
push 0xfffffffffffffffa
push eax
push 0
push dword [esp + 0xb4]
mov dword [esp + 0xa0], eax
push dword [esp + 0xb0]
push 0x39
pop edx
call fcn.00469983
mov dword [esp + 0xac], eax
add esp, 0x1c
mov eax, dword [ebx + 0x48]
mov ecx, edi
inc eax
mov dword [esp + 0x58], eax
inc eax
mov dword [esp + 0x20], eax
inc eax
mov dword [ebx + 0x48], eax
call fcn.00469a3a
inc dword [ebx + 0x48]
mov ecx, edi
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x30], eax
call fcn.00469a3a
mov ecx, dword [ebx + 0x48]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
push 0
push dword [esp + 0x24]
lea eax, [ecx + 1]
add ecx, dword [edx]
mov dword [esp + 0x7c], eax
mov dword [ebx + 0x48], ecx
push 0
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
mov eax, dword [edx]
add eax, ecx
mov ecx, edi
push 0x19
pop edx
mov dword [ebx + 0x48], eax
call fcn.004698fa
add esp, 0xc
mov ecx, edi
push 0
push dword [esp + 0x5c]
push 0
push 0x19
pop edx
call fcn.004698fa
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [ecx]
mov ecx, dword [esp + 0x74]
dec eax
add eax, ecx
push eax
push ecx
push 0
push 0x1c
pop edx
mov ecx, edi
call fcn.004698fa
add esp, 0xc
push 0
push dword [esp + 0x50]
push dword [esp + 0x38]
push 0x11
pop edx
mov ecx, edi
call fcn.004698fa
mov eax, dword [esp + 0x30]
add esp, 0xc
mov edx, dword [esp + 0x18]
neg eax
mov ecx, 0x100
sbb eax, eax
and eax, 0x800
or ax, cx
mov ecx, ebx
push 0
movzx eax, ax
push eax
push 0
push dword [esp + 0x20]
push dword [esp + 0x64]
call fcn.00499f70
mov edx, eax
add esp, 0x14
mov dword [esp + 0x54], edx
test edx, edx
je 0x490863
mov ecx, dword [esp + 0x14]
movsx eax, byte [edx + 0x24]
cmp eax, dword [ecx]
jne 0x490057
xor esi, esi
mov dword [esp + 0x60], esi
jmp 0x49023b
cmp byte [esp + 0x13], 0
je 0x490069
test byte [esi + 6], 1
mov edx, str.DISTINCT
je 0x49006e
mov edx, str.GROUP_BY
mov ecx, ebx
call fcn.0048bc91
mov esi, dword [esp + 0x14]
mov dword [esp + 0x60], 1
mov eax, dword [esi]
mov dword [esp + 0x44], eax
inc eax
mov dword [esp + 0x70], eax
mov ecx, eax
mov dword [esp + 0x5c], eax
mov edx, eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x50], eax
test eax, eax
jle 0x4900c0
mov eax, dword [esp + 0xb0]
add eax, 0xc
cmp dword [eax], edx
jl 0x4900b3
inc ecx
inc edx
add eax, 0x18
dec dword [esp + 0x50]
jne 0x4900ad
mov dword [esp + 0x5c], ecx
mov edx, ecx
mov ecx, ebx
call fcn.0047987b
mov ecx, ebx
mov dword [esp + 0x6c], eax
call fcn.00477cf9
push 0
push dword [esp + 0x70]
mov edx, esi
mov ecx, ebx
call fcn.00478b7c
mov eax, dword [esp + 0x4c]
mov ecx, edi
mov esi, dword [esp + 0x74]
add eax, esi
push 0
push eax
push dword [esp + 0xa8]
push 0x45
pop edx
call fcn.004698fa
and dword [esp + 0x58], 0
add esp, 0x14
cmp dword [esp + 0xb4], 0
jle 0x490185
mov eax, dword [esp + 0x70]
lea ecx, [esi + eax]
xor esi, esi
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0xb0]
cmp dword [edx + esi + 0xc], eax
jl 0x490170
push 0
push ecx
push dword [edx + esi + 4]
mov ecx, ebx
push dword [edx + esi + 8]
mov edx, dword [edx + esi]
call fcn.00477c6f
mov ecx, dword [esp + 0x60]
add esp, 0x10
cmp ecx, eax
je 0x490162
push 0
push ecx
push eax
push 0x22
pop edx
mov ecx, edi
call fcn.004698fa
mov ecx, dword [esp + 0x5c]
add esp, 0xc
mov eax, dword [esp + 0x70]
inc eax
inc ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x44]
add esi, 0x18
inc edx
mov dword [esp + 0x44], edx
cmp edx, dword [esp + 0xb4]
jl 0x490120
mov ecx, ebx
call fcn.0047982b
mov esi, eax
mov ecx, edi
push esi
push dword [esp + 0x60]
push dword [esp + 0x74]
push 0x30
pop edx
call fcn.004698fa
add esp, 0xc
mov ecx, edi
push 0
push esi
push dword [esp + 0xa0]
push 0x6b
pop edx
call fcn.004698fa
add esp, 0xc
mov edx, esi
mov ecx, ebx
call fcn.00479847
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0x6c]
push esi
call fcn.004798a6
pop ecx
mov ecx, dword [esp + 0x54]
call fcn.0049a713
mov edx, dword [ebx + 0x44]
mov ecx, ebx
mov dword [esp + 0x50], edx
mov dword [esp + 0x9c], edx
lea eax, [edx + 1]
mov dword [ebx + 0x44], eax
call fcn.0047982b
push esi
push eax
push edx
push 0x3a
pop edx
mov ecx, edi
mov dword [esp + 0x50], eax
call fcn.004698fa
add esp, 0xc
mov ecx, edi
push 0
push dword [esp + 0x40]
push dword [esp + 0xa0]
push 0x68
pop edx
call fcn.004698fa
add esp, 0xc
mov byte [esp + 0x95], 1
mov ecx, ebx
call fcn.00477cf9
mov edx, dword [esp + 0x54]
xor esi, esi
inc esi
cmp dword [esp + 0x24], 0
je 0x49026c
mov eax, dword [esp + 0x1c]
test byte [eax + 0x3c], 4
jne 0x49026c
test esi, esi
jne 0x490256
cmp byte [edx + 0x25], 0
je 0x49026c
mov edx, dword [esp + 0xd8]
mov ecx, edi
and dword [esp + 0xc4], 0
call fcn.00469e35
mov eax, dword [edi + 0x20]
mov ecx, ebx
mov dword [esp + 0x24], eax
call fcn.00477cf9
test esi, esi
je 0x490298
push 0
push dword [esp + 0x48]
mov ecx, edi
push dword [esp + 0xa0]
push 0x62
pop edx
call fcn.004698fa
add esp, 0xc
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x5c], ecx
cmp dword [esi], ecx
jle 0x490306
mov eax, dword [esp + 0x2c]
add eax, ecx
cmp dword [esp + 0x60], 0
push eax
je 0x4902e0
push ecx
push dword [esp + 0x58]
mov ecx, edi
push 0x2e
pop edx
call fcn.004698fa
mov ecx, dword [esp + 0x68]
add esp, 0xc
test ecx, ecx
jne 0x4902fd
mov edx, dword [edi + 4]
test edx, edx
je 0x4902fd
imul eax, dword [edi + 0x20], 0x14
mov byte [eax + edx - 0x11], 0x20
jmp 0x4902fd
imul eax, ecx, 0x18
mov ecx, ebx
mov byte [esp + 0x98], 1
mov edx, dword [esi + 4]
mov edx, dword [eax + edx]
call fcn.00478aa9
pop ecx
mov ecx, dword [esp + 0x5c]
inc ecx
mov dword [esp + 0x5c], ecx
cmp ecx, dword [esi]
jl 0x4902a6
mov eax, dword [esp + 0x88]
test eax, eax
je 0x490313
inc dword [eax]
push 0xfffffffffffffffa
push eax
push dword [esi]
mov ecx, edi
push dword [esp + 0x38]
push dword [esp + 0x84]
push 0x29
pop edx
call fcn.00469983
mov esi, dword [edi + 0x20]
add esp, 0x14
mov ecx, edi
lea eax, [esi + 1]
push eax
push 0
push eax
push 0x2a
pop edx
call fcn.004698fa
mov eax, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x2c]
mov ecx, ebx
push dword [eax]
push dword [esp + 0x78]
call fcn.00477d26
mov eax, dword [esp + 0x28]
mov ecx, edi
push 0
push dword [esp + 0x70]
inc eax
push eax
push 0x11
pop edx
call fcn.004698fa
add esp, 0x14
mov edx, 0x87
mov ecx, edi
push 0
push dword [esp + 0x40]
push dword [esp + 0x28]
call fcn.004698fa
add esp, 0xc
mov ecx, edi
push 0
push dword [esp + 0x50]
push dword [esp + 0x38]
push 0x11
pop edx
call fcn.004698fa
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.00469cfb
lea edx, [esp + 0x94]
mov ecx, ebx
call fcn.0048f3a6
xor esi, esi
mov ecx, edi
push esi
push dword [esp + 0x5c]
push 1
push 0x19
pop edx
call fcn.004698fa
add esp, 0xc
cmp dword [esp + 0x60], esi
je 0x4903f3
push esi
push dword [esp + 0x28]
mov ecx, edi
push dword [esp + 0xa0]
push 5
pop edx
call fcn.004698fa
add esp, 0xc
jmp 0x49040a
mov ecx, dword [esp + 0x54]
call fcn.0049a713
mov edx, dword [esp + 0x90]
mov ecx, edi
call fcn.00469e35
push esi
mov esi, dword [esp + 0x24]
mov ecx, edi
push dword [esp + 0x68]
lea eax, [esi + 1]
push eax
push 0x11
pop edx
call fcn.004698fa
add esp, 0xc
mov ecx, edi
push 0
push dword [esp + 0x40]
push 0
push 0x10
pop edx
call fcn.004698fa
mov edi, dword [edi + 0x20]
add esp, 0xc
push 0
push esi
mov esi, dword [esp + 0x40]
mov ecx, esi
push 1
push 0x19
pop edx
call fcn.004698fa
mov eax, dword [esp + 0x2c]
add esp, 0xc
inc eax
mov ecx, esi
push 0
push 0
push eax
push 0x12
pop edx
call fcn.004698fa
mov edx, dword [esp + 0x70]
add esp, 0xc
mov ecx, esi
call fcn.00469a77
mov esi, dword [esi + 0x20]
mov edx, 0x87
push 0
lea eax, [esi + 2]
push eax
push dword [esp + 0x60]
call fcn.004698fa
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x38]
inc eax
push 0
push 0
push eax
push 0x12
pop edx
call fcn.004698fa
add esp, 0xc
lea edx, [esp + 0x94]
mov ecx, ebx
call fcn.0048f353
mov edx, dword [esp + 0x68]
inc esi
push 8
push esi
mov ecx, ebx
call fcn.00478fa0
push edi
push esi
push dword [esp + 0x58]
mov esi, dword [esp + 0x54]
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0xdc]
mov edx, esi
push eax
push 0xffffffffffffffff
push dword [esi]
mov ecx, ebx
call fcn.0048b55b
mov eax, dword [esp + 0x44]
add esp, 0x24
mov edi, dword [esp + 0x38]
inc eax
mov ecx, edi
push 0
push 0
push eax
push 0x12
pop edx
call fcn.004698fa
mov edx, dword [esp + 0x58]
add esp, 0xc
mov ecx, edi
call fcn.00469a77
lea edx, [esp + 0x94]
mov ecx, ebx
call fcn.0048f2a2
push 0
push 0
push dword [esp + 0x38]
mov ecx, edi
push 0x12
pop edx
call fcn.004698fa
add esp, 0xc
jmp 0x4907d8
and dword [esp + 0x58], 0
lea edx, [esp + 0x94]
mov ecx, esi
call fcn.0048e5d2
mov dword [esp + 0x64], eax
test eax, eax
je 0x49068a
mov ecx, dword [ebx]
mov edi, eax
mov edx, dword [edi + 0x44]
call fcn.0048a74c
mov ecx, eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x30], eax
mov edx, ecx
inc eax
mov dword [esp + 0x24], ecx
mov dword [ebx + 0x44], eax
mov ecx, ebx
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x44], eax
call fcn.0047fc1b
push dword [edi]
mov edx, dword [esp + 0x28]
mov ecx, ebx
push 0
push dword [edi + 0x20]
call fcn.0047bdcb
add esp, 0xc
test byte [edi + 0x2c], 0x20
je 0x4905bc
mov ecx, edi
call fcn.0047c8a4
mov ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x4905c0
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi + 8]
test eax, eax
je 0x4905f4
test byte [eax + 0x38], 4
jne 0x4905e9
movzx edx, word [eax + 0x30]
cmp dx, word [edi + 0x2a]
jge 0x4905e9
cmp dword [eax + 0x24], 0
jne 0x4905e9
test ecx, ecx
je 0x4905e7
cmp dx, word [ecx + 0x30]
jge 0x4905e9
mov ecx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4905c7
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x49060c
mov eax, dword [ecx + 0x2c]
mov edx, ecx
mov ecx, ebx
mov dword [esp + 0x44], eax
call fcn.004800ed
mov dword [esp + 0x4c], eax
mov edi, dword [esp + 0x38]
mov ecx, edi
push 1
push dword [esp + 0x28]
push dword [esp + 0x4c]
push dword [esp + 0x3c]
push 0x35
pop edx
call fcn.00469a0a
mov eax, dword [esp + 0x5c]
add esp, 0x10
test eax, eax
je 0x490642
push 0xfffffffffffffffa
push eax
or edx, 0xffffffff
mov ecx, edi
call fcn.00469ea9
pop ecx
pop ecx
mov eax, dword [esp + 0xbc]
mov ecx, edi
push 0
push dword [eax + 8]
push dword [esp + 0x38]
push 0x31
pop edx
call fcn.004698fa
add esp, 0xc
mov ecx, edi
push 0
push 0
push dword [esp + 0x38]
push 0x3b
pop edx
call fcn.004698fa
mov eax, dword [esp + 0x38]
add esp, 0xc
mov edx, dword [esp + 0x64]
mov ecx, ebx
push eax
call fcn.0048f5a3
pop ecx
jmp 0x490794
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], eax
mov byte [esp + 0x13], al
cmp dword [esi + 0x2c], eax
jne 0x4906fd
lea edx, [esp + 0x30]
lea ecx, [esp + 0x94]
call fcn.0048e567
mov byte [esp + 0x13], al
test al, al
je 0x4906f5
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
push 0
call fcn.004766ee
mov edx, eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x5c], edx
pop ecx
test edx, edx
je 0x4906fd
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x40], 0
jne 0x4906fd
mov eax, dword [edx + 4]
cmp byte [esp + 0x13], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov byte [eax], 0x9a
jmp 0x4906fd
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
lea edx, [esp + 0x94]
mov ecx, ebx
call fcn.0048f2a2
mov al, byte [esp + 0x13]
mov edx, edi
push 0
movzx eax, al
mov ecx, ebx
push eax
push 0
push dword [esp + 0x58]
push dword [esp + 0x64]
call fcn.00499f70
add esp, 0x14
mov dword [esp + 0x24], eax
test eax, eax
jne 0x49074b
mov esi, dword [esp + 0x1c]
mov ecx, esi
mov edx, dword [esp + 0x58]
call fcn.00476c04
mov ecx, dword [esp + 0x28]
jmp 0x49086f
lea edx, [esp + 0x94]
mov ecx, ebx
call fcn.0048f3a6
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
cmp byte [eax + 0x24], 0
jle 0x49077f
push 0
push dword [eax + 0x34]
mov ecx, edi
push 0
push 0x10
pop edx
call fcn.004698fa
mov eax, dword [esp + 0x30]
add esp, 0xc
mov ecx, eax
call fcn.0049a713
lea edx, [esp + 0x94]
mov ecx, ebx
call fcn.0048f353
mov edx, dword [esp + 0x68]
mov ecx, ebx
and dword [esp + 0xc4], 0
push 8
push dword [esp + 0x40]
call fcn.00478fa0
mov eax, dword [esp + 0x44]
mov edx, esi
push eax
push eax
push dword [esp + 0x58]
mov ecx, ebx
push 0
push 0
push 0xffffffffffffffff
push dword [esi]
call fcn.0048b55b
mov edx, dword [esp + 0x7c]
add esp, 0x24
mov ecx, dword [esp + 0x1c]
call fcn.00476c04
mov edx, dword [esp + 0x3c]
mov ecx, edi
call fcn.00469a77
mov eax, dword [esp + 0x34]
cmp al, 3
jne 0x4907f7
mov edx, str.DISTINCT
mov ecx, ebx
call fcn.0048bc91
cmp dword [esp + 0xc4], 0
je 0x49083b
cmp dword [esp + 0xc8], 0
mov eax, str.ORDER_BY
mov edx, str.RIGHT_PART_OF_ORDER_BY
mov ecx, ebx
cmovle edx, eax
call fcn.0048bc91
mov eax, dword [esp + 0x28]
mov edx, esi
push dword [esp + 0x48]
mov ecx, ebx
push dword [eax]
lea eax, [esp + 0xcc]
push eax
call fcn.0048bd4d
add esp, 0xc
mov edx, dword [esp + 0x8c]
mov ecx, edi
call fcn.00469a77
mov edi, dword [esp + 0x18]
xor eax, eax
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x60], eax
jmp 0x490872
mov ecx, dword [esp + 0x28]
jmp 0x49086b
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
xor eax, eax
inc eax
mov edx, dword [esp + 0x78]
mov dword [ebx + 0x1d0], edx
test eax, eax
jne 0x490894
mov eax, dword [esp + 0x48]
cmp byte [eax], 9
jne 0x490894
push ecx
mov edx, edi
mov ecx, ebx
call fcn.0048c28a
pop ecx
mov edx, dword [esp + 0xb0]
mov ecx, esi
call fcn.00454220
mov edx, dword [esp + 0xbc]
mov ecx, esi
call fcn.00454220
mov eax, dword [esp + 0x60]
jmp 0x4908b8
mov eax, ecx
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054d1e7
mov esp, ebp
pop ebp
ret