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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf4
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x1d4]
mov dword [esp + 0xd0], eax
mov eax, dword [ebx + 0x1d8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebx]
mov dword [ebx + 0x1d4], eax
inc eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x24], 1
mov dword [ebx + 0x1d8], eax
mov dword [esp + 0x10], edi
test esi, esi
je 0x4794b0
cmp byte [edi + 0x45], 0
jne 0x4794b0
cmp dword [ebx + 0x44], 0
jne 0x4794b0
push 0
push 0
push 0
push 0x15
mov eax, ebx
call fcn.0045ba50
add esp, 0x10
test eax, eax
jne 0x4794b0
push 0x30
push eax
lea ecx, [esp + 0xb0]
push ecx
call fcn.004e57c0
mov edx, dword [ebp + 0x10]
add esp, 0xc
cmp byte [edx], 8
ja 0x477974
mov eax, dword [esi + 0x2c]
push eax
push edi
call fcn.00454b50
add esp, 8
and dword [esi + 8], 0xfffffffe
mov dword [esi + 0x2c], 0
push 0
push esi
push ebx
call fcn.00477100
mov ecx, dword [esi + 0x2c]
xor eax, eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x90], ecx
mov ecx, dword [esi + 0x1c]
add esp, 0xc
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x3c], ecx
cmp dword [ebx + 0x44], eax
jne 0x479316
cmp byte [edi + 0x45], al
jne 0x479316
mov eax, dword [esi + 8]
mov edx, dword [ebp + 0x10]
shr eax, 3
and eax, 1
mov dword [esp + 0x54], eax
movzx eax, byte [edx]
mov edx, dword [esi]
cmp dword [edx], 1
jle 0x477a15
cmp eax, 0xa
je 0x477a01
cmp eax, 0xb
jne 0x477a15
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
mov esi, ebx
call fcn.004266d0
add esp, 4
jmp 0x479316
xor eax, eax
mov dword [esp + 0x34], eax
cmp dword [esi + 0x30], eax
je 0x477a68
mov edi, ebx
call fcn.00473120
mov dword [esp + 0x14], eax
test eax, eax
je 0x477b1b
cmp dword [esi + 0x30], 0
je 0x477b24
mov edx, dword [ebp + 0x10]
push edx
push esi
push ebx
call fcn.004738d0
mov ecx, dword [esp + 0xe4]
add esp, 0xc
mov dword [ebx + 0x1d4], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
cmp eax, dword [ecx]
jge 0x477a20
lea eax, [eax + eax*4]
shl eax, 4
lea ecx, [eax + ecx + 8]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x10]
test eax, eax
je 0x477aec
movsx edx, word [ecx + 0x22]
mov edi, dword [eax]
cmp edx, dword [edi]
jne 0x477aff
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x34]
shr edi, 3
and edi, 1
push edi
push eax
push ecx
push ebx
mov eax, esi
call fcn.00475830
add esp, 0x10
test eax, eax
je 0x477ac5
test edi, edi
je 0x477abd
or dword [esi + 8], 8
mov dword [esp + 0x54], 1
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x45], 0
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x3c], edx
jne 0x479314
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 8
jbe 0x477aec
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x84], edx
inc dword [esp + 0x34]
cmp dword [esi + 0x30], 0
je 0x477a60
jmp 0x477a20
mov eax, edi
mov edx, dword [eax]
mov eax, dword [ecx]
movsx ecx, word [ecx + 0x22]
push edx
push eax
push ecx
push str.expected__d_columns_for__s_but_got__d
mov esi, ebx
call fcn.004266d0
add esp, 0x10
mov edi, dword [esp + 0x10]
jmp 0x479316
mov ecx, dword [esp + 0x3c]
xor eax, eax
cmp dword [ecx], eax
mov dword [esp + 0x34], eax
jle 0x477d79
lea edx, [eax + eax*4]
shl edx, 4
lea edi, [edx + ecx + 8]
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x477d68
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x477b7b
test byte [edi + 0x28], 0x10
jne 0x477d68
mov eax, dword [edi + 0x1c]
push 0
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push 0xe
push ecx
call fcn.00440c90
add esp, 0x14
jmp 0x477d64
mov ecx, esi
call fcn.00453960
add dword [ebx + 0x1d0], eax
test byte [edi + 0x24], 0x20
jne 0x477ba8
mov edx, dword [edi + 0x30]
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.00475e10
add esp, 0x10
cmp dword [esp + 0x34], 0
jne 0x477c80
mov eax, dword [esp + 0x3c]
cmp dword [eax], 1
je 0x477bc6
test byte [eax + 0x7c], 0xa
je 0x477c80
test byte [esi + 8], 2
jne 0x477c80
mov ecx, dword [esp + 0x10]
mov eax, 0x100
test word [ecx + 0x40], ax
jne 0x477c80
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x20]
inc dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x4c]
inc esi
push esi
push 0
push ecx
push 0x10
push eax
mov dword [esp + 0x70], esi
mov dword [edi + 0x1c], ecx
call fcn.00440c90
mov edx, dword [edi + 0x1c]
add esp, 0x14
mov dword [edi + 0x18], esi
mov esi, dword [esp + 0x18]
xor eax, eax
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov al, byte [ebx + 0x1d8]
push esi
push ebx
mov byte [esp + 0x7c], 0xd
mov dword [esp + 0x80], edx
mov byte [esp + 0x7d], 0
mov byte [edi + 0x2c], al
call fcn.004778c0
mov ax, word [esi + 6]
mov edx, dword [edi + 0x10]
mov esi, dword [esp + 0x20]
mov word [edx + 0x26], ax
mov ecx, dword [esp + 0x84]
mov eax, dword [edi + 0x1c]
or dword [edi + 0x28], 0x10
add esp, 0xc
mov dword [edi + 0x20], ecx
call fcn.00440fc0
mov ecx, dword [esp + 0x5c]
dec ecx
mov eax, esi
call fcn.00441300
mov esi, dword [ebp + 0xc]
jmp 0x477d3e
inc dword [ebx + 0x4c]
mov eax, dword [ebx + 0x4c]
mov edx, dword [esp + 0x14]
push 0
push eax
push 0
push 0x16
push edx
mov dword [esp + 0x30], 0
mov dword [edi + 0x1c], eax
call fcn.00440c90
mov dword [esp + 0x70], eax
inc eax
add esp, 0x14
test byte [edi + 0x28], 8
mov dword [edi + 0x18], eax
jne 0x477cbe
mov eax, ebx
call fcn.004550d0
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x30]
mov cl, byte [ebx + 0x1d8]
mov dword [esp + 0x74], eax
xor eax, eax
lea edx, [esp + 0x70]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x18]
push edx
push eax
push ebx
mov byte [esp + 0x7c], 0xc
mov byte [esp + 0x7d], 0
mov byte [edi + 0x2c], cl
call fcn.004778c0
mov edx, dword [esp + 0x24]
mov ecx, dword [edi + 0x10]
mov ax, word [edx + 6]
add esp, 0xc
cmp dword [esp + 0x1c], 0
mov word [ecx + 0x26], ax
je 0x477d18
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
call fcn.00441300
mov edi, dword [edi + 0x1c]
mov ecx, dword [esp + 0x14]
push 0
push 0
push edi
push 0xf
push ecx
call fcn.00440c90
mov ecx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x70]
add esp, 0x14
call fcn.004412b0
mov edi, dword [esp + 0x10]
mov dword [ebx + 0x3c], 0
mov byte [ebx + 0x13], 0
cmp byte [edi + 0x45], 0
jne 0x479316
mov ecx, esi
call fcn.00453960
sub dword [ebx + 0x1d0], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
inc eax
cmp eax, dword [ecx]
mov dword [esp + 0x34], eax
jl 0x477b36
mov eax, dword [esi + 0x20]
mov edx, dword [esi]
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x28], eax
mov al, byte [esi + 8]
and al, 1
mov byte [esp + 0x70], al
mov eax, dword [esi + 8]
mov dword [esp + 0x40], edx
mov edx, dword [esi + 0x28]
and al, 9
mov dword [esp + 0x44], ecx
mov dword [esp + 0x5c], edx
cmp al, 1
jne 0x477dde
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x84]
push 0xffffffffffffffff
push ecx
call fcn.004580c0
add esp, 8
test eax, eax
jne 0x477dde
mov edx, dword [esp + 0x40]
and dword [esi + 8], 0xfffffffe
push eax
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00454440
add esp, 0xc
mov dword [esi + 0x24], eax
mov dword [esp + 0x44], eax
cmp dword [esp + 0x84], 0
je 0x477e37
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x84]
mov ecx, dword [ecx]
push 0
push ebx
mov eax, edi
call fcn.00471e50
mov ecx, dword [ebx + 0x48]
mov edx, ecx
inc ecx
push 0xfffffffffffffffa
push eax
mov eax, dword [esp + 0x50]
mov dword [ebx + 0x48], ecx
mov ecx, dword [eax]
mov eax, dword [edi]
mov edi, dword [esp + 0x24]
lea ecx, [ecx + eax + 1]
push 0x39
xor eax, eax
mov dword [esp + 0xa0], edx
call fcn.00440e10
add esp, 0x14
mov dword [esp + 0x98], eax
jmp 0x477e42
mov dword [esp + 0x98], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0xc
mov edi, dword [esp + 0x14]
jne 0x477e66
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
push 0
push edx
push eax
push 0x39
push edi
call fcn.00440c90
add esp, 0x14
mov eax, edi
call fcn.00440ff0
push eax
mov dword [esp + 0x100], eax
mov ecx, 0x140
push esi
mov eax, ebx
mov word [esi + 6], cx
call fcn.00473170
add esp, 8
cmp dword [esi + 0xc], 0
jne 0x477eb1
cmp dword [esp + 0x98], 0
jl 0x477eb1
mov eax, dword [esp + 0x98]
mov dl, 0x3a
mov ecx, edi
call fcn.00441280
or byte [esp + 0xa0], 1
test byte [esi + 8], 1
je 0x477f62
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x74], eax
inc eax
mov dword [ebx + 0x48], eax
mov eax, dword [esi]
push 0
push ebx
xor ecx, ecx
call fcn.00471e50
mov edx, dword [esp + 0x7c]
push 0
push 0
push edx
push 0x39
push edi
mov dword [esp + 0x38], eax
call fcn.00440c90
mov edx, dword [edi]
add esp, 0x1c
cmp byte [edx + 0x45], 0
mov dword [esp + 0xc], eax
je 0x477f06
mov ecx, dword [esp + 0x1c]
mov eax, 0xfffffffa
call fcn.00441340
jmp 0x477f47
cmp dword [esp + 0xc], 0
jge 0x477f11
mov eax, dword [edi + 0x20]
dec eax
mov ecx, dword [edi + 4]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea eax, [ecx + eax*4]
je 0x477f38
mov edx, dword [esp + 0x1c]
push edx
push eax
mov eax, 0xfffffffa
mov ecx, edi
call fcn.00441530
add esp, 8
jmp 0x477f47
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x477f47
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfa
mov eax, dword [esp + 0xc]
push 8
mov ecx, edi
mov dword [esp + 0x7c], eax
call fcn.004412e0
add esp, 4
mov byte [esp + 0x71], 3
jmp 0x477f67
mov byte [esp + 0x71], 0
mov edx, dword [esp + 0x44]
xor eax, eax
cmp dword [esp + 0x54], eax
jne 0x47806e
cmp edx, eax
jne 0x47806e
movzx ecx, byte [esp + 0x70]
mov dx, word [esi + 8]
neg ecx
sbb ecx, ecx
and ecx, 0x400
mov eax, 0x4000
and dx, ax
or cx, dx
mov edx, dword [esi]
movzx eax, cx
movsx ecx, word [esi + 6]
push ecx
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x48]
push eax
push ecx
push edx
push ebx
call fcn.00487690
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x477b1b
movzx eax, word [edi + 0x20]
cmp ax, word [esi + 6]
jge 0x477fdc
mov word [esi + 6], ax
cmp byte [esp + 0x70], 0
je 0x477fee
mov al, byte [edi + 0x2a]
test al, al
je 0x477fee
mov byte [esp + 0x71], al
mov eax, dword [esp + 0x84]
test eax, eax
je 0x47801a
movsx ecx, byte [edi + 0x26]
mov dword [esp + 0x88], ecx
cmp ecx, dword [eax]
jne 0x47801a
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x98], 0
jl 0x478038
test eax, eax
jne 0x478038
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x14]
call fcn.004414f0
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x30]
mov edx, dword [ebp + 0x10]
push eax
push ecx
push edx
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x94]
push ecx
push 0xffffffffffffffff
push edx
push esi
mov ecx, ebx
call fcn.00471420
push edi
call fcn.00487fe0
add esp, 0x24
jmp 0x479279
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc], eax
cmp edx, eax
je 0x4780cf
mov ecx, dword [esi]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
test eax, eax
jle 0x47809d
add ecx, 0x16
lea esp, [esp]
xor edi, edi
mov word [ecx], di
dec eax
add ecx, 0x18
test eax, eax
jg 0x478090
mov eax, dword [edx]
mov ecx, dword [edx + 4]
test eax, eax
jle 0x4780bd
add ecx, 0x16
lea esp, [esp]
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x18
test eax, eax
jg 0x4780b0
cmp word [esi + 6], 0x42
jle 0x4780d5
mov eax, 0x42
mov word [esi + 6], ax
jmp 0x4780d5
xor ecx, ecx
mov word [esi + 6], cx
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0x44]
push 0xffffffffffffffff
push edx
mov edi, esi
call fcn.004580c0
add esp, 8
test eax, eax
jne 0x4780f9
mov dword [esp + 0xc], 1
mov eax, dword [esp + 0x14]
call fcn.00440ff0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe0], ecx
mov ecx, dword [ebx + 0x4c]
inc ecx
lea edx, [esp + 0xa8]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe8], edx
mov dword [esp + 0xb8], ecx
cmp esi, eax
je 0x47817a
mov edx, dword [esi]
mov dword [esp + 0xb4], edx
jmp 0x478181
mov dword [esp + 0xb4], eax
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0xdc]
push eax
mov dword [esp + 0xc4], esi
call fcn.00458540
mov ebx, dword [esp + 0x88]
lea ecx, [esp + 0xe0]
add esp, 4
push ecx
call fcn.00458540
mov ecx, dword [esp + 0x60]
add esp, 4
test ecx, ecx
je 0x4781cb
lea edx, [esp + 0xdc]
push edx
call fcn.004584f0
add esp, 4
mov eax, dword [esp + 0xc8]
xor edi, edi
cmp dword [esp + 0xd4], edi
mov dword [esp + 0xcc], eax
jle 0x478234
xor esi, esi
jmp 0x4781f0
or word [esp + 0xf8], 8
mov ecx, dword [esp + 0xd0]
mov edx, dword [ecx + esi]
mov ebx, dword [edx + 0x14]
lea eax, [esp + 0xdc]
push eax
call fcn.00458540
mov ecx, 0xfff7
and word [esp + 0xfc], cx
inc edi
add esp, 4
add esi, 0x10
cmp edi, dword [esp + 0xd4]
jl 0x4781f0
mov esi, dword [esp + 0x44]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x4c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xbc], eax
cmp byte [ecx + 0x45], 0
jne 0x47930b
test esi, esi
je 0x478f06
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0xc8]
mov esi, edx
mov eax, dword [esi + 0x48]
mov dword [esp + 0xac], eax
inc eax
mov dword [esi + 0x48], eax
push 0
push esi
mov eax, ebx
call fcn.00471e50
mov edx, dword [esp + 0xbc]
mov edi, dword [esp + 0x1c]
push 0
push edx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xbc]
push eax
push 0x3a
push edi
call fcn.00440c90
mov edx, dword [edi]
add esp, 0x1c
cmp byte [edx + 0x45], 0
mov dword [esp + 0x68], eax
je 0x4782bd
mov ecx, dword [esp + 0x6c]
mov eax, 0xfffffffa
call fcn.00441340
jmp 0x4782f7
test eax, eax
jge 0x4782c5
mov eax, dword [edi + 0x20]
dec eax
mov edx, dword [edi + 4]
lea ecx, [eax + eax*4]
cmp byte [edx + ecx*4 + 1], 0
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x6c]
je 0x4782ec
push ecx
push eax
mov eax, 0xfffffffa
mov ecx, edi
call fcn.00441530
add esp, 8
jmp 0x4782f7
test ecx, ecx
je 0x4782f7
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfa
mov eax, dword [esi + 0x4c]
inc eax
mov dword [esp + 0x38], eax
inc eax
mov dword [esp + 0x4c], eax
inc eax
mov dword [esi + 0x4c], eax
mov eax, edi
call fcn.00440ff0
inc dword [esi + 0x4c]
mov edx, dword [esi + 0x4c]
mov dword [esp + 0x60], eax
mov eax, edi
mov dword [esp + 0x18], edx
call fcn.00440ff0
mov edx, dword [ebx]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x4c]
lea ecx, [eax + 1]
add eax, edx
mov dword [esi + 0x4c], eax
mov edx, dword [ebx]
mov dword [esp + 0x64], ecx
lea ecx, [eax + 1]
add edx, eax
mov eax, dword [esp + 0x4c]
push 0
push eax
push 0
push 0x16
push edi
mov dword [esp + 0x64], ecx
mov dword [esi + 0x4c], edx
call fcn.00440c90
mov ecx, dword [esp + 0x4c]
add esp, 0x14
push 0
push ecx
push 0
push 0x16
push edi
call fcn.00440c90
mov eax, dword [esp + 0x78]
mov edx, dword [ebx]
add esp, 0x14
lea ecx, [edx + eax - 1]
push ecx
push eax
push 0
push 0x19
push edi
call fcn.00440c90
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esp, 0x14
push 0
push edx
push eax
push 0xe
push edi
call fcn.00440c90
mov ecx, dword [esp + 0x20]
add esp, 0x14
neg ecx
sbb ecx, ecx
and ecx, 0x800
mov edx, 0x100
or cx, dx
mov edx, dword [esp + 0x3c]
push 0
movzx eax, cx
mov ecx, dword [esp + 0x2c]
push eax
push 0
push ebx
push ecx
push edx
push esi
call fcn.00487690
add esp, 0x1c
mov dword [esp + 0x54], eax
test eax, eax
je 0x47930b
movsx ecx, byte [eax + 0x26]
cmp ecx, dword [ebx]
jne 0x4783f0
xor ebx, ebx
mov dword [esp + 0x28], ebx
jmp 0x478758
cmp byte [esp + 0x70], 0
je 0x478405
mov edx, dword [ebp + 0xc]
test byte [edx + 8], 1
mov eax, str.DISTINCT
je 0x47840a
mov eax, str.GROUP_BY
mov ecx, esi
call fcn.00471ee0
mov eax, dword [ebx]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], eax
test ecx, ecx
jle 0x47845e
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x2c], ecx
add edx, 0xc
mov ecx, eax
jmp 0x478444
mov edx, dword [esp + 0x24]
cmp dword [edx], eax
jl 0x47844a
inc ecx
inc eax
add edx, 0x18
sub dword [esp + 0x2c], 1
mov dword [esp + 0x24], edx
jne 0x478440
mov dword [esp + 0x24], ecx
jmp 0x478462
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x3c]
cmp ecx, eax
mov edx, dword [esi + 0x40]
mov dword [esp + 0x58], edx
jg 0x47847c
add edx, ecx
sub eax, ecx
mov dword [esi + 0x40], edx
mov dword [esi + 0x3c], eax
jmp 0x47848b
mov eax, dword [esi + 0x4c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x58], edx
mov dword [esi + 0x4c], eax
mov edx, esi
call fcn.004564b0
mov eax, dword [esp + 0x58]
push 0
push 0
push eax
push ebx
push esi
call fcn.00457640
mov ecx, dword [esp + 0x44]
add esp, 0x14
cmp dword [esp + 0xc8], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], 0
jle 0x47855b
mov eax, dword [esp + 0x58]
mov edx, ecx
mov ecx, dword [esp + 0xc4]
add eax, edx
mov dword [esp + 0x30], eax
xor ebx, ebx
jmp 0x4784e0
mov edx, dword [ecx + ebx + 0xc]
cmp edx, dword [esp + 0x2c]
jl 0x478546
mov edx, dword [ecx + ebx + 8]
mov eax, dword [ecx + ebx + 4]
mov ecx, dword [ecx + ebx]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x30]
push 0
push ecx
push edx
mov edx, dword [esp + 0xb0]
push edx
mov ecx, esi
call fcn.004563f0
add esp, 0x10
cmp eax, dword [esp + 0x30]
je 0x478532
mov ecx, dword [esp + 0x30]
mov edx, dword [esi + 8]
push 0
push ecx
push eax
push 0x1f
push edx
call fcn.00440c90
add esp, 0x14
mov ecx, dword [esp + 0xc4]
mov eax, 1
add dword [esp + 0x2c], eax
add dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
inc eax
add ebx, 0x18
cmp eax, dword [esp + 0xc8]
mov dword [esp + 0x34], eax
jl 0x4784e0
mov al, byte [esi + 0x13]
test al, al
jne 0x47856a
inc dword [esi + 0x4c]
mov ebx, dword [esi + 0x4c]
jmp 0x478576
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov ebx, dword [esi + eax*4 + 0x1c]
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x58], eax
jg 0x47859a
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x58]
push ebx
push edx
push eax
push 0x31
mov eax, edi
call fcn.00440c50
add esp, 0x10
jmp 0x4785cc
lea ecx, [eax + 1]
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0x58]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x24]
mov byte [eax], 0x31
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 byte [eax + 1], 0
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x58], eax
mov ecx, dword [esp + 0xac]
jg 0x4785f2
push 0
mov eax, ecx
push ebx
push eax
push 0x6d
mov eax, edi
call fcn.00440c50
add esp, 0x10
jmp 0x478619
lea edx, [eax + 1]
mov dword [edi + 0x20], edx
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x6d
mov byte [eax + 3], 0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
test ebx, ebx
je 0x478648
mov dl, byte [esi + 0x13]
cmp dl, 8
jae 0x478648
xor eax, eax
lea ecx, [esi + 0x7c]
lea ebx, [ebx]
cmp dword [ecx + 0xc], ebx
je 0x47869a
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x478630
movzx eax, dl
mov dword [esi + eax*4 + 0x1c], ebx
inc byte [esi + 0x13]
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x24]
push ecx
mov eax, ebx
call fcn.00456230
add esp, 4
cmp ebx, dword [esi + 0x3c]
jle 0x47866a
mov edx, dword [esp + 0x58]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], edx
mov eax, dword [esp + 0x54]
push eax
call fcn.00487fe0
mov ecx, dword [esi + 0x48]
mov al, byte [esi + 0x13]
add esp, 4
lea edx, [ecx + 1]
mov dword [esp + 0x30], ecx
mov dword [esp + 0xb0], ecx
mov dword [esi + 0x48], edx
test al, al
jne 0x4786a0
inc dword [esi + 0x4c]
mov esi, dword [esi + 0x4c]
jmp 0x4786ac
mov byte [ecx + 6], 1
jmp 0x478648
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov esi, dword [esi + eax*4 + 0x1c]
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x58], eax
mov dword [esp + 0x2c], esi
jg 0x4786ce
push ebx
push esi
push ecx
push 0x3c
mov eax, edi
call fcn.00440c50
add esp, 0x10
xor edx, edx
jmp 0x4786f5
lea edx, [eax + 1]
mov dword [edi + 0x20], edx
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov byte [eax], 0x3c
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov eax, dword [edi + 0x20]
mov esi, dword [edi + 0x18]
cmp dword [esi + 0x58], eax
mov ecx, dword [esp + 0xac]
jg 0x47871c
mov eax, dword [esp + 0x48]
push edx
push eax
push ecx
push 0x6a
mov eax, edi
call fcn.00440c50
add esp, 0x10
jmp 0x478746
lea esi, [eax + 1]
mov dword [edi + 0x20], esi
mov esi, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov byte [eax], 0x6a
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0
mov edx, dword [ebp + 8]
mov byte [esp + 0xa9], 1
call fcn.004564b0
xor ebx, ebx
cmp dword [esp + 0xc], ebx
je 0x4787aa
mov edx, dword [esp + 0x10]
test byte [edx + 0x40], 4
jne 0x4787aa
cmp dword [esp + 0x28], ebx
jne 0x478777
mov eax, dword [esp + 0x54]
cmp byte [eax + 0x27], bl
je 0x4787aa
mov edx, dword [edi]
mov dword [esp + 0x84], ebx
cmp byte [edx + 0x45], bl
jne 0x4787aa
mov eax, dword [esp + 0x98]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
lea esi, [eax + ecx*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.00441340
mov byte [esi + 1], bl
mov dword [esi + 0x10], ebx
mov byte [esi], 0xa0
mov ecx, dword [edi + 0x20]
mov edx, dword [ebp + 8]
mov dword [esp + 0x24], ecx
call fcn.004564b0
cmp dword [esp + 0x28], ebx
je 0x4787dc
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xac]
push edx
push eax
push ecx
push 0x64
push edi
call fcn.00440c90
add esp, 0x14
mov eax, dword [esp + 0x44]
xor esi, esi
cmp dword [eax], ebx
jle 0x47888b
mov dword [esp + 0xc], ebx
mov edi, edi
cmp dword [esp + 0x28], ebx
je 0x47884e
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x58], eax
jg 0x47881d
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
lea ecx, [esi + eax]
push ecx
push esi
push edx
push 0x2f
mov eax, edi
call fcn.00440c50
add esp, 0x10
jmp 0x478879
lea ecx, [eax + 1]
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0x30]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x50]
mov dword [eax + 4], ecx
lea ecx, [esi + edx]
mov byte [eax], 0x2f
mov byte [eax + 3], bl
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x478879
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
lea eax, [esi + edx]
push eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0xac], 1
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax]
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.00457580
add esp, 0xc
mov eax, dword [esp + 0x44]
add dword [esp + 0xc], 0x18
inc esi
cmp esi, dword [eax]
jl 0x4787f0
mov esi, dword [esp + 0x6c]
cmp esi, ebx
je 0x478895
inc dword [esi]
mov edx, dword [eax]
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x4788bb
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x68]
push ecx
push edx
push 0x2a
mov eax, edi
call fcn.00440c50
add esp, 0x10
jmp 0x4788ed
mov esi, dword [edi + 4]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea eax, [ecx + ecx*4]
lea eax, [esi + eax*4]
mov esi, dword [esp + 0x64]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x50]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x6c]
mov byte [eax], 0x2a
mov byte [eax + 3], bl
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, ecx
mov edx, dword [edi]
cmp byte [edx + 0x45], bl
je 0x478902
mov ecx, esi
mov eax, 0xfffffffa
call fcn.00441340
jmp 0x478937
cmp eax, ebx
jge 0x47890a
mov eax, dword [edi + 0x20]
dec eax
mov edx, dword [edi + 4]
lea ecx, [eax + eax*4]
cmp byte [edx + ecx*4 + 1], bl
lea eax, [edx + ecx*4]
je 0x47892c
push esi
push eax
mov eax, 0xfffffffa
mov ecx, edi
call fcn.00441530
add esp, 8
jmp 0x478937
cmp esi, ebx
je 0x478937
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xfa
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x58], eax
mov dword [esp + 0xa4], eax
lea ecx, [eax + 1]
jg 0x47895d
push ecx
push ebx
push ecx
push 0x2b
mov eax, edi
call fcn.00440c50
add esp, 0x10
jmp 0x478981
lea edx, [eax + 1]
mov dword [edi + 0x20], edx
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov byte [eax], 0x2b
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 byte [eax + 1], bl
mov eax, dword [esp + 0x44]
mov ecx, dword [ebp + 8]
mov esi, dword [eax]
mov eax, dword [ecx + 8]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x18]
cmp dword [edx + 0x58], ecx
jg 0x4789af
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x50]
push esi
push ecx
push edx
push 0x1d
call fcn.00440c50
add esp, 0x10
jmp 0x4789db
lea edx, [ecx + 1]
mov dword [eax + 0x20], edx
mov edx, dword [eax + 4]
lea ecx, [ecx + ecx*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x64]
mov byte [eax], 0x1d
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x50]
push eax
mov eax, esi
mov esi, dword [ebp + 8]
call fcn.00456230
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
mov esi, dword [esp + 0x50]
add esp, 4
cmp dword [ecx + 0x58], eax
jg 0x478a14
mov edx, dword [esp + 0x60]
push ebx
push edx
lea eax, [esi + 1]
push eax
push 0xe
mov eax, edi
call fcn.00440c50
add esp, 0x10
jmp 0x478a41
lea ecx, [eax + 1]
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0x4c]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
inc ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x60]
mov byte [eax], 0xe
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x58], eax
jg 0x478a64
mov eax, dword [esp + 0x48]
push ebx
push eax
push esi
push 0x8a
mov eax, edi
call fcn.00440c50
add esp, 0x10
jmp 0x478a8c
lea ecx, [eax + 1]
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0x48]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0x8a
mov byte [eax + 3], bl
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x58], eax
jg 0x478ab0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push ebx
push eax
push ecx
push 0xe
mov eax, edi
call fcn.00440c50
add esp, 0x10
jmp 0x478adc
mov ecx, dword [edi + 4]
lea edx, [eax + 1]
mov dword [edi + 0x20], edx
mov edx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x1c]
mov byte [eax], 0xe
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
dec edx
mov dword [eax + 0x60], edx
mov eax, dword [esp + 0xa4]
cmp eax, ebx
mov ecx, dword [edi + 0x20]
jge 0x478af7
lea eax, [ecx - 1]
mov edx, dword [edi]
cmp byte [edx + 0x45], bl
je 0x478b05
mov eax, 0x550118
jmp 0x478b0e
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xa8]
push eax
push ecx
call fcn.00477380
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
add esp, 8
cmp dword [edx + 0x58], eax
jg 0x478b46
mov eax, dword [esp + 0x38]
push ebx
push eax
push 1
push 0x16
mov eax, edi
call fcn.00440c50
add esp, 0x10
jmp 0x478b72
lea ecx, [eax + 1]
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0x38]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0x16
mov byte [eax + 3], bl
mov dword [eax + 4], 1
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
cmp dword [esp + 0x28], ebx
je 0x478bc9
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x58], eax
mov ecx, dword [esp + 0xac]
jg 0x478b9f
mov eax, dword [esp + 0x24]
push ebx
push eax
push ecx
push 3
mov eax, edi
call fcn.00440c50
add esp, 0x10
jmp 0x478bff
lea edx, [eax + 1]
mov dword [edi + 0x20], edx
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
mov byte [eax], 3
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x478bff
mov edx, dword [esp + 0x54]
push edx
call fcn.00487fe0
mov edx, dword [edi]
add esp, 4
cmp byte [edx + 0x45], bl
jne 0x478bff
mov eax, dword [esp + 0x68]
mov ecx, dword [edi + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.00441340
mov byte [esi + 1], bl
mov dword [esi + 0x10], ebx
mov byte [esi], 0xa0
mov esi, dword [esp + 0x4c]
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
inc esi
cmp dword [edx + 0x58], eax
mov dword [esp + 0xc], esi
jg 0x478c28
mov eax, dword [esp + 0x60]
push ebx
push eax
push esi
push 0xe
mov eax, edi
call fcn.00440c50
add esp, 0x10
jmp 0x478c50
lea ecx, [eax + 1]
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0x60]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0xe
mov byte [eax + 3], bl
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x58], eax
jg 0x478c70
mov eax, dword [esp + 0x48]
push ebx
push eax
push ebx
push 0xd
mov eax, edi
call fcn.00440c50
add esp, 0x10
jmp 0x478c98
lea ecx, [eax + 1]
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0x48]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0xd
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 byte [eax + 1], bl
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x58], eax
mov dword [esp + 0x68], eax
jg 0x478cbd
mov eax, dword [esp + 0x4c]
push ebx
push eax
push 1
push 0x16
mov eax, edi
call fcn.00440c50
add esp, 0x10
jmp 0x478ce9
lea ecx, [eax + 1]
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0x4c]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0x16
mov byte [eax + 3], bl
mov dword [eax + 4], 1
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x58], eax
jg 0x478d05
push ebx
push ebx
push esi
push 0xf
mov eax, edi
call fcn.00440c50
add esp, 0x10
jmp 0x478d29
lea ecx, [eax + 1]
mov dword [edi + 0x20], ecx
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0xf
mov byte [eax + 3], bl
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 0x78]
cmp eax, ebx
je 0x478d45
mov edx, dword [esp + 0x60]
lea edx, [edx*4 + 4]
sub eax, edx
mov edx, dword [edi + 0x20]
mov dword [eax], edx
mov eax, dword [edi + 0x20]
dec eax
mov dword [ecx + 0x60], eax
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
mov ecx, eax
mov dword [esp + 0x60], ecx
add ecx, 2
cmp dword [edx + 0x58], eax
jg 0x478d78
mov eax, dword [esp + 0x38]
push ebx
push ecx
push eax
push 0x8a
mov eax, edi
call fcn.00440c50
add esp, 0x10
jmp 0x478da0
lea edx, [eax + 1]
mov dword [edi + 0x20], edx
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x38]
mov byte [eax], 0x8a
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x58], eax
jg 0x478dbc
push ebx
push ebx
push esi
push 0xf
mov eax, edi
call fcn.00440c50
add esp, 0x10
jmp 0x478de0
mov ecx, dword [edi + 4]
lea edx, [eax + 1]
mov dword [edi + 0x20], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0xf
mov byte [eax + 3], bl
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [ebp + 8]
lea edx, [esp + 0xa8]
push edx
call fcn.00477270
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov ecx, dword [ebp + 8]
add esp, 4
push 0x10
inc esi
push esi
push eax
push ecx
call fcn.00457bd0
mov edx, dword [esp + 0x78]
mov eax, dword [ebp + 0x10]
push edx
push esi
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x8c]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0xa4]
push edx
push 0xffffffffffffffff
push ecx
mov ecx, dword [ebp + 8]
push eax
call fcn.00471420
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
add esp, 0x30
cmp dword [edx + 0x58], eax
jg 0x478e57
mov eax, dword [esp + 0xc]
push ebx
push ebx
push eax
push 0xf
mov eax, edi
call fcn.00440c50
add esp, 0x10
jmp 0x478e7f
lea ecx, [eax + 1]
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0xf
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 0x78]
cmp eax, ebx
je 0x478e9b
mov edx, dword [esp + 0x1c]
lea edx, [edx*4 + 4]
sub eax, edx
mov edx, dword [edi + 0x20]
mov dword [eax], edx
mov eax, dword [edi + 0x20]
mov edx, dword [ebp + 8]
dec eax
mov dword [ecx + 0x60], eax
lea ecx, [esp + 0xa8]
push ecx
push edx
call fcn.00477160
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
add esp, 8
cmp dword [ecx + 0x58], eax
jg 0x478ed9
mov edx, dword [esp + 0x18]
push ebx
push ebx
push edx
push 0xf
mov eax, edi
call fcn.00440c50
add esp, 0x10
jmp 0x479250
lea ecx, [eax + 1]
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0x18]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0xf
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x479250
mov ebx, dword [ebp + 0xc]
lea ecx, [esp + 0xa8]
mov eax, ebx
mov dword [esp + 0x2c], 0
call fcn.00475f40
mov esi, eax
mov dword [esp + 0x68], esi
test esi, esi
je 0x479104
mov ebx, dword [esi + 0x40]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esp + 0x18], 0xfff0bdc0
test ebx, ebx
je 0x478f64
mov ecx, dword [eax + 0x14]
xor edx, edx
mov dword [esp + 0x18], edx
test ecx, ecx
jle 0x478f64
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ebx
je 0x478f60
inc edx
add eax, 0x10
cmp edx, ecx
jl 0x478f54
mov dword [esp + 0x18], edx
mov eax, dword [edi + 0x48]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
inc eax
mov dword [edi + 0x48], eax
mov edx, dword [esi + 0x1c]
xor eax, eax
mov dword [esp + 0xc], edx
mov ecx, ebx
mov edx, edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], eax
call fcn.00461340
mov eax, dword [esi]
push eax
push 0
push ebx
mov ebx, dword [esi + 0x1c]
push edi
call fcn.0045bae0
add esp, 0x10
test byte [esi + 0x2a], 0x20
je 0x478fc6
mov eax, dword [esi + 8]
test eax, eax
je 0x478fc2
lea esp, [esp]
mov ecx, dword [eax + 0x38]
and cl, 3
cmp cl, 2
je 0x478fc2
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x478fb0
mov dword [esp + 0x28], eax
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x28]
test eax, eax
je 0x478fff
mov bl, 4
test byte [eax + 0x38], bl
jne 0x478ff4
movzx ecx, word [eax + 0x30]
cmp cx, word [esi + 0x28]
jge 0x478ff4
cmp dword [eax + 0x24], 0
jne 0x478ff4
test edx, edx
je 0x478ff2
cmp cx, word [edx + 0x30]
jge 0x478ff4
mov edx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x478fd3
mov dword [esp + 0x28], edx
test edx, edx
je 0x479018
mov eax, dword [edx + 0x2c]
push edx
push edi
mov dword [esp + 0x14], eax
call fcn.00461aa0
add esp, 8
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
push 0x36
mov ebx, 1
call fcn.00440f40
add esp, 8
cmp dword [esp + 0x38], 0
je 0x47908b
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
je 0x479055
mov ecx, dword [esp + 0x38]
lea eax, [ebx - 7]
call fcn.00441340
jmp 0x47908b
mov eax, dword [esi + 0x20]
dec eax
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
cmp byte [eax + edx*4 + 1], 0
lea eax, [eax + edx*4]
je 0x479080
mov ecx, dword [esp + 0x38]
push ecx
push eax
mov eax, 0xfffffffa
mov ecx, esi
call fcn.00441530
add esp, 8
jmp 0x47908b
mov edx, dword [esp + 0x38]
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfa
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 8]
mov ebx, dword [esp + 0x1c]
push 0
push ecx
push ebx
push 0x32
push esi
call fcn.00440c90
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
add esp, 0x14
cmp dword [edx + 0x58], eax
jg 0x4790c6
push 0
push 0
push ebx
push 0x3d
mov eax, esi
call fcn.00440c50
add esp, 0x10
jmp 0x4790ed
lea ecx, [eax + 1]
mov dword [esi + 0x20], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
xor ecx, ecx
mov byte [eax], 0x3d
mov byte [eax + 3], 0
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x68]
mov ecx, edi
call fcn.004777f0
mov ebx, dword [ebp + 0xc]
jmp 0x479206
xor esi, esi
mov dword [esp + 0xc], esi
mov byte [esp + 0x23], 0
cmp dword [ebx + 0x28], esi
jne 0x479167
lea edi, [esp + 0xc]
lea eax, [esp + 0xa8]
call fcn.00475ed0
mov byte [esp + 0x23], al
test al, al
je 0x479163
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
push esi
push ecx
push edi
call fcn.00454440
add esp, 0xc
cmp byte [edi + 0x45], 0
mov esi, eax
mov dword [esp + 0x2c], esi
jne 0x479167
cmp byte [esp + 0x23], 1
mov eax, dword [esi + 4]
setne dl
mov byte [eax + 0xc], dl
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov byte [edx], 0x98
jmp 0x479167
mov esi, dword [esp + 0xc]
mov edi, dword [ebp + 8]
lea eax, [esp + 0xa8]
push eax
push edi
call fcn.00477160
movzx cx, byte [esp + 0x2b]
mov eax, dword [esp + 0x30]
push 0
movzx edx, cx
mov ecx, dword [esp + 0x48]
push edx
push 0
push esi
push eax
push ecx
push edi
call fcn.00487690
mov esi, eax
add esp, 0x24
test esi, esi
jne 0x4791bd
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.00454b50
mov ebx, edi
mov edi, dword [esp + 0x18]
add esp, 8
jmp 0x479316
lea ecx, [esp + 0xa8]
push ecx
push edi
call fcn.00477380
add esp, 8
cmp byte [esi + 0x26], 0
jle 0x4791eb
mov edx, dword [esi + 0x34]
mov eax, dword [esp + 0x14]
push 0
push edx
push 0
push 0xd
push eax
call fcn.00440c90
add esp, 0x14
push esi
call fcn.00487fe0
lea ecx, [esp + 0xac]
add esp, 4
push ecx
mov eax, edi
call fcn.00477270
add esp, 4
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x5c]
push 0x10
push esi
push edx
push edi
mov dword [esp + 0x94], 0
call fcn.00457bd0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx]
push esi
push esi
push eax
push 0
push 0
push 0xffffffffffffffff
push ecx
push ebx
mov ecx, edi
call fcn.00471420
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x40]
push edx
push eax
call fcn.00454b50
mov edi, dword [esp + 0x4c]
add esp, 0x38
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x47926c
mov edx, dword [esp + 0x48]
lea edx, [edx*4 + 4]
sub eax, edx
mov edx, dword [edi + 0x20]
mov dword [eax], edx
mov eax, dword [edi + 0x20]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
dec eax
mov dword [ecx + 0x60], eax
cmp byte [esp + 0x71], 3
jne 0x47928c
mov eax, str.DISTINCT
mov ecx, ebx
call fcn.00471ee0
cmp dword [esp + 0x84], 0
je 0x4792cf
cmp dword [esp + 0x88], 0
mov eax, str.RIGHT_PART_OF_ORDER_BY
jg 0x4792aa
mov eax, str.ORDER_BY
mov ecx, ebx
call fcn.00471ee0
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0x8c]
push ecx
push esi
mov eax, ebx
call fcn.00472070
add esp, 0x10
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x4792f2
mov esi, dword [esp + 0xfc]
lea esi, [esi*4 + 4]
sub eax, esi
mov esi, dword [edx + 0x20]
mov dword [eax], esi
mov edx, dword [edx + 0x20]
mov edi, dword [esp + 0x10]
dec edx
xor eax, eax
mov dword [ecx + 0x60], edx
cmp dword [ebx + 0x44], eax
setg al
mov dword [esp + 0x24], eax
jmp 0x479316
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x10]
jmp 0x479316
mov edi, eax
cmp dword [esp + 0x24], 0
mov ecx, dword [esp + 0xd8]
mov dword [ebx + 0x1d4], ecx
jne 0x479345
mov edx, dword [ebp + 0x10]
cmp byte [edx], 9
jne 0x479345
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
push ebx
call fcn.00472800
add esp, 0xc
mov eax, dword [esp + 0xc4]
mov esi, eax
test eax, eax
je 0x4793e6
cmp dword [edi + 0x1c8], 0
je 0x479368
mov ecx, edi
call fcn.00423c80
jmp 0x4793e6
cmp eax, dword [edi + 0x120]
jb 0x47938e
cmp eax, dword [edi + 0x124]
jae 0x47938e
mov edx, dword [edi + 0x11c]
mov dword [eax], edx
dec dword [edi + 0x108]
mov dword [edi + 0x11c], eax
jmp 0x4793e6
cmp dword [0x54b4e0], 0
je 0x4793dc
mov eax, dword [0x550798]
test eax, eax
je 0x4793aa
push eax
call dword [0x54b538]
add esp, 4
push esi
call dword [0x54b514]
sub dword [0x5505e8], eax
dec dword [0x55060c]
add esp, 4
push esi
call dword [0x54b50c]
mov eax, dword [0x550798]
add esp, 4
test eax, eax
je 0x4793e6
push eax
call dword [0x54b540]
jmp 0x4793e3
push eax
call dword [0x54b50c]
add esp, 4
mov eax, dword [esp + 0xd0]
mov esi, eax
test eax, eax
je 0x4794a5
cmp dword [edi + 0x1c8], 0
je 0x479412
mov ecx, edi
call fcn.00423c80
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [edi + 0x120]
jb 0x479441
cmp eax, dword [edi + 0x124]
jae 0x479441
mov ecx, dword [edi + 0x11c]
mov dword [eax], ecx
dec dword [edi + 0x108]
mov dword [edi + 0x11c], eax
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x54b4e0], 0
je 0x47949b
mov eax, dword [0x550798]
test eax, eax
je 0x47945d
push eax
call dword [0x54b538]
add esp, 4
push esi
call dword [0x54b514]
sub dword [0x5505e8], eax
dec dword [0x55060c]
add esp, 4
push esi
call dword [0x54b50c]
mov eax, dword [0x550798]
add esp, 4
test eax, eax
je 0x4794a5
push eax
call dword [0x54b540]
mov eax, dword [esp + 0x28]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [0x54b50c]
add esp, 4
mov eax, dword [esp + 0x24]
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