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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x158
mov eax, dword [0x517748]
xor eax, esp
mov dword [esp + 0x154], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x8c], eax
push edi
mov edi, edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], edi
mov eax, dword [esi + 0x1a4]
mov dword [esp + 0xa8], eax
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1a4], eax
inc eax
mov dword [esi + 0x1a8], eax
mov eax, dword [esi]
mov dword [esp + 0x88], 0
mov dword [esp + 0x5c], 1
mov dword [esp + 0x1c], eax
test edi, edi
je 0x4a47d3
cmp byte [eax + 0x45], 0
jne 0x4a47d3
cmp dword [esi + 0x24], 0
jne 0x4a47d3
push 0
push 0
push 0
mov edx, 0x15
call fcn.00481720
add esp, 0xc
test eax, eax
jne 0x4a47d3
push 0x30
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.004c6800
mov eax, dword [esp + 0x9c]
add esp, 0xc
cmp byte [eax], 8
ja 0x4a211c
mov edx, dword [edi + 0x2c]
test edx, edx
je 0x4a2111
mov ecx, dword [esp + 0x1c]
call fcn.00477af0
and dword [edi + 8], 0xfffffffe
mov dword [edi + 0x2c], 0
push 0
mov edx, edi
mov ecx, esi
call fcn.004a1640
mov ecx, edi
xorps xmm0, xmm0
mov edi, dword [esp + 0x20]
add esp, 4
cmp dword [esi + 0x24], 0
movdqa xmmword [esp + 0xe0], xmm0
mov eax, dword [ecx + 0x2c]
mov edx, dword [ecx + 0x1c]
movdqa xmmword [esp + 0xf0], xmm0
mov dword [esp + 0x30], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0x48], edx
jne 0x4a464d
cmp byte [edi + 0x45], 0
jne 0x4a464d
mov eax, dword [ecx + 8]
xor edi, edi
shr eax, 3
and eax, 1
mov dword [esp + 0x70], eax
cmp dword [ecx + 0x30], edi
jne 0x4a2240
cmp edi, dword [edx]
jge 0x4a2240
mov esi, dword [esp + 0x48]
lea eax, [edi + edi*4]
add eax, eax
mov edx, dword [edx + eax*8 + 0x1c]
mov eax, dword [esi + eax*8 + 0x18]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
test edx, edx
je 0x4a2231
movsx ecx, word [eax + 0x22]
mov eax, dword [edx]
cmp ecx, dword [eax]
jne 0x4a22a4
mov eax, dword [edx + 8]
mov ecx, esi
mov edx, dword [esp + 0x2c]
shr eax, 3
and eax, 1
push eax
push dword [esp + 0x74]
mov dword [esp + 0x20], eax
push edi
call fcn.0049f880
add esp, 0xc
test eax, eax
je 0x4a21fc
cmp dword [esp + 0x18], 0
je 0x4a21f9
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x70], 1
or dword [eax + 8], 8
or edi, 0xffffffff
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx + 0x1c]
cmp byte [eax + 0x45], 0
mov dword [esp + 0x48], edx
jne 0x4a4637
mov eax, dword [esp + 0x90]
cmp byte [eax], 8
jbe 0x4a2235
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x30], eax
mov dword [esp + 0xe0], eax
jmp 0x4a2235
mov edx, dword [esp + 0x48]
inc edi
cmp dword [ecx + 0x30], 0
je 0x4a2186
mov edi, dword [esi + 8]
mov dword [esp + 0x80], edi
test edi, edi
jne 0x4a2266
mov ecx, esi
call fcn.0049c800
mov ecx, dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x80], edi
test edi, edi
je 0x4a22bf
cmp dword [ecx + 0x30], 0
je 0x4a2324
push dword [esp + 0x90]
mov edx, ecx
mov ecx, esi
call fcn.0049d3f0
mov ecx, dword [esp + 0xac]
add esp, 4
mov dword [esi + 0x1a4], ecx
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.004c0564
mov esp, ebp
pop ebp
ret
push dword [eax]
mov eax, dword [esp + 0x1c]
push dword [eax]
movsx eax, word [eax + 0x22]
push eax
push str.expected__d_columns_for__s_but_got__d
push esi
call fcn.00444800
add esp, 0x14
mov edi, dword [esp + 0x1c]
mov eax, 1
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0xa8]
mov dword [esi + 0x1a4], ecx
test eax, eax
jne 0x4a22fa
mov eax, dword [esp + 0x90]
cmp byte [eax], 9
jne 0x4a22fa
push dword [esp + 0x88]
mov ecx, esi
call fcn.0049bf60
add esp, 4
mov esi, dword [esp + 0xcc]
test esi, esi
je 0x4a46d5
cmp dword [edi + 0x1c8], 0
je 0x4a4657
mov edx, esi
mov ecx, edi
call fcn.00441a40
jmp 0x4a46d5
mov edx, dword [esp + 0x48]
xor eax, eax
mov dword [esp + 0x44], eax
cmp dword [edx], eax
jle 0x4a25dd
lea eax, [eax + eax*4]
add edx, 8
shl eax, 4
add eax, edx
mov dword [esp + 0x50], eax
mov edx, dword [eax + 0x14]
mov dword [esp + 0x78], edx
test edx, edx
je 0x4a25c8
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4a237d
test byte [eax + 0x28], 0x10
jne 0x4a25c8
push edx
push dword [eax + 0x1c]
mov edx, 0xe
mov ecx, edi
call fcn.00460df0
add esp, 8
jmp 0x4a25c4
call fcn.004762b0
mov edx, dword [esp + 0x50]
add dword [esi + 0x1a0], eax
test byte [edx + 0x24], 0x20
jne 0x4a23b0
mov eax, dword [esp + 0x2c]
push dword [edx + 0x30]
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x20]
push dword [eax + 0x20]
call fcn.0049fe50
mov edx, dword [esp + 0x58]
add esp, 8
cmp dword [esp + 0x44], 0
jne 0x4a24b0
mov eax, dword [esp + 0x48]
cmp dword [eax], 1
je 0x4a23ce
test byte [eax + 0x7c], 0xa
je 0x4a24b0
mov eax, dword [esp + 0x2c]
test byte [eax + 8], 2
jne 0x4a24b0
mov eax, dword [esp + 0x1c]
mov ecx, 0x100
test word [eax + 0x40], cx
jne 0x4a24b0
mov ecx, dword [esp + 0x14]
mov esi, dword [edi + 0x88]
inc esi
push esi
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [ecx + 0x2c], eax
mov ecx, edi
mov dword [edx + 0x1c], eax
mov edx, 0xf
push 0
push eax
call fcn.00460c80
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x144], 0xd
mov dword [esp + 0x148], 0
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x18], esi
mov dword [esp + 0x14c], eax
mov al, byte [ecx + 0x1a8]
mov byte [edx + 0x2c], al
lea eax, [esp + 0x144]
mov edx, dword [esp + 0x78]
push eax
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
call fcn.004a2040
mov edx, dword [esp + 0x54]
add esp, 4
mov eax, dword [esp + 0x78]
mov ecx, dword [edx + 0x10]
mov ax, word [eax + 6]
mov word [ecx + 0x26], ax
mov ecx, edi
mov eax, dword [esp + 0x150]
or dword [edx + 0x28], 0x10
mov dword [edx + 0x20], eax
mov edx, dword [edx + 0x1c]
call fcn.004612d0
lea edx, [esi - 1]
mov ecx, edi
call fcn.004616c0
mov esi, dword [esp + 0x14]
jmp 0x4a259c
xor eax, eax
mov ecx, edi
mov dword [esp + 0x8c], eax
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esi + 0x2c], eax
push eax
mov dword [edx + 0x1c], eax
mov edx, 0x4c
push 0
call fcn.00460df0
mov ecx, dword [esp + 0x58]
add esp, 8
mov dword [esp + 0x18], eax
inc eax
test byte [ecx + 0x28], 8
mov dword [ecx + 0x18], eax
jne 0x4a24fe
mov edx, 0x14
mov ecx, edi
call fcn.00460d00
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x8c], eax
mov eax, dword [ecx + 0x30]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x14c], eax
mov al, byte [esi + 0x1a8]
mov byte [ecx + 0x2c], al
lea eax, [esp + 0x144]
push eax
mov ecx, esi
mov byte [esp + 0x148], 0xc
mov dword [esp + 0x14c], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
call fcn.004a2040
mov ecx, dword [esp + 0x54]
add esp, 4
mov eax, dword [esp + 0x78]
mov ecx, dword [ecx + 0x10]
mov ax, word [eax + 6]
mov word [ecx + 0x26], ax
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4a2577
mov edx, eax
mov ecx, edi
call fcn.004616c0
mov eax, dword [esp + 0x50]
mov edx, 0x48
mov ecx, edi
push dword [eax + 0x1c]
call fcn.00460d70
mov edx, dword [esp + 0x1c]
add esp, 4
mov ecx, edi
push eax
call fcn.00461660
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x1c], 0
mov byte [esi + 0x13], 0
cmp byte [eax + 0x45], 0
jne 0x4a22bf
mov ecx, dword [esp + 0x2c]
call fcn.004762b0
sub dword [esi + 0x1a0], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
inc eax
mov dword [esp + 0x44], eax
cmp eax, dword [edx]
jl 0x4a2336
mov eax, dword [ecx + 0x20]
mov edx, dword [ecx]
mov dword [esp + 0xa0], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x8c], eax
mov al, byte [ecx + 8]
and al, 1
mov dword [esp + 0x88], edx
mov byte [esp + 0x13], al
mov byte [esp + 0x144], al
mov eax, dword [ecx + 8]
and al, 9
cmp al, 1
jne 0x4a265d
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
call fcn.0047d4b0
mov edx, dword [esp + 0x8c]
add esp, 4
test eax, eax
jne 0x4a265d
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
push 0
and dword [eax + 8], 0xfffffffe
call fcn.00477010
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x58], edx
mov dword [eax + 0x24], edx
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4a27a2
push dword [edx]
mov edx, eax
mov ecx, esi
push 0
call fcn.0049b2a0
mov edx, eax
add esp, 8
mov eax, dword [esi + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0xe8], eax
inc eax
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x18], edx
mov ecx, dword [eax]
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
inc eax
add ecx, eax
mov eax, dword [edi + 0x88]
mov dword [esp + 0x84], eax
mov eax, dword [edi + 0xc]
mov esi, dword [esp + 0x84]
mov dword [esp + 0x7c], ecx
cmp dword [eax + 0x30], esi
mov esi, dword [esp + 0x14]
jg 0x4a26ea
push 0
push ecx
push dword [esp + 0x28]
mov edx, 0x6b
mov ecx, edi
call fcn.00460c40
mov edx, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x84], eax
jmp 0x4a2736
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x7c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x14]
mov word [eax + ecx*4], 0x6b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x84]
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
je 0x4a2755
push edx
mov edx, 0xfffffffa
call fcn.004618a0
mov eax, dword [esp + 0x88]
add esp, 4
jmp 0x4a27ac
cmp dword [esp + 0x84], 0
jge 0x4a2766
mov eax, dword [edi + 0x88]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x58]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4a278e
push 0xfffffffffffffffa
push edx
mov edx, eax
mov ecx, edi
call fcn.00461a90
mov eax, dword [esp + 0x8c]
add esp, 8
jmp 0x4a27ac
test edx, edx
je 0x4a2799
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfa
mov eax, dword [esp + 0x84]
jmp 0x4a27ac
or eax, 0xffffffff
mov dword [esp + 0x84], eax
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x90]
cmp byte [eax], 0xc
jne 0x4a27da
mov ecx, dword [esp + 0x88]
mov edx, 0x6b
push dword [ecx]
mov ecx, edi
push dword [eax + 8]
call fcn.00460df0
add esp, 8
mov ecx, edi
call fcn.00461350
mov ecx, eax
mov edx, 0x140
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xac], ecx
push ecx
mov ecx, esi
mov word [eax + 6], dx
mov edx, eax
call fcn.0049c8e0
mov edx, dword [esp + 0x30]
add esp, 4
cmp dword [edx + 0xc], 0
jne 0x4a2833
mov eax, dword [esp + 0x84]
test eax, eax
js 0x4a2833
push 0x6c
mov edx, eax
mov ecx, edi
call fcn.00461620
mov edx, dword [esp + 0x30]
add esp, 4
or byte [esp + 0xfc], 1
test byte [edx + 8], 1
je 0x4a2959
mov eax, dword [esi + 0x28]
mov ecx, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x148], eax
inc eax
mov dword [esi + 0x28], eax
mov edx, dword [edx]
push 0
push 0
call fcn.0049b2a0
mov edx, dword [edi + 0x88]
add esp, 8
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x44], edx
cmp dword [eax + 0x30], edx
jg 0x4a2894
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x6b
mov ecx, edi
call fcn.00460c40
mov edx, eax
add esp, 0xc
mov dword [esp + 0x44], edx
jmp 0x4a28d2
mov esi, dword [esp + 0x20]
lea eax, [edx + 1]
mov dword [edi + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x14]
mov word [eax + ecx*4], 0x6b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
mov eax, edx
cmp byte [ecx + 0x45], 0
je 0x4a28f6
mov ecx, dword [esp + 0x68]
mov edx, 0xfffffffa
push ecx
mov ecx, dword [edi]
call fcn.004618a0
mov edx, dword [esp + 0x48]
add esp, 4
jmp 0x4a2935
test edx, edx
jns 0x4a2901
mov eax, dword [edi + 0x88]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x58]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x68]
je 0x4a292a
push 0xfffffffffffffffa
push ecx
mov edx, eax
mov ecx, edi
call fcn.00461a90
mov edx, dword [esp + 0x4c]
add esp, 8
jmp 0x4a2935
test ecx, ecx
je 0x4a2935
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfa
mov eax, dword [edi + 0x88]
mov dword [esp + 0x14c], edx
test eax, eax
jle 0x4a2951
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x58]
mov byte [eax + ecx*4 - 0x11], 8
mov edx, dword [esp + 0x2c]
mov al, 3
jmp 0x4a295b
xor al, al
cmp dword [esp + 0x70], 0
mov ecx, dword [esp + 0x58]
mov byte [esp + 0x145], al
mov dword [esp + 0x78], eax
jne 0x4a2aa6
test ecx, ecx
jne 0x4a2aa6
cmp byte [esp + 0x13], cl
mov eax, 0x100
mov dword [esp + 0x18], 0x4000
cmovne ecx, eax
mov ax, word [edx + 8]
and ax, word [esp + 0x18]
or cx, ax
movsx eax, word [edx + 6]
push eax
movzx ecx, cx
push ecx
push dword [edx]
mov edx, dword [esp + 0x54]
mov ecx, esi
push dword [esp + 0x3c]
push dword [esp + 0xb0]
call fcn.004b5540
mov edx, eax
add esp, 0x14
mov dword [esp + 0x8c], edx
test edx, edx
je 0x4a4645
mov eax, dword [esp + 0x2c]
movzx ecx, word [edx + 0x48]
cmp cx, word [eax + 6]
jge 0x4a29e4
mov word [eax + 6], cx
cmp byte [esp + 0x13], 0
je 0x4a2a10
mov eax, dword [esp + 0x78]
mov cl, byte [edx + 0x2f]
movzx eax, al
test cl, cl
mov dword [esp + 0x78], eax
movzx eax, cl
mov ecx, dword [esp + 0x78]
cmovne ecx, eax
mov dword [esp + 0x78], ecx
mov byte [esp + 0x145], cl
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4a2a42
mov al, byte [edx + 0x30]
movsx ecx, byte [edx + 0x2b]
mov byte [esp + 0xfd], al
mov eax, dword [esp + 0x30]
mov dword [esp + 0xe4], ecx
cmp ecx, dword [eax]
mov ecx, 0
cmove eax, ecx
mov dword [esp + 0xe0], eax
mov ecx, dword [esp + 0x84]
test ecx, ecx
js 0x4a2a61
test eax, eax
jne 0x4a2a61
mov edx, ecx
mov ecx, edi
call fcn.00461a40
mov edx, dword [esp + 0x8c]
push dword [edx + 0x20]
lea eax, [esp + 0x148]
mov ecx, esi
push dword [edx + 0x1c]
mov edx, dword [esp + 0x34]
push dword [esp + 0x98]
push eax
lea eax, [esp + 0xf0]
push eax
push 0xffffffffffffffff
push dword [esp + 0xa0]
call fcn.0049a5b0
mov ecx, dword [esp + 0xa8]
add esp, 0x1c
call fcn.004b5fe0
jmp 0x4a45a0
mov dword [esp + 0x54], 0
mov dword [esp + 0x4c], 0
test ecx, ecx
je 0x4a2b17
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
jle 0x4a2ada
add ecx, 0x16
xor esi, esi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], si
test eax, eax
jg 0x4a2ac8
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
jle 0x4a2b05
add ecx, 0x16
lea ebx, [ebx]
xor edi, edi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], di
test eax, eax
jg 0x4a2af0
mov edi, dword [esp + 0x80]
cmp word [edx + 6], 0x42
mov ecx, dword [esp + 0x58]
jle 0x4a2b1d
mov eax, 0x42
jmp 0x4a2b19
xor eax, eax
mov word [edx + 6], ax
mov edx, dword [esp + 0x30]
push 0xffffffffffffffff
call fcn.0047d4b0
add esp, 4
mov ecx, 1
test eax, eax
mov eax, 0
cmove eax, ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x7c], ecx
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x20], edx
lea eax, [edx + 1]
mov dword [ecx + 0x48], eax
lea eax, [edx - 1]
test edx, eax
jne 0x4a2b7e
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x4c]
mov ecx, dword [ecx]
push 0
push eax
call fcn.00441f00
mov ecx, dword [esp + 0x84]
add esp, 8
mov edx, dword [esp + 0x20]
mov dword [ecx + 0x4c], eax
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x4a2b8c
mov dword [eax + edx*4], 0xffffffff
mov ecx, dword [esp + 0x58]
or eax, 0xffffffff
sub eax, edx
xorps xmm0, xmm0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x48]
movdqa xmmword [esp + 0x100], xmm0
mov dword [esp + 0x104], eax
lea eax, [esp + 0xb0]
mov dword [esp + 0x10c], eax
mov eax, dword [esi + 0x2c]
inc eax
movdqa xmmword [esp + 0x110], xmm0
mov dword [esp + 0x100], esi
mov dword [esp + 0xc0], eax
test ecx, ecx
je 0x4a2be8
mov eax, dword [ecx]
mov dword [esp + 0xbc], eax
jmp 0x4a2bf3
mov dword [esp + 0xbc], 0
mov edx, dword [esp + 0x88]
mov dword [esp + 0xc8], ecx
lea ecx, [esp + 0x100]
call fcn.0047da60
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x100]
call fcn.0047da60
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4a2c7a
xorps xmm0, xmm0
mov dword [esp + 0x138], 0
lea ecx, [esp + 0x100]
movdqa xmmword [esp + 0x120], xmm0
mov dword [esp + 0x138], ecx
mov edx, eax
lea ecx, [esp + 0x120]
movq qword [esp + 0x130], xmm0
mov dword [esp + 0x124], 0x47d740
mov dword [esp + 0x128], fcn.0040ab50
call fcn.00473230
cmp dword [esp + 0xdc], 0
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0xd4], ecx
jle 0x4a2cfc
mov ax, word [esp + 0x11c]
xor esi, esi
xor edi, edi
mov edi, edi
or ax, 8
lea ecx, [esp + 0x100]
mov word [esp + 0x11c], ax
mov eax, dword [esp + 0xd8]
mov edx, dword [esi + eax]
mov edx, dword [edx + 0x14]
call fcn.0047da60
mov ax, word [esp + 0x11c]
lea esi, [esi + 0x10]
mov ecx, 0xfff7
inc edi
and ax, cx
mov word [esp + 0x11c], ax
cmp edi, dword [esp + 0xdc]
jl 0x4a2ca0
mov ecx, dword [esp + 0xd0]
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x45], 0
jne 0x4a22bf
mov edx, dword [esp + 0x58]
test edx, edx
je 0x4a4054
mov eax, dword [esi + 0x28]
push ecx
mov dword [esp + 0xb8], eax
mov ecx, esi
inc eax
push 0
mov dword [esi + 0x28], eax
call fcn.0049b2a0
mov ecx, dword [esp + 0xbc]
add esp, 8
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x98], eax
mov eax, dword [edi + 0x88]
mov dword [esp + 0xa4], eax
mov eax, dword [edi + 0xc]
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x7c], ecx
cmp dword [eax + 0x30], esi
mov esi, dword [esp + 0x14]
jg 0x4a2d92
push 0
push edx
push ecx
mov edx, 0x6c
mov ecx, edi
call fcn.00460c40
mov edx, eax
add esp, 0xc
mov dword [esp + 0xa4], edx
jmp 0x4a2dda
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0x7c]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0xa4]
mov word [eax + ecx*4], 0x6c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
mov eax, edx
cmp byte [ecx + 0x45], 0
je 0x4a2dfb
mov edx, dword [esp + 0x98]
push edx
mov edx, 0xfffffffa
call fcn.004618a0
add esp, 4
jmp 0x4a2e39
test edx, edx
jns 0x4a2e06
mov eax, dword [edi + 0x88]
dec eax
mov edx, dword [esp + 0x98]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x58]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4a2e2e
push 0xfffffffffffffffa
push edx
mov edx, eax
mov ecx, edi
call fcn.00461a90
add esp, 8
jmp 0x4a2e39
test edx, edx
je 0x4a2e39
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfa
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esp + 0x9c], eax
inc eax
mov dword [esp + 0x64], eax
inc eax
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x7c], ecx
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x20], edx
lea eax, [edx + 1]
mov dword [ecx + 0x48], eax
lea eax, [edx - 1]
test edx, eax
jne 0x4a2e8d
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x4c]
mov ecx, dword [ecx]
push 0
push eax
call fcn.00441f00
mov ecx, dword [esp + 0x84]
add esp, 8
mov edx, dword [esp + 0x20]
mov dword [ecx + 0x4c], eax
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x4a2e9b
mov dword [eax + edx*4], 0xffffffff
inc dword [esi + 0x2c]
or eax, 0xffffffff
mov ecx, dword [edi + 0xc]
sub eax, edx
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x74], eax
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x20], edx
lea eax, [edx + 1]
mov dword [ecx + 0x48], eax
lea eax, [edx - 1]
test edx, eax
jne 0x4a2eee
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x4c]
mov ecx, dword [ecx]
push 0
push eax
call fcn.00441f00
mov ecx, dword [esp + 0x84]
add esp, 8
mov edx, dword [esp + 0x20]
mov dword [ecx + 0x4c], eax
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x4a2efc
mov dword [eax + edx*4], 0xffffffff
or eax, 0xffffffff
sub eax, edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x2c]
lea ecx, [eax + 1]
mov dword [esp + 0x6c], ecx
mov ecx, dword [edx]
add ecx, eax
mov dword [esi + 0x2c], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x94], eax
mov eax, dword [edx]
add eax, ecx
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a2f52
push 0
push dword [esp + 0x68]
mov edx, 0x4c
mov ecx, edi
push 0
call fcn.00460c40
add esp, 0xc
jmp 0x4a2f8c
mov edx, dword [esp + 0x64]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0x4c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a2fb6
push 0
push dword [esp + 0xa0]
mov edx, 0x4c
mov ecx, edi
push 0
call fcn.00460c40
add esp, 0xc
jmp 0x4a2ff3
mov edx, dword [esp + 0x9c]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0x4c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x6c]
mov eax, dword [edi + 0xc]
dec edx
add edx, dword [ecx]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a3024
push edx
push dword [esp + 0x70]
mov edx, 0x4f
mov ecx, edi
push 0
call fcn.00460c40
add esp, 0xc
jmp 0x4a305e
mov esi, dword [esp + 0x6c]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x14]
mov word [eax + ecx*4], 0x4f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a3087
push 0
push dword [esp + 0x6c]
mov edx, 0xe
mov ecx, edi
push dword [esp + 0x7c]
call fcn.00460c40
add esp, 0xc
jmp 0x4a30c1
mov edx, dword [esp + 0x74]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov ecx, esi
mov edx, dword [esp + 0x48]
neg eax
push 0
sbb eax, eax
and eax, 0x200
or ax, 0x40
movzx eax, ax
push eax
push 0
push dword [esp + 0x64]
push dword [esp + 0xb0]
call fcn.004b5540
mov edx, eax
add esp, 0x14
mov dword [esp + 0x20], edx
test edx, edx
je 0x4a22bf
mov ecx, dword [esp + 0x58]
movsx eax, byte [edx + 0x2b]
cmp eax, dword [ecx]
jne 0x4a3118
xor ecx, ecx
mov dword [esp + 0x44], ecx
jmp 0x4a3622
cmp byte [esp + 0x13], 0
je 0x4a312e
mov eax, dword [esp + 0x2c]
mov edx, str.DISTINCT
test byte [eax + 8], 1
je 0x4a3133
mov edx, str.GROUP_BY
mov ecx, esi
call fcn.0049b330
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x44], 1
mov eax, dword [eax]
mov ecx, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x30], eax
test edx, edx
jle 0x4a3176
mov eax, dword [esp + 0xcc]
add eax, 0xc
cmp dword [eax], ecx
jl 0x4a3170
inc dword [esp + 0x30]
inc ecx
add eax, 0x18
dec edx
jne 0x4a3167
mov eax, dword [esp + 0x30]
cmp eax, 1
jne 0x4a31a7
mov al, byte [esi + 0x13]
test al, al
jne 0x4a3192
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x4c], eax
jmp 0x4a31d4
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x160]
mov dword [esp + 0x4c], eax
jmp 0x4a31d4
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x4c], edx
cmp eax, ecx
jg 0x4a31c3
add eax, edx
sub ecx, dword [esp + 0x30]
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], ecx
jmp 0x4a31d4
mov eax, dword [esi + 0x2c]
lea ecx, [eax + 1]
add eax, dword [esp + 0x30]
mov dword [esp + 0x4c], ecx
mov dword [esi + 0x2c], eax
mov ecx, esi
call fcn.0047b0f0
mov edx, dword [esp + 0x58]
push 0
push 0
push dword [esp + 0x54]
call fcn.0047c890
mov ecx, dword [esp + 0xdc]
add esp, 0xc
mov dword [esp + 0x7c], 0
test ecx, ecx
jle 0x4a32f7
mov edi, dword [esp + 0x4c]
add edi, dword [esp + 0x54]
xor edx, edx
mov dword [esp + 0x5c], edx
jmp 0x4a3220
mov eax, dword [esp + 0xcc]
mov esi, dword [esp + 0x54]
cmp dword [edx + eax + 0xc], esi
mov esi, dword [esp + 0x14]
jl 0x4a32d8
push 0
push edi
push dword [edx + eax + 4]
mov ecx, esi
push dword [edx + eax + 8]
mov edx, dword [edx + eax]
call fcn.0047b010
add esp, 0x10
mov dword [esp + 0xa0], eax
cmp eax, edi
je 0x4a32c8
mov ecx, dword [esi + 8]
mov dword [esp + 0x60], ecx
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x88]
cmp dword [eax + 0x30], edx
jg 0x4a328b
mov edx, dword [esp + 0xa0]
push 0
push edi
push edx
mov edx, 0x55
call fcn.00460c40
add esp, 0xc
jmp 0x4a32c8
lea eax, [edx + 1]
mov dword [ecx + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0xa0]
mov eax, dword [eax + 0x58]
mov word [eax + ecx*4], 0x55
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
inc dword [esp + 0x54]
inc edi
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x7c]
add edx, 0x18
inc eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x7c], eax
cmp eax, ecx
jl 0x4a3220
mov edi, dword [esp + 0x80]
mov al, byte [esi + 0x13]
test al, al
jne 0x4a3306
inc dword [esi + 0x2c]
mov edx, dword [esi + 0x2c]
jmp 0x4a3315
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov edx, dword [esi + eax*4 + 0x160]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
mov dword [esp + 0x54], edx
cmp dword [eax + 0x30], ecx
jg 0x4a3345
push edx
push dword [esp + 0x34]
mov edx, 0x63
mov ecx, edi
push dword [esp + 0x54]
call fcn.00460c40
mov edx, dword [esp + 0x60]
add esp, 0xc
jmp 0x4a337f
mov esi, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x14]
mov word [eax + ecx*4], 0x63
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xb4]
mov ecx, dword [edi + 0x88]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x4a33b4
push 0
push edx
push dword [esp + 0x64]
mov edx, 0x7d
mov ecx, edi
call fcn.00460c40
mov edx, dword [esp + 0x60]
add esp, 0xc
jmp 0x4a33ee
mov esi, dword [esp + 0x5c]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x14]
mov word [eax + ecx*4], 0x7d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test edx, edx
je 0x4a3442
mov al, byte [esi + 0x13]
mov byte [esp + 0x13], al
cmp al, 8
jae 0x4a3442
movzx edi, byte [esi + 0x19]
lea eax, [esi + 0x98]
xor ecx, ecx
mov dword [esp + 0x60], edi
test edi, edi
mov edi, dword [esp + 0x80]
jle 0x4a3433
jmp 0x4a3420
cmp dword [eax + 0xc], edx
je 0x4a349e
inc ecx
add eax, 0x14
cmp ecx, dword [esp + 0x60]
jl 0x4a3420
movzx eax, byte [esp + 0x13]
mov dword [esi + eax*4 + 0x160], edx
inc byte [esi + 0x13]
mov eax, dword [esp + 0x30]
cmp eax, 1
jne 0x4a34aa
cmp dword [esp + 0x4c], 0
je 0x4a34cc
mov al, byte [esi + 0x13]
mov byte [esp + 0x13], al
cmp al, 8
jae 0x4a34cc
movzx edx, byte [esi + 0x19]
lea eax, [esi + 0x98]
xor ecx, ecx
test edx, edx
jle 0x4a3489
mov edi, dword [esp + 0x4c]
cmp dword [eax + 0xc], edi
mov edi, dword [esp + 0x80]
je 0x4a34a4
inc ecx
add eax, 0x14
cmp ecx, edx
jl 0x4a3471
movzx eax, byte [esp + 0x13]
mov ecx, dword [esp + 0x4c]
mov dword [esi + eax*4 + 0x160], ecx
inc byte [esi + 0x13]
jmp 0x4a34cc
mov byte [eax + 6], 1
jmp 0x4a3442
mov byte [eax + 6], 1
jmp 0x4a34cc
mov edx, dword [esp + 0x4c]
mov ecx, esi
push eax
call fcn.0047ad90
mov eax, dword [esp + 0x34]
add esp, 4
cmp eax, dword [esi + 0x1c]
jle 0x4a34cc
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x20]
call fcn.004b5fe0
mov edx, dword [esi + 0x28]
mov dword [esp + 0x54], edx
mov dword [esp + 0xb8], edx
lea eax, [edx + 1]
mov dword [esi + 0x28], eax
mov al, byte [esi + 0x13]
test al, al
jne 0x4a34f8
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
jmp 0x4a3507
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x160]
mov ecx, dword [edi + 0x88]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x4a3533
push dword [esp + 0x30]
mov ecx, edi
push dword [esp + 0x50]
push edx
mov edx, 0x6e
call fcn.00460c40
add esp, 0xc
jmp 0x4a3569
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x6e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
mov edx, dword [esp + 0xb4]
cmp dword [eax + 0x30], ecx
jg 0x4a3596
push 0
push dword [esp + 0x54]
mov ecx, edi
push edx
mov edx, 0x37
call fcn.00460c40
add esp, 0xc
jmp 0x4a35cc
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 0x37
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
xor ecx, ecx
mov byte [esp + 0xb1], 1
mov dword [esp + 0x5c], ecx
cmp byte [esi + 0x19], cl
jbe 0x4a3615
lea edx, [esi + 0xa4]
cmp byte [edx - 6], 0
je 0x4a3605
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4a3605
movzx ecx, al
mov eax, dword [edx]
mov dword [esi + ecx*4 + 0x160], eax
inc byte [esi + 0x13]
mov ecx, dword [esp + 0x5c]
movzx eax, byte [esi + 0x19]
inc ecx
add edx, 0x14
mov dword [esp + 0x5c], ecx
cmp ecx, eax
jl 0x4a35e5
mov edx, dword [esp + 0x20]
mov ecx, 1
mov byte [esi + 0x19], 0
cmp dword [esp + 0x18], 0
je 0x4a3682
mov eax, dword [esp + 0x1c]
test byte [eax + 0x40], 4
jne 0x4a3682
test ecx, ecx
jne 0x4a363c
cmp byte [edx + 0x2c], cl
je 0x4a3682
mov eax, dword [edi]
mov dword [esp + 0xe0], 0
cmp byte [eax + 0x45], 0
jne 0x4a3682
mov eax, dword [esp + 0x84]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x58]
push dword [eax + ecx*4 + 0x10]
movsx edx, byte [eax + ecx*4 + 1]
lea esi, [eax + ecx*4]
mov ecx, dword [edi]
call fcn.004618a0
mov word [esi], 0xa1
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x14]
mov eax, dword [edi + 0x88]
xor ecx, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x18], ecx
cmp byte [esi + 0x19], cl
jbe 0x4a36d0
lea edx, [esi + 0xa4]
lea ecx, [ecx]
cmp byte [edx - 6], 0
je 0x4a36c0
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4a36c0
movzx ecx, al
mov eax, dword [edx]
mov dword [esi + ecx*4 + 0x160], eax
inc byte [esi + 0x13]
mov ecx, dword [esp + 0x18]
movzx eax, byte [esi + 0x19]
inc ecx
add edx, 0x14
mov dword [esp + 0x18], ecx
cmp ecx, eax
jl 0x4a36a0
cmp dword [esp + 0x44], 0
mov byte [esi + 0x19], 0
je 0x4a3740
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
mov edx, dword [esp + 0xb4]
cmp dword [eax + 0x30], ecx
jg 0x4a370a
push dword [esp + 0x54]
mov ecx, edi
push dword [esp + 0x50]
push edx
mov edx, 0x78
call fcn.00460c40
add esp, 0xc
jmp 0x4a3740
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x78
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x58]
xor edx, edx
mov dword [esp + 0x80], edx
cmp dword [eax], edx
jle 0x4a381e
xor ecx, ecx
mov dword [esp + 0x18], ecx
jmp 0x4a3760
cmp dword [esp + 0x44], 0
je 0x4a37d2
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a3795
mov eax, dword [esp + 0x94]
mov ecx, edi
add eax, edx
push eax
push edx
push dword [esp + 0x5c]
mov edx, 0x60
call fcn.00460c40
add esp, 0xc
jmp 0x4a37f8
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0x60
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x54]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x94]
add eax, edx
mov dword [ecx + 0xc], eax
jmp 0x4a37ff
mov eax, dword [esp + 0x94]
add eax, edx
mov byte [esp + 0xb0], 1
push eax
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 4]
mov edx, dword [edx + ecx]
mov ecx, esi
call fcn.0047c750
add esp, 4
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x58]
inc edx
mov ecx, dword [esp + 0x18]
add ecx, 0x18
mov dword [esp + 0x80], edx
mov dword [esp + 0x18], ecx
cmp edx, dword [eax]
jl 0x4a3760
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x4a382b
inc dword [ecx]
mov ecx, dword [eax]
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 0x88]
mov dword [esp + 0x60], ecx
cmp dword [eax + 0x30], edx
jg 0x4a385e
push ecx
push dword [esp + 0x98]
mov edx, 0x5f
mov ecx, edi
push dword [esp + 0x74]
call fcn.00460c40
add esp, 0xc
mov edx, eax
jmp 0x4a389f
mov esi, dword [esp + 0x6c]
lea eax, [edx + 1]
mov dword [edi + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x94]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x60]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x14]
mov word [eax + ecx*4], 0x5f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
je 0x4a38be
mov edx, dword [esp + 0x98]
push edx
mov edx, 0xfffffffa
call fcn.004618a0
add esp, 4
jmp 0x4a38fc
test edx, edx
jns 0x4a38c9
mov edx, dword [edi + 0x88]
dec edx
mov eax, dword [edi + 0x58]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov edx, dword [esp + 0x98]
je 0x4a38f1
push 0xfffffffffffffffa
push edx
mov edx, eax
mov ecx, edi
call fcn.00461a90
add esp, 8
jmp 0x4a38fc
test edx, edx
je 0x4a38fc
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfa
mov ecx, dword [edi + 0x88]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x18], ecx
lea edx, [ecx + 1]
cmp dword [eax + 0x30], ecx
jg 0x4a3926
push edx
push 0
push edx
mov edx, 0x12
mov ecx, edi
call fcn.00460c40
add esp, 0xc
jmp 0x4a3958
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x58]
mov ecx, dword [esi + 8]
mov dword [esp + 0x60], ecx
mov eax, dword [eax]
mov edx, dword [ecx + 0x88]
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 0xc]
cmp dword [eax + 0x30], edx
jg 0x4a3996
mov edx, dword [esp + 0x54]
push edx
push dword [esp + 0x70]
mov edx, 0x53
push dword [esp + 0x9c]
call fcn.00460c40
add esp, 0xc
jmp 0x4a39d7
lea eax, [edx + 1]
mov dword [ecx + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x94]
mov eax, dword [eax + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x53
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x54]
mov edx, dword [esp + 0x98]
mov ecx, esi
call fcn.0047ad90
mov eax, dword [edi + 0xc]
add esp, 4
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a3a17
mov eax, dword [esp + 0x64]
mov edx, 0xe
push 0
push dword [esp + 0x74]
inc eax
mov ecx, edi
push eax
call fcn.00460c40
add esp, 0xc
jmp 0x4a3a56
mov edx, dword [esp + 0x64]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x88], eax
inc edx
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x70]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a3a7f
push 0
push dword [esp + 0x54]
mov edx, 0x42
mov ecx, edi
push dword [esp + 0x6c]
call fcn.00460c40
add esp, 0xc
jmp 0x4a3ab9
mov edx, dword [esp + 0x64]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 0x42
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a3ae2
push 0
push dword [esp + 0x6c]
mov edx, 0xe
mov ecx, edi
push dword [esp + 0x7c]
call fcn.00460c40
add esp, 0xc
jmp 0x4a3b1c
mov edx, dword [esp + 0x74]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x88]
test ecx, ecx
jns 0x4a3b2d
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x4a3b3c
mov eax, 0x66bf04
jmp 0x4a3b45
mov eax, dword [edi + 0x58]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, esi
lea edx, [esp + 0xb0]
call fcn.004a1990
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a3b80
push 0
push dword [esp + 0xa0]
mov edx, 0x4c
mov ecx, edi
push 1
call fcn.00460c40
add esp, 0xc
jmp 0x4a3bbd
mov edx, dword [esp + 0x9c]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0x4c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x44], 0
je 0x4a3c2c
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
mov edx, dword [esp + 0xb4]
cmp dword [eax + 0x30], ecx
jg 0x4a3bf4
push 0
push dword [esp + 0x60]
mov ecx, edi
push edx
mov edx, 3
call fcn.00460c40
add esp, 0xc
jmp 0x4a3c70
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov word [eax + ecx*4], 3
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a3c70
mov ecx, dword [esp + 0x20]
call fcn.004b5fe0
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
jne 0x4a3c70
mov eax, dword [esp + 0xa4]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x58]
push dword [eax + ecx*4 + 0x10]
movsx edx, byte [eax + ecx*4 + 1]
lea esi, [eax + ecx*4]
mov ecx, dword [edi]
call fcn.004618a0
mov word [esi], 0xa1
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x14]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a3c9b
mov eax, dword [esp + 0x64]
mov edx, 0xe
push 0
push dword [esp + 0x74]
inc eax
mov ecx, edi
push eax
call fcn.00460c40
add esp, 0xc
jmp 0x4a3cda
mov edx, dword [esp + 0x64]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x88], eax
inc edx
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x70]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a3d01
push 0
push dword [esp + 0x54]
mov edx, 0xd
mov ecx, edi
push 0
call fcn.00460c40
add esp, 0xc
jmp 0x4a3d3b
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
mov dword [esp + 0x18], ecx
cmp dword [eax + 0x30], ecx
jg 0x4a3d6a
push 0
push dword [esp + 0x68]
mov edx, 0x4c
mov ecx, edi
push 1
call fcn.00460c40
mov edx, dword [esp + 0x70]
add esp, 0xc
jmp 0x4a3da4
mov edx, dword [esp + 0x64]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0x4c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a3dcb
push 0
lea eax, [edx + 1]
mov ecx, edi
push 0
push eax
mov edx, 0x48
call fcn.00460c40
add esp, 0xc
jmp 0x4a3e0a
mov edx, dword [esp + 0x64]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x88], eax
inc edx
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0x48
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x4a3e29
mov eax, dword [esp + 0x70]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x88]
mov dword [ecx], eax
mov ecx, dword [edi + 0x88]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x60], ecx
lea edx, [ecx + 2]
cmp dword [eax + 0x30], ecx
jg 0x4a3e59
push 0
push edx
push dword [esp + 0xa4]
mov edx, 0x42
mov ecx, edi
call fcn.00460c40
add esp, 0xc
jmp 0x4a3e96
mov esi, dword [esp + 0x9c]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x14]
mov word [eax + ecx*4], 0x42
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a3ebf
mov eax, dword [esp + 0x64]
mov edx, 0x48
push 0
inc eax
mov ecx, edi
push 0
push eax
call fcn.00460c40
add esp, 0xc
jmp 0x4a3efe
mov edx, dword [esp + 0x64]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x88], eax
inc edx
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0x48
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea edx, [esp + 0xb0]
mov ecx, esi
call fcn.004a1870
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x8c]
inc esi
mov ecx, dword [esp + 0x14]
push 0x10
push esi
push eax
push ecx
call fcn.0047cfb0
push dword [esp + 0x28]
lea eax, [esp + 0x158]
push esi
push dword [esp + 0xa8]
mov esi, dword [esp + 0x30]
mov ecx, esi
push eax
lea eax, [esp + 0x100]
push eax
mov eax, dword [esp + 0x50]
mov edx, eax
push 0xffffffffffffffff
push dword [eax]
call fcn.0049a5b0
mov eax, dword [edi + 0xc]
add esp, 0x2c
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a3f83
mov eax, dword [esp + 0x64]
mov edx, 0x48
push 0
inc eax
mov ecx, edi
push 0
push eax
call fcn.00460c40
add esp, 0xc
jmp 0x4a3fbe
mov edx, dword [esp + 0x64]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
inc edx
mov word [eax + ecx*4], 0x48
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x4a3fdd
mov eax, dword [esp + 0x68]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x88]
mov dword [ecx], eax
lea edx, [esp + 0xb0]
mov ecx, esi
call fcn.004a16e0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a4015
push 0
push 0
push dword [esp + 0x7c]
mov edx, 0x48
mov ecx, edi
call fcn.00460c40
add esp, 0xc
jmp 0x4a4581
mov edx, dword [esp + 0x74]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0x48
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a4581
mov ecx, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x70], eax
cmp dword [ecx + 0x20], eax
jne 0x4a4422
mov eax, dword [ecx]
cmp dword [eax], 1
jne 0x4a4422
mov edx, dword [ecx + 0x1c]
cmp dword [edx], 1
jne 0x4a4422
cmp dword [edx + 0x1c], 0
jne 0x4a4422
mov edx, dword [edx + 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 0x6c], edx
test byte [edx + 0x2a], 0x10
mov eax, dword [eax]
mov dword [esp + 0x60], eax
jne 0x4a4422
cmp byte [eax], 0x99
jne 0x4a4422
cmp dword [esp + 0xdc], 0
je 0x4a4422
mov eax, dword [esp + 0xd8]
mov esi, 0x100
mov eax, dword [eax + 4]
test word [eax + 2], si
mov esi, dword [esp + 0x14]
je 0x4a4422
mov eax, dword [esp + 0x60]
test byte [eax + 4], 0x10
jne 0x4a4422
mov eax, dword [edx + 0x40]
mov ecx, 0xfff0bdc0
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], ecx
test eax, eax
je 0x4a412d
mov eax, dword [esi]
xor ecx, ecx
mov dword [esp + 0x68], ecx
cmp dword [eax + 0x14], ecx
jle 0x4a412d
mov eax, dword [eax + 0x10]
mov edx, dword [esp + 0x60]
add eax, 0xc
mov edi, dword [esi]
cmp dword [eax], edx
je 0x4a411e
inc ecx
add eax, 0x10
cmp ecx, dword [edi + 0x14]
jl 0x4a4111
mov edi, dword [esp + 0x80]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x68], ecx
mov eax, dword [esi + 0x28]
mov dword [esp + 0x74], eax
inc eax
mov dword [esi + 0x28], eax
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x44], eax
mov eax, dword [edx + 0x1c]
mov edx, esi
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x7c]
test eax, eax
cmovne edx, eax
mov eax, 1
mov dword [esp + 0x18], edx
shl eax, cl
mov edx, dword [edx + 0x60]
test edx, eax
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x6c]
jne 0x4a4192
mov esi, dword [esp + 0x18]
or eax, dword [esp + 0x60]
mov dword [esi + 0x60], eax
mov esi, dword [esp + 0x14]
cmp ecx, 1
jne 0x4a4192
mov ecx, dword [esp + 0x18]
call fcn.00487bf0
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
push dword [edx]
push 0
push dword [edx + 0x1c]
mov edx, ecx
mov ecx, esi
call fcn.004817b0
mov eax, dword [esp + 0x78]
add esp, 0xc
test byte [eax + 0x2a], 0x20
je 0x4a41da
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x4a41dc
lea ebx, [ebx]
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4a41d0
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4a41c0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x44], ecx
jmp 0x4a41dc
xor ecx, ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x4a4218
mov esi, dword [esp + 0x6c]
test byte [eax + 0x38], 4
jne 0x4a4209
movzx edx, word [eax + 0x30]
cmp dx, word [esi + 0x28]
jge 0x4a4209
cmp dword [eax + 0x24], 0
jne 0x4a4209
test ecx, ecx
je 0x4a4207
cmp dx, word [ecx + 0x30]
jge 0x4a4209
mov ecx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4a41e7
mov esi, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x4a4230
mov eax, dword [ecx + 0x2c]
mov edx, ecx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.00488490
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
mov dword [esp + 0x60], ecx
cmp dword [eax + 0x30], ecx
jg 0x4a4261
mov edx, dword [esp + 0x68]
mov ecx, edi
push edx
mov edx, dword [esp + 0x24]
push edx
push dword [esp + 0x7c]
mov edx, 0x68
call fcn.00460c40
add esp, 0xc
jmp 0x4a429f
mov edx, dword [esp + 0x74]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 0x68
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x60]
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
je 0x4a42b8
push 1
mov edx, 0xfffffff2
call fcn.004618a0
add esp, 4
jmp 0x4a42f0
test eax, eax
jns 0x4a42c3
mov eax, dword [edi + 0x88]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x58]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4a42e5
push 0xfffffffffffffff2
push 1
mov edx, eax
mov ecx, edi
call fcn.00461a90
add esp, 8
jmp 0x4a42f0
mov dword [eax + 0x10], 1
mov byte [eax + 1], 0xf2
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x4a433f
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
je 0x4a4310
push edx
mov edx, 0xfffffffa
call fcn.004618a0
add esp, 4
jmp 0x4a433f
mov eax, dword [edi + 0x88]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x58]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4a4338
push 0xfffffffffffffffa
push edx
mov edx, eax
mov ecx, edi
call fcn.00461a90
add esp, 8
jmp 0x4a433f
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfa
mov eax, dword [esp + 0xd8]
mov ecx, dword [edi + 0x88]
mov edx, dword [eax + 8]
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x4a436f
push 0
push edx
push dword [esp + 0x7c]
mov edx, 0x64
mov ecx, edi
call fcn.00460c40
add esp, 0xc
jmp 0x4a43a9
mov esi, dword [esp + 0x74]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x14]
mov word [eax + ecx*4], 0x64
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a43d0
push 0
push 0
push dword [esp + 0x7c]
mov edx, 0x6f
mov ecx, edi
call fcn.00460c40
add esp, 0xc
jmp 0x4a440a
mov edx, dword [esp + 0x74]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0x6f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x44]
mov ecx, esi
mov edx, dword [esp + 0x6c]
push eax
call fcn.004a1f10
add esp, 4
jmp 0x4a4527
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x13], al
cmp dword [ecx + 0x28], eax
jne 0x4a4493
lea edx, [esp + 0x20]
lea ecx, [esp + 0xb0]
call fcn.0049ff80
mov byte [esp + 0x13], al
test al, al
je 0x4a448b
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push 0
call fcn.00477010
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], edx
mov dword [esp + 0x70], edx
cmp byte [eax + 0x45], 0
jne 0x4a4493
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], 0x98
jmp 0x4a4493
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
lea edx, [esp + 0xb0]
mov ecx, esi
call fcn.004a16e0
mov al, byte [esp + 0x13]
mov ecx, esi
mov edx, dword [esp + 0x48]
push 0
movzx eax, al
push eax
push 0
push dword [esp + 0x50]
push dword [esp + 0xb0]
call fcn.004b5540
add esp, 0x14
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4a44ec
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x1c]
test eax, eax
je 0x4a22c3
mov edx, eax
mov ecx, edi
call fcn.00477af0
jmp 0x4a22c3
lea edx, [esp + 0xb0]
mov ecx, esi
call fcn.004a1990
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x2b], 0
jle 0x4a4512
mov edx, dword [eax + 0x20]
mov ecx, edi
call fcn.00460e70
mov eax, dword [esp + 0x18]
mov ecx, eax
call fcn.004b5fe0
lea edx, [esp + 0xb0]
mov ecx, esi
call fcn.004a1870
mov eax, dword [esp + 0x8c]
push 0x10
push dword [esp + 0x54]
mov dword [esp + 0xe8], 0
push eax
push esi
call fcn.0047cfb0
mov eax, dword [esp + 0x60]
mov ecx, esi
push eax
push eax
push dword [esp + 0xa8]
mov eax, dword [esp + 0x48]
mov edx, eax
push 0
push 0
push 0xffffffffffffffff
push dword [eax]
call fcn.0049a5b0
mov eax, dword [esp + 0x9c]
add esp, 0x2c
test eax, eax
je 0x4a4581
mov ecx, dword [esp + 0x1c]
mov edx, eax
call fcn.00477af0
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x4a45a0
mov eax, dword [esp + 0x50]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x88]
mov dword [ecx], eax
mov eax, dword [esp + 0x78]
cmp al, 3
jne 0x4a45b4
mov edx, str.DISTINCT
mov ecx, esi
call fcn.0049b330
cmp dword [esp + 0xe0], 0
je 0x4a4600
cmp dword [esp + 0xe4], 0
mov eax, str.ORDER_BY
mov edx, str.RIGHT_PART_OF_ORDER_BY
mov ecx, esi
cmovle edx, eax
call fcn.0049b330
mov eax, dword [esp + 0x88]
mov ecx, esi
push dword [esp + 0x90]
mov edx, dword [esp + 0x30]
push dword [eax]
lea eax, [esp + 0xe8]
push eax
call fcn.0049b550
add esp, 0xc
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x4a4622
mov eax, dword [esp + 0xac]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x88]
mov dword [ecx], eax
mov edi, dword [esp + 0x1c]
xor eax, eax
cmp dword [esi + 0x24], eax
setg al
mov dword [esp + 0x5c], eax
jmp 0x4a22c8
mov edi, dword [esp + 0x1c]
mov eax, 1
jmp 0x4a22cc
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
mov eax, 1
jmp 0x4a22cc
cmp esi, dword [edi + 0x120]
jb 0x4a467d
cmp esi, dword [edi + 0x124]
jae 0x4a467d
mov eax, dword [edi + 0x11c]
mov dword [esi], eax
dec dword [edi + 0x108]
mov dword [edi + 0x11c], esi
jmp 0x4a46d5
cmp dword [0x668758], 0
je 0x4a46cb
mov eax, dword [0x66bb18]
test eax, eax
je 0x4a4699
push eax
call dword [0x6687b0]
add esp, 4
push esi
call dword [0x66878c]
sub dword [0x66bb50], eax
add esp, 4
dec dword [0x66bb74]
push esi
call dword [0x668784]
mov eax, dword [0x66bb18]
add esp, 4
test eax, eax
je 0x4a46d5
push eax
call dword [0x6687b8]
jmp 0x4a46d2
push esi
call dword [0x668784]
add esp, 4
mov esi, dword [esp + 0xd8]
test esi, esi
je 0x4a47bb
cmp dword [edi + 0x1c8], 0
je 0x4a470e
mov edx, esi
mov ecx, edi
call fcn.00441a40
mov eax, dword [esp + 0x5c]
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.004c0564
mov esp, ebp
pop ebp
ret
cmp esi, dword [edi + 0x120]
jb 0x4a474a
cmp esi, dword [edi + 0x124]
jae 0x4a474a
mov eax, dword [edi + 0x11c]
mov dword [esi], eax
dec dword [edi + 0x108]
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x11c], esi
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.004c0564
mov esp, ebp
pop ebp
ret
cmp dword [0x668758], 0
je 0x4a47b1
mov eax, dword [0x66bb18]
test eax, eax
je 0x4a4766
push eax
call dword [0x6687b0]
add esp, 4
push esi
call dword [0x66878c]
sub dword [0x66bb50], eax
add esp, 4
dec dword [0x66bb74]
push esi
call dword [0x668784]
mov eax, dword [0x66bb18]
add esp, 4
test eax, eax
je 0x4a47bb
push eax
call dword [0x6687b8]
mov eax, dword [esp + 0x60]
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.004c0564
mov esp, ebp
pop ebp
ret
push esi
call dword [0x668784]
add esp, 4
mov eax, dword [esp + 0x5c]
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.004c0564
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x15c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.004c0564
mov esp, ebp
pop ebp
ret