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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x1d0]
mov ebx, dword [esi]
mov dword [esp + 0xc8], eax
mov eax, dword [esi + 0x1d4]
push edi
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x1d0], eax
inc eax
mov dword [esp + 0x30], 1
mov dword [esi + 0x1d4], eax
mov dword [esp + 0x14], ebx
test edi, edi
je 0x47b120
cmp byte [ebx + 0x40], 0
jne 0x47b120
cmp dword [esi + 0x40], 0
jne 0x47b120
push 0
push 0
push 0
push 0x15
mov eax, esi
call fcn.00458bc0
add esp, 0x10
test eax, eax
jne 0x47b120
push 0x30
push eax
lea ecx, [esp + 0xa4]
push ecx
call fcn.00499a80
mov edx, dword [ebp + 0x10]
add esp, 0xc
cmp byte [edx], 8
ja 0x4797d1
mov eax, dword [edi + 0x30]
push eax
push ebx
call fcn.00450950
mov ecx, 0xfffe
add esp, 8
and word [edi + 6], cx
mov dword [edi + 0x30], 0
push 0
push edi
push esi
call fcn.00478ed0
mov edx, dword [edi + 0x30]
mov ecx, dword [edi]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov eax, dword [edi + 0x20]
add esp, 0xc
cmp dword [esi + 0x40], 0
mov dword [esp + 0x70], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], ecx
jne 0x479871
cmp byte [ebx + 0x40], 0
jne 0x479871
movzx eax, word [edi + 6]
shr eax, 2
and eax, 1
mov dword [esp + 0x34], eax
mov eax, esi
call fcn.00473cf0
mov dword [esp + 0xc], eax
test eax, eax
je 0x479871
mov ecx, dword [esp + 0x48]
cmp dword [ecx], 1
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx]
jle 0x479878
cmp eax, 0xa
je 0x479863
cmp eax, 0xb
jne 0x479878
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push esi
call fcn.00421850
add esp, 8
mov edi, ebx
jmp 0x47b041
xor eax, eax
mov dword [esp + 0x4c], eax
cmp dword [edi + 0x34], eax
jne 0x479b4a
jmp 0x479894
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
cmp eax, dword [edx]
jge 0x479b4a
lea eax, [eax + eax*4]
add eax, eax
mov ecx, edx
lea ebx, [ecx + eax*8 + 8]
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x18], eax
test eax, eax
je 0x479b37
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x4798e6
test byte [ebx + 0x28], 4
jne 0x479b37
mov edx, dword [ebx + 0x1c]
mov esi, dword [esp + 0xc]
push eax
push edx
push 0x11
call fcn.0043cf90
mov esi, dword [ebp + 8]
add esp, 0xc
jmp 0x479b37
mov eax, dword [ebp + 0xc]
lea edi, [esp + 0x24]
mov dword [esp + 0x24], 0
call fcn.0044f360
mov eax, dword [esp + 0x24]
add dword [esi + 0x1cc], eax
mov ecx, dword [esp + 0x18]
movzx edi, word [ecx + 6]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x4c]
shr edi, 2
and edi, 1
push edi
push edx
push eax
mov eax, dword [ebp + 0xc]
push esi
call fcn.00477490
add esp, 0x10
test eax, eax
je 0x47994e
test edi, edi
je 0x479941
mov eax, dword [ebp + 0xc]
or word [eax + 6], 4
mov dword [esp + 0x34], 1
mov dword [esp + 0x4c], 0xffffffff
jmp 0x479af3
mov ecx, dword [esp + 0x3c]
cmp dword [ecx], 1
jne 0x479a19
mov eax, dword [esp + 0x14]
mov edx, 0x100
test word [eax + 0x3c], dx
jne 0x479a19
mov ecx, dword [esp + 0xc]
mov edi, dword [ecx + 0x20]
mov eax, dword [esi + 0x48]
inc edi
push edi
inc eax
push 0
mov dword [esi + 0x48], eax
push eax
push 0x14
mov esi, ecx
mov dword [ebx + 0x1c], eax
call fcn.0043ce80
mov eax, dword [ebx + 0x1c]
mov esi, dword [esp + 0x28]
mov dword [ebx + 0x18], edi
mov dword [esp + 0xe4], eax
xor eax, eax
lea edx, [esp + 0xe0]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x1d4]
push edx
push esi
mov word [esp + 0xe8], 0xd
push eax
mov byte [ebx + 0x2c], cl
call fcn.00479720
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
add esp, 0x1c
push eax
push ecx
call fcn.00422c40
mov edx, dword [ebx + 0x10]
mov esi, dword [esp + 0x14]
mov word [edx + 0x1c], ax
mov ecx, dword [ebx + 0x1c]
or dword [ebx + 0x28], 4
mov eax, dword [esp + 0xe0]
push ecx
push 0x15
mov dword [ebx + 0x20], eax
call fcn.0043cf30
add esp, 0x10
lea eax, [edi - 1]
mov edx, esi
call fcn.0043d4c0
jmp 0x479ae3
mov eax, dword [esi + 0x48]
inc eax
push eax
mov dword [esi + 0x48], eax
mov esi, dword [esp + 0x10]
push 0
push 0x19
mov dword [esp + 0x30], 0
mov dword [ebx + 0x1c], eax
call fcn.0043cf90
mov edi, eax
add esp, 0xc
test byte [ebx + 0x28], 2
lea edx, [edi + 1]
mov dword [ebx + 0x18], edx
jne 0x479a56
mov eax, dword [ebp + 8]
call fcn.00450eb0
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x30]
mov esi, dword [esp + 0x18]
mov dword [esp + 0xd4], eax
xor eax, eax
lea edx, [esp + 0xd0]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x1d4]
push edx
push esi
mov word [esp + 0xd8], 0xc
push eax
mov byte [ebx + 0x2c], cl
call fcn.00479720
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
add esp, 0xc
push eax
push ecx
call fcn.00422c40
mov edx, dword [ebx + 0x10]
mov esi, dword [esp + 0x14]
mov word [edx + 0x1c], ax
mov eax, dword [esp + 0x2c]
add esp, 8
test eax, eax
je 0x479ac6
mov edx, esi
call fcn.0043d4c0
mov eax, dword [ebx + 0x1c]
push eax
push 0x12
call fcn.0043cf30
add esp, 8
cmp dword [esi + 0x20], edi
jbe 0x479ae3
mov edx, dword [esi + 4]
lea ecx, [edi + edi*4]
mov dword [edx + ecx*4 + 4], eax
mov eax, dword [ebp + 8]
mov esi, eax
mov dword [eax + 0x38], 0
mov byte [eax + 0x13], 0
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x40], 0
jne 0x47b03f
mov ebx, dword [ebp + 0xc]
lea edi, [esp + 0x24]
mov eax, ebx
mov dword [esp + 0x24], 0
call fcn.0044f360
mov ecx, dword [esp + 0x24]
sub dword [esi + 0x1cc], ecx
mov eax, dword [ebp + 0x10]
cmp byte [eax], 8
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x3c], edx
jbe 0x479b37
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x70], ecx
mov edx, dword [ebp + 0xc]
inc dword [esp + 0x4c]
cmp dword [edx + 0x34], 0
mov edi, edx
je 0x479890
mov ecx, dword [edi + 0x24]
mov bl, byte [edi + 6]
mov eax, dword [edi]
mov edx, dword [edi + 0x28]
mov dword [esp + 0x40], ecx
mov ecx, dword [edi + 0x2c]
and bl, 1
cmp dword [edi + 0x34], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], ecx
mov byte [esp + 0x8c], bl
je 0x479b9c
mov edx, dword [ebp + 0x10]
push edx
mov ecx, edi
mov edx, esi
call fcn.00474660
mov ecx, dword [esp + 0xd0]
add esp, 4
mov dword [esi + 0x1d0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dl, byte [edi + 6]
and dl, 5
cmp dl, 1
jne 0x479ce9
mov edi, dword [esp + 0x70]
push 0xffffffffffffffff
push eax
call fcn.004547f0
add esp, 8
test eax, eax
jne 0x479ce9
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi]
mov edx, dword [esp + 0x14]
push 0
push ecx
mov eax, 0xfffe
and word [edi + 6], ax
push edx
call fcn.00450060
add esp, 0xc
mov dword [edi + 0x28], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x84], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0xc
mov edi, dword [ebp + 0xc]
jne 0x479c21
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
mov esi, dword [esp + 0xc]
push edx
push eax
push 0x39
call fcn.0043cf90
mov esi, dword [ebp + 8]
add esp, 0xc
mov eax, dword [esp + 0xc]
call fcn.0043d1f0
push eax
mov dword [esp + 0x108], eax
push edi
mov eax, esi
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 0x7fffffff
call fcn.00473d40
add esp, 8
cmp dword [edi + 8], 0
jne 0x479c76
cmp dword [esp + 0x84], 0
jl 0x479c76
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0xc]
call fcn.0043d860
or byte [esp + 0x88], 1
mov byte [eax], 0x3a
test byte [edi + 6], 1
je 0x479d4a
mov eax, dword [esi + 0x44]
push 0xfffffffffffffffa
mov edi, eax
push ecx
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [esi + 0x44], eax
mov eax, dword [ecx]
push 0
push esi
xor ebx, ebx
mov dword [esp + 0xa0], edi
call fcn.004727e0
mov esi, dword [esp + 0x1c]
add esp, 0xc
push eax
push ebx
push ebx
push edi
push 0x39
call fcn.0043cff0
mov ecx, esi
mov dword [esp + 0xac], eax
mov eax, dword [ecx + 4]
add esp, 0x18
test eax, eax
je 0x479cd2
mov ecx, dword [ecx + 0x20]
lea edx, [ecx + ecx*4]
mov byte [eax + edx*4 - 0x11], 8
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov bl, byte [esp + 0x8c]
mov byte [esp + 0x8d], 3
jmp 0x479d52
cmp dword [esp + 0x70], 0
je 0x479bef
mov edi, dword [esp + 0x70]
push 0
push esi
xor ebx, ebx
mov eax, edi
call fcn.004727e0
mov ecx, dword [esi + 0x44]
push 0xfffffffffffffffa
push eax
mov eax, dword [esp + 0x58]
lea edx, [ecx + 1]
mov dword [esi + 0x44], edx
mov edx, dword [eax]
mov eax, dword [edi]
mov esi, dword [esp + 0x1c]
push ebx
lea edx, [edx + eax + 1]
push edx
push ecx
push 0x39
mov dword [esp + 0x98], ecx
call fcn.0043cff0
mov esi, dword [ebp + 8]
mov bl, byte [esp + 0xac]
add esp, 0x20
mov dword [esp + 0x84], eax
jmp 0x479bfa
mov byte [esp + 0x8d], 0
mov edx, dword [esp + 0x1c]
xor eax, eax
cmp dword [esp + 0x34], eax
jne 0x479e54
cmp edx, eax
jne 0x479e54
mov ecx, dword [edi]
mov edx, dword [esp + 0x70]
push eax
movzx eax, bl
neg eax
sbb eax, eax
and eax, 0x400
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push ecx
push esi
call fcn.0048a4f0
mov ebx, eax
add esp, 0x1c
mov dword [esp + 0x64], ebx
test ebx, ebx
je 0x47af8e
mov ax, word [ebx + 0x20]
call fcn.00422cf0
cmp edx, dword [edi + 0x1c]
ja 0x479dbc
jb 0x479db6
cmp eax, dword [edi + 0x18]
jae 0x479dbc
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], edx
cmp byte [esp + 0x8c], 0
je 0x479dd4
mov al, byte [ebx + 0x28]
test al, al
je 0x479dd4
mov byte [esp + 0x8d], al
mov eax, dword [esp + 0x70]
test eax, eax
je 0x479df4
movsx ecx, byte [ebx + 0x24]
mov dword [esp + 0x74], ecx
cmp ecx, dword [eax]
jne 0x479df4
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x84], 0
jl 0x479e19
test eax, eax
jne 0x479e19
mov ebx, dword [esp + 0x84]
mov edi, dword [esp + 0xc]
call fcn.0043d660
mov edi, dword [ebp + 0xc]
mov ebx, dword [esp + 0x64]
mov edx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebp + 0x10]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x80]
push eax
push 0xffffffffffffffff
push ecx
push edi
push esi
call fcn.00471c30
add esp, 0x24
push ebx
call fcn.0048af40
add esp, 4
jmp 0x47ac83
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
cmp edx, eax
je 0x479eb9
mov ecx, dword [edi]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
test eax, eax
jle 0x479e7f
add ecx, 0x16
xor ebx, ebx
mov word [ecx], bx
dec eax
add ecx, 0x18
test eax, eax
jg 0x479e72
mov eax, dword [edx]
mov ecx, dword [edx + 4]
test eax, eax
jle 0x479e9d
add ecx, 0x16
jmp 0x479e90
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x18
test eax, eax
jg 0x479e90
cmp dword [edi + 0x1c], 0
ja 0x479ea9
cmp dword [edi + 0x18], 0x64
jbe 0x479ec3
mov dword [edi + 0x18], 0x64
mov dword [edi + 0x1c], 0
jmp 0x479ec3
mov dword [edi + 0x18], 1
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x1c]
push 0xffffffffffffffff
push eax
call fcn.004547f0
add esp, 8
test eax, eax
jne 0x479ee2
mov dword [esp + 0x2c], 1
mov eax, dword [esp + 0xc]
call fcn.0043d1f0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xe8], ecx
mov ecx, dword [esi + 0x48]
inc ecx
lea edx, [esp + 0x9c]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0xe4], esi
mov dword [esp + 0xf0], edx
mov dword [esp + 0xac], ecx
cmp edi, eax
je 0x479f63
mov edx, dword [edi]
mov dword [esp + 0xa8], edx
jmp 0x479f6a
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
lea ecx, [esp + 0xe4]
push ecx
mov dword [esp + 0xb8], eax
call fcn.00454d90
mov ebx, dword [esp + 0x74]
lea edx, [esp + 0xe8]
add esp, 4
push edx
call fcn.00454d90
mov ecx, dword [esp + 0x28]
xor edi, edi
add esp, 4
cmp ecx, edi
je 0x479fb7
lea eax, [esp + 0xe4]
push eax
call fcn.00454d50
add esp, 4
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0xc0], ecx
cmp dword [esp + 0xc8], edi
jle 0x47a026
mov dword [esp + 0x38], edi
jmp 0x479fe0
mov edx, dword [esp + 0xc4]
or word [esp + 0x100], 8
mov eax, dword [esp + 0x38]
mov ecx, dword [edx + eax]
mov ebx, dword [ecx + 0x14]
lea edx, [esp + 0xe4]
push edx
call fcn.00454d90
add dword [esp + 0x3c], 0x10
mov eax, 0xfff7
and word [esp + 0x104], ax
inc edi
add esp, 4
cmp edi, dword [esp + 0xc8]
jl 0x479fe0
mov ecx, dword [esi + 0x48]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xb0], ecx
cmp byte [edx + 0x40], 0
jne 0x47b033
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x47ad0a
mov ecx, dword [esi + 0x44]
mov dword [esp + 0xa0], ecx
inc ecx
push 0
push esi
xor ebx, ebx
mov dword [esi + 0x44], ecx
call fcn.004727e0
mov ecx, dword [esp + 0xa8]
mov esi, dword [esp + 0x14]
push 0xfffffffffffffffa
push eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xb8]
push ebx
push eax
push ecx
push 0x3a
call fcn.0043cff0
mov edi, dword [ebp + 8]
mov dword [esp + 0x64], eax
mov ebx, 1
add dword [edi + 0x48], ebx
mov eax, dword [edi + 0x48]
mov dword [esp + 0x74], eax
inc eax
mov dword [esp + 0x88], eax
inc eax
mov dword [esp + 0x58], eax
mov dword [edi + 0x48], eax
mov eax, esi
call fcn.0043d1f0
add dword [edi + 0x48], ebx
mov edx, dword [edi + 0x48]
mov dword [esp + 0x70], eax
mov eax, esi
mov dword [esp + 0x48], edx
call fcn.0043d1f0
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x78], eax
mov eax, dword [edi + 0x48]
lea ecx, [eax + 1]
add eax, dword [ebx]
mov dword [esp + 0xb8], ecx
mov dword [edi + 0x48], eax
mov edx, dword [ebx]
lea ecx, [eax + 1]
add edx, eax
mov eax, dword [esp + 0x88]
push eax
push 0
push 0x19
mov dword [esp + 0x98], ecx
mov dword [edi + 0x48], edx
call fcn.0043cf90
mov ecx, dword [esp + 0x80]
add esp, 0x2c
push ecx
push 0
push 0x19
call fcn.0043cf90
mov eax, dword [esp + 0xa4]
mov edx, dword [ebx]
add esp, 0xc
lea ecx, [edx + eax - 1]
push ecx
push eax
push 0
push 0x1c
call fcn.0043ce80
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x38]
push edx
push eax
push 0x11
call fcn.0043cf90
mov ecx, dword [esp + 0x48]
add esp, 0x1c
neg ecx
push 0
sbb ecx, ecx
and ecx, 0x800
mov edx, 0x100
or cx, dx
mov edx, dword [esp + 0x40]
movzx eax, cx
mov ecx, dword [esp + 0x44]
push eax
push 0
push ebx
push ecx
push edx
push edi
call fcn.0048a4f0
add esp, 0x1c
mov dword [esp + 0x64], eax
test eax, eax
je 0x47b037
movsx ecx, byte [eax + 0x24]
mov edx, ebx
cmp ecx, dword [edx]
jne 0x47a199
xor ebx, ebx
mov dword [esp + 0x40], ebx
jmp 0x47a512
cmp byte [esp + 0x8c], 0
je 0x47a1b1
mov eax, dword [ebp + 0xc]
test byte [eax + 6], 1
mov eax, str.DISTINCT
je 0x47a1b6
mov eax, str.GROUP_BY
mov ecx, edi
call fcn.004728a0
cmp dword [esp + 0xbc], 0
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ecx]
mov dword [esp + 0x40], 1
mov eax, ebx
mov dword [esp + 0x60], ebx
mov ecx, ebx
jle 0x47a20f
mov edx, dword [esp + 0xb8]
add edx, 0xc
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x18]
cmp dword [edx], ecx
jl 0x47a200
inc eax
inc ecx
add dword [esp + 0x18], 0x18
dec dword [esp + 0x20]
jne 0x47a1f6
mov dword [esp + 0x60], eax
mov ecx, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
mov dword [esp + 0x30], edx
cmp eax, ecx
jg 0x47a229
add edx, eax
sub ecx, eax
mov dword [edi + 0x3c], edx
mov dword [edi + 0x38], ecx
jmp 0x47a238
mov ecx, dword [edi + 0x48]
lea edx, [ecx + 1]
add ecx, eax
mov dword [esp + 0x30], edx
mov dword [edi + 0x48], ecx
mov eax, edi
call fcn.00452750
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
push eax
push edi
xor cl, cl
call fcn.00453be0
add esp, 8
cmp dword [esp + 0xbc], 0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x4c], 0
jle 0x47a31f
add ebx, dword [esp + 0x30]
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + edx + 0xc]
cmp ecx, dword [esp + 0x20]
jl 0x47a304
mov edi, dword [ebp + 8]
push 0
mov ecx, edx
mov edx, dword [eax + ecx + 4]
push ebx
push edx
mov edx, dword [eax + ecx + 8]
mov eax, dword [eax + ecx]
push edx
push eax
call fcn.004526b0
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x10], ecx
cmp ebx, ecx
je 0x47a2f5
mov edi, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x54], edi
jg 0x47a2d2
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47a2f5
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 4]
inc dword [esi + 0x20]
lea eax, [edi + edi*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x22
inc dword [esp + 0x20]
mov eax, dword [esp + 0xb8]
mov edi, dword [ebp + 8]
inc ebx
mov ecx, dword [esp + 0x4c]
add dword [esp + 0x18], 0x18
inc ecx
mov dword [esp + 0x4c], ecx
cmp ecx, dword [esp + 0xbc]
jl 0x47a280
mov al, byte [edi + 0x13]
test al, al
jne 0x47a32e
inc dword [edi + 0x48]
mov ebx, dword [edi + 0x48]
jmp 0x47a33a
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov ebx, dword [edi + eax*4 + 0x18]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x10], eax
cmp dword [ecx + 0x54], eax
jg 0x47a35a
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47a387
mov eax, dword [esp + 0x10]
inc dword [esi + 0x20]
mov ecx, dword [esp + 0x30]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x60]
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 0
mov word [eax], 0x31
mov eax, dword [esp + 0xa0]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x10], eax
cmp dword [ecx + 0x54], eax
jg 0x47a3b2
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47a3d9
mov eax, dword [esp + 0x10]
inc dword [esi + 0x20]
mov ecx, dword [esp + 0x20]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x6d
test ebx, ebx
je 0x47a408
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x47a408
xor eax, eax
lea ecx, [edi + 0x74]
lea ebx, [ebx]
cmp dword [ecx + 0xc], ebx
je 0x47a45f
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x47a3f0
movzx edx, dl
mov dword [edi + edx*4 + 0x18], ebx
inc byte [edi + 0x13]
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x30]
mov eax, ebx
call fcn.00452320
mov eax, dword [esp + 0x60]
cmp eax, dword [ebx + 0x38]
jle 0x47a42b
mov ecx, eax
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], edi
mov edx, dword [esp + 0x64]
push edx
call fcn.0048af40
mov edi, dword [ebx + 0x44]
lea eax, [edi + 1]
mov dword [ebx + 0x44], eax
mov al, byte [ebx + 0x13]
add esp, 4
mov dword [esp + 0x20], edi
mov dword [esp + 0xa4], edi
test al, al
jne 0x47a465
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
mov dword [esp + 0x18], ecx
jmp 0x47a475
mov byte [ecx + 6], 1
jmp 0x47a408
dec al
movzx edx, al
mov byte [ebx + 0x13], al
mov eax, dword [ebx + edx*4 + 0x18]
mov dword [esp + 0x18], eax
mov ebx, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x54], ebx
jg 0x47a48d
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47a4ba
mov eax, dword [esi + 4]
inc dword [esi + 0x20]
mov ecx, dword [esp + 0x18]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x60]
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov word [eax], 0x3c
mov ebx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
mov edi, dword [esp + 0xa0]
cmp dword [eax + 0x54], ebx
jg 0x47a4d9
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47a500
mov edx, dword [esi + 4]
inc dword [esi + 0x20]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x6a
mov eax, dword [ebp + 8]
mov byte [esp + 0x9d], 1
call fcn.00452750
xor ebx, ebx
cmp dword [esp + 0x2c], ebx
je 0x47a57c
mov edx, dword [esp + 0x14]
test byte [edx + 0x3c], 4
jne 0x47a57c
cmp dword [esp + 0x40], ebx
jne 0x47a531
mov eax, dword [esp + 0x64]
cmp byte [eax + 0x25], bl
je 0x47a57c
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x70], ebx
cmp ecx, dword [esi + 0x20]
jge 0x47a57c
mov eax, ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
mov ecx, dword [eax + edx*4 + 0x10]
lea edi, [eax + edx*4]
movsx eax, byte [edi + 1]
mov edx, dword [esi]
call fcn.0043d4e0
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov byte [edi], 0x9a
mov eax, dword [esi + 0x20]
dec eax
cmp dword [esp + 0x84], eax
jne 0x47a57c
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x20]
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], ecx
call fcn.00452750
cmp dword [esp + 0x40], ebx
je 0x47a5e0
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x10], edx
cmp dword [eax + 0x54], edi
jg 0x47a5b4
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47a5e0
mov edx, dword [esi + 4]
inc dword [esi + 0x20]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov word [eax], 0x64
mov ecx, dword [esp + 0x1c]
xor edi, edi
cmp dword [ecx], ebx
jle 0x47a682
mov dword [esp + 0x2c], ebx
cmp dword [esp + 0x40], ebx
je 0x47a645
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x10], eax
cmp dword [edx + 0x54], eax
jg 0x47a618
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47a670
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x20]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], edx
lea edx, [edi + ecx]
mov byte [eax + 3], bl
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov word [eax], 0x2f
jmp 0x47a670
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x1c]
lea ecx, [edi + eax]
push ecx
mov ecx, dword [esp + 0x30]
mov byte [esp + 0xa0], 1
mov eax, dword [edx + 4]
mov edx, dword [eax + ecx]
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.00453a00
add esp, 0xc
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x2c], 0x18
inc edi
cmp edi, dword [ecx]
jl 0x47a5f2
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x47a68c
inc dword [eax]
mov edi, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov ecx, dword [ecx]
mov dword [esp + 0x10], ecx
cmp dword [edx + 0x54], edi
jg 0x47a6b1
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
je 0x47a6b1
mov edi, 1
jmp 0x47a6e0
mov ecx, dword [esi + 4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x98]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x10]
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov word [eax], 0x2a
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, edi
cmp ecx, ebx
je 0x47a726
cmp byte [edx + 0x40], bl
jne 0x47a726
cmp edi, ebx
jge 0x47a6f8
mov eax, dword [esi + 0x20]
dec eax
lea eax, [eax + eax*4]
lea edi, [ecx + eax*4]
movsx eax, byte [edi + 1]
mov ecx, dword [edi + 0x10]
call fcn.0043d4e0
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x10], ebx
cmp eax, ebx
jne 0x47a71d
mov dword [edi + 0x10], ebx
mov byte [edi + 1], bl
jmp 0x47a734
mov dword [edi + 0x10], eax
mov byte [edi + 1], 0xfa
jmp 0x47a734
mov ecx, dword [esp + 0x5c]
mov eax, 0xfffffffa
call fcn.0043d4e0
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x2c], edi
cmp dword [ecx + 0x54], edi
jg 0x47a750
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47a775
mov eax, dword [esi + 4]
inc dword [esi + 0x20]
mov ecx, dword [esp + 0x2c]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
inc ecx
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov word [eax], 0x2b
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
mov edi, dword [eax + 8]
mov edx, dword [ecx]
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x10], eax
cmp dword [ecx + 0x54], eax
jg 0x47a7a5
push edi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47a7d4
mov eax, dword [esp + 0x10]
inc dword [edi + 0x20]
mov ecx, dword [esp + 0x6c]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x98]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov word [eax], 0x20
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x6c]
mov eax, dword [ebp + 8]
call fcn.00452320
mov edi, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x54], edi
jg 0x47a7fc
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47a824
mov ecx, dword [esi + 4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x38]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x50]
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 word [eax], 0x11
mov edi, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x54], edi
jg 0x47a83c
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47a864
mov ecx, dword [esi + 4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x68]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x34]
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 word [eax], 0x89
mov edi, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x54], edi
jg 0x47a87c
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47a8a4
mov ecx, dword [esi + 4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x28]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x58]
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 word [eax], 0x11
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jbe 0x47a8b9
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 4]
mov dword [ecx + edx*4 + 8], eax
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec edx
lea ecx, [esp + 0x9c]
mov dword [eax + 0x58], edx
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.00479130
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
add esp, 8
cmp dword [eax + 0x54], edi
jg 0x47a8ef
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47a918
mov eax, dword [esi + 4]
mov ecx, 1
add dword [esi + 0x20], ecx
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x54]
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x19
cmp dword [esp + 0x40], ebx
je 0x47a96b
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x10], edx
cmp dword [eax + 0x54], edi
jg 0x47a941
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47a9b9
mov edx, dword [esi + 4]
inc dword [esi + 0x20]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
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 word [eax], 5
jmp 0x47a9b9
mov eax, dword [esp + 0x64]
push eax
call fcn.0048af40
mov ecx, dword [esp + 0x48]
add esp, 4
cmp ecx, dword [esi + 0x20]
jge 0x47a9b9
mov eax, ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
mov ecx, dword [eax + edx*4 + 0x10]
lea edi, [eax + edx*4]
movsx eax, byte [edi + 1]
mov edx, dword [esi]
call fcn.0043d4e0
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov byte [edi], 0x9a
mov eax, dword [esi + 0x20]
dec eax
cmp dword [esp + 0x44], eax
jne 0x47a9b9
mov dword [esi + 0x20], eax
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x54], edi
jg 0x47a9d1
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47a9f9
mov eax, dword [esi + 4]
inc dword [esi + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x50]
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 word [eax], 0x11
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], edi
jg 0x47aa11
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47aa35
mov edx, dword [esi + 4]
inc dword [esi + 0x20]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x34]
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x10
mov edi, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x44], edi
cmp dword [edx + 0x54], edi
jg 0x47aa51
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47aa7a
mov edx, dword [esi + 4]
mov ecx, 1
add dword [esi + 0x20], ecx
lea eax, [edi + edi*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x68]
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x19
mov edi, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x54], edi
jg 0x47aa92
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47aab6
mov ecx, dword [esi + 4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x38]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
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 word [eax], 0x12
mov ecx, dword [esi + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x50]
js 0x47aacf
mov edx, dword [ecx + 0x70]
cmp edx, ebx
je 0x47aacf
mov edi, dword [esi + 0x20]
mov dword [edx + eax*4], edi
mov eax, dword [esi + 0x20]
dec eax
mov dword [ecx + 0x58], eax
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x54], edi
jg 0x47aaee
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47ab15
mov eax, dword [esi + 4]
inc dword [esi + 0x20]
mov ecx, dword [esp + 0x54]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
lea edx, [edi + 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 word [eax], 0x89
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x10], eax
cmp dword [ecx + 0x54], eax
jg 0x47ab35
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47ab59
mov eax, dword [esp + 0x10]
inc dword [esi + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
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 word [eax], 0x12
mov eax, dword [ebp + 8]
lea edx, [esp + 0x9c]
push edx
call fcn.00479030
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 8]
add esp, 4
push 0x10
inc edi
push edi
push eax
push ecx
call fcn.00454270
mov edx, dword [esp + 0x54]
mov eax, dword [ebp + 0x10]
push edx
push edi
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0xa8]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x90]
push edx
mov edx, dword [ebp + 8]
push 0xffffffffffffffff
push ecx
push eax
push edx
call fcn.00471c30
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
add esp, 0x34
cmp dword [eax + 0x54], edi
jg 0x47abc5
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47abe9
mov edx, dword [esi + 4]
inc dword [esi + 0x20]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x38]
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 word [eax], 0x12
mov ecx, dword [esi + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x58]
js 0x47ac02
mov edx, dword [ecx + 0x70]
cmp edx, ebx
je 0x47ac02
mov edi, dword [esi + 0x20]
mov dword [edx + eax*4], edi
mov edx, dword [esi + 0x20]
dec edx
lea eax, [esp + 0x9c]
mov dword [ecx + 0x58], edx
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.00478f40
mov edi, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
add esp, 8
cmp dword [edx + 0x54], edi
jg 0x47ac35
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47ac59
mov ecx, dword [esi + 4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x28]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
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 word [eax], 0x12
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0xc]
mov ecx, dword [edi + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x34]
js 0x47ac79
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x47ac79
mov ebx, dword [edi + 0x20]
mov dword [edx + eax*4], ebx
mov edx, dword [edi + 0x20]
mov edi, dword [ebp + 0xc]
dec edx
mov dword [ecx + 0x58], edx
cmp byte [esp + 0x8d], 3
mov ebx, dword [esp + 0xc]
jne 0x47ac9d
mov eax, str.DISTINCT
mov ecx, esi
call fcn.004728a0
cmp dword [esp + 0x70], 0
je 0x47acd6
cmp dword [esp + 0x74], 0
mov eax, str.RIGHT_PART_OF_ORDER_BY
jg 0x47acb5
mov eax, str.ORDER_BY
mov ecx, esi
call fcn.004728a0
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
push eax
push edx
lea eax, [esp + 0x78]
push eax
push edi
push esi
call fcn.00472aa0
add esp, 0x14
mov ecx, dword [ebx + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x104]
js 0x47acf2
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x47acf2
mov edi, dword [ebx + 0x20]
mov dword [edx + eax*4], edi
mov edx, dword [ebx + 0x20]
mov edi, dword [esp + 0x14]
dec edx
mov dword [ecx + 0x58], edx
mov dword [esp + 0x30], 0
jmp 0x47b041
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x50], 0
call fcn.00477b60
mov ebx, eax
test ebx, ebx
je 0x47aee4
mov edi, dword [ebp + 8]
mov esi, dword [ebx + 0x44]
mov ecx, dword [edi]
call fcn.00470330
mov ecx, dword [edi + 0x44]
mov dword [esp + 0x58], ecx
inc ecx
mov dword [edi + 0x44], ecx
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x68], eax
xor esi, esi
mov ecx, eax
mov eax, edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x54], esi
call fcn.0045ebf0
mov edx, dword [ebx]
mov eax, dword [ebx + 0x20]
mov ecx, dword [esp + 0x68]
push edx
push esi
push eax
push ecx
mov eax, edi
call fcn.00458c50
add esp, 0x10
test byte [ebx + 0x2c], 0x20
je 0x47ad8b
mov eax, ebx
call fcn.0045a0d0
mov esi, eax
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 8]
test eax, eax
je 0x47adbf
test byte [eax + 0x38], 4
jne 0x47adb4
movzx ecx, word [eax + 0x30]
cmp cx, word [ebx + 0x2a]
jge 0x47adb4
cmp dword [eax + 0x24], 0
jne 0x47adb4
test esi, esi
je 0x47adb2
cmp cx, word [esi + 0x30]
jge 0x47adb4
mov esi, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47ad92
mov dword [esp + 0x54], esi
test esi, esi
je 0x47add8
mov edx, dword [esi + 0x2c]
push esi
push edi
mov dword [esp + 0x4c], edx
call fcn.0045f6b0
add esp, 8
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0xc]
push 1
push eax
push ecx
push edx
push 0x36
mov eax, esi
call fcn.0043d140
mov ecx, dword [esp + 0x3c]
add esp, 0x14
test ecx, ecx
je 0x47ae3e
mov edi, dword [esi + 4]
mov edx, dword [esi]
test edi, edi
je 0x47ae34
cmp byte [edx + 0x40], 0
jne 0x47ae34
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4 - 5]
mov ecx, dword [edi + eax*4 + 0x10]
lea edi, [edi + eax*4]
movsx eax, byte [edi + 1]
call fcn.0043d4e0
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x10], ecx
mov byte [edi + 1], 0xfa
jmp 0x47ae3e
mov eax, 0xfffffffa
call fcn.0043d4e0
mov edx, dword [esp + 0xc4]
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
mov eax, dword [edx + 8]
mov dword [esp + 0x10], eax
cmp dword [ecx + 0x54], edi
jg 0x47ae64
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47ae8f
mov eax, dword [esi + 4]
inc dword [esi + 0x20]
mov ecx, dword [esp + 0x58]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x32
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], edi
jg 0x47aea7
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x47aece
mov edx, dword [esi + 4]
inc dword [esi + 0x20]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x3d
mov eax, dword [esp + 0x54]
mov ecx, dword [ebp + 8]
mov edx, ebx
call fcn.00479610
mov esi, dword [ebp + 8]
jmp 0x47afe0
mov edx, dword [ebp + 0xc]
xor edi, edi
xor bl, bl
mov dword [esp + 0x28], edi
cmp dword [edx + 0x2c], edi
jne 0x47af4c
lea edi, [esp + 0x28]
lea eax, [esp + 0x9c]
call fcn.00477af0
mov bl, al
test bl, bl
je 0x47af48
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call fcn.00450060
mov edi, eax
add esp, 0xc
mov dword [esp + 0x50], edi
test edi, edi
je 0x47af4c
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x40], 0
jne 0x47af4c
mov ecx, dword [edi + 4]
cmp bl, 1
setne al
mov byte [ecx + 0xc], al
mov edx, dword [edi + 4]
mov eax, dword [edx]
mov byte [eax], 0x9a
jmp 0x47af4c
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x9c]
push ecx
push esi
call fcn.00478f40
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push 0
movzx eax, bl
push eax
push 0
push edi
push ecx
push edx
push esi
call fcn.0048a4f0
mov edi, eax
add esp, 0x24
test edi, edi
jne 0x47af97
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00450950
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x47b041
lea edx, [esp + 0x9c]
push edx
push esi
call fcn.00479130
add esp, 8
cmp byte [edi + 0x24], 0
jle 0x47afc5
mov eax, dword [edi + 0x34]
mov esi, dword [esp + 0xc]
push eax
push 0
push 0x10
call fcn.0043cf90
mov esi, dword [ebp + 8]
add esp, 0xc
push edi
call fcn.0048af40
lea ecx, [esp + 0xa0]
add esp, 4
push ecx
mov eax, esi
call fcn.00479030
add esp, 4
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
push 0x10
push edi
push edx
push esi
mov dword [esp + 0x80], 0
call fcn.00454270
mov eax, dword [ebp + 0x10]
push edi
push edi
push eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push 0
push 0
push 0xffffffffffffffff
push ecx
push eax
push esi
call fcn.00471c30
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x48]
add esp, 0x34
push edx
push eax
call fcn.00450950
add esp, 8
jmp 0x47ac5c
mov edi, edx
jmp 0x47b041
mov esi, edi
mov edi, dword [esp + 0x14]
jmp 0x47b041
mov edi, eax
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0xcc]
mov dword [esi + 0x1d0], eax
test ebx, ebx
jne 0x47b071
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 9
jne 0x47b071
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
push edx
push eax
push esi
call fcn.004734f0
add esp, 0xc
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x47b0bd
cmp dword [edi + 0x208], 0
je 0x47b08e
mov ecx, edi
call fcn.0041ec00
jmp 0x47b0bd
cmp eax, dword [edi + 0x114]
jb 0x47b0b4
cmp eax, dword [edi + 0x118]
jae 0x47b0b4
mov ecx, dword [edi + 0x110]
mov dword [eax], ecx
dec dword [edi + 0xfc]
mov dword [edi + 0x110], eax
jmp 0x47b0bd
push eax
call fcn.0041eb60
add esp, 4
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x47b117
cmp dword [edi + 0x208], 0
je 0x47b0e1
mov ecx, edi
call fcn.0041ec00
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [edi + 0x114]
jb 0x47b10e
cmp eax, dword [edi + 0x118]
jae 0x47b10e
mov edx, dword [edi + 0x110]
mov dword [eax], edx
dec dword [edi + 0xfc]
mov dword [edi + 0x110], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.0041eb60
add esp, 4
mov eax, ebx
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