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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], edi
mov eax, dword [edi + 0x1d0]
mov dword [esp + 0xec], eax
mov eax, dword [edi + 0x1d4]
mov dword [edi + 0x1d0], eax
inc eax
mov dword [edi + 0x1d4], eax
mov eax, dword [edi]
mov dword [esp + 0x4c], eax
test esi, esi
je 0x4a599c
cmp byte [eax + 0x40], 0
jne 0x4a599c
cmp dword [edi + 0x40], 0
jne 0x4a599c
push 0
push 0
push 0
mov edx, 0x15
call fcn.00483b80
add esp, 0xc
test eax, eax
jne 0x4a599c
push 0x30
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.0053ca90
mov eax, dword [ebp + 8]
add esp, 0xc
cmp byte [eax], 8
ja 0x4a36ae
mov edx, dword [esi + 0x30]
mov ecx, dword [esp + 0x4c]
call fcn.0047c250
mov eax, 0xfffe
mov dword [esi + 0x30], 0
and word [esi + 6], ax
push 0
mov edx, esi
mov ecx, edi
call fcn.004a2df0
mov eax, dword [esi + 0x30]
xorps xmm0, xmm0
mov edx, dword [esi]
add esp, 4
cmp dword [edi + 0x40], 0
movdqa xmmword [esp + 0x90], xmm0
mov dword [esp + 0x30], eax
mov dword [esp + 0x90], eax
mov eax, dword [esi + 0x20]
movq qword [esp + 0xa0], xmm0
mov dword [esp + 0xa8], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
jne 0x4a5988
mov eax, dword [esp + 0x4c]
cmp byte [eax + 0x40], 0
jne 0x4a5992
movzx eax, word [esi + 6]
mov ecx, edi
shr eax, 2
and eax, 1
mov dword [esp + 0x64], eax
call fcn.0049dd90
mov esi, eax
mov dword [esp + 0x60], esi
test esi, esi
je 0x4a55d2
mov ecx, dword [esp + 0x44]
cmp dword [ecx], 1
jle 0x4a374d
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.0049bcf0
test eax, eax
jne 0x4a55d2
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [eax + 0x34], ecx
jne 0x4a37b9
mov edx, dword [esp + 0x40]
cmp ecx, dword [edx]
jge 0x4a37b9
lea eax, [ecx + ecx*4]
shl eax, 4
add eax, 8
add eax, edx
mov dword [esp + 0x1c], eax
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x50], ecx
test ecx, ecx
je 0x4a37a6
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4a3811
test byte [eax + 0x28], 4
jne 0x4a37a6
push ecx
push dword [eax + 0x1c]
mov edx, 0x11
mov ecx, esi
call fcn.004691e0
mov edx, dword [esp + 0x48]
add esp, 8
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
inc ecx
cmp dword [eax + 0x34], 0
mov dword [esp + 0x2c], ecx
je 0x4a3760
mov ecx, dword [eax]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x74], ecx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x1c], ecx
mov cl, byte [eax + 6]
and cl, 1
mov dword [esp + 0x48], edx
cmp dword [eax + 0x34], 0
mov byte [esp + 0x13], cl
mov byte [esp + 0xf0], cl
je 0x4a3a9b
push dword [ebp + 8]
mov edx, eax
mov ecx, edi
call fcn.0049e7a0
mov ecx, dword [esp + 0xf0]
add esp, 4
mov dword [edi + 0x1d0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x24]
call fcn.0047ae30
add dword [edi + 0x1cc], eax
mov ecx, edi
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
push eax
call fcn.004a1510
add esp, 0xc
test eax, eax
je 0x4a3872
cmp dword [esp + 0xc], 0
je 0x4a3866
mov eax, dword [esp + 0x24]
mov dword [esp + 0x64], 1
or word [eax + 6], 4
or eax, 0xffffffff
mov dword [esp + 0x2c], eax
jmp 0x4a3a54
mov eax, dword [esp + 0x40]
cmp dword [eax], 1
jne 0x4a395a
mov eax, dword [esp + 0x4c]
mov ecx, 0x100
test word [eax + 0x3c], cx
jne 0x4a395a
mov ecx, dword [esp + 0x20]
mov edx, 0x14
mov edi, dword [esi + 0x20]
inc edi
push edi
mov eax, dword [ecx + 0x48]
inc eax
mov dword [ecx + 0x48], eax
mov ecx, dword [esp + 0x20]
push 0
push eax
mov dword [ecx + 0x1c], eax
mov ecx, esi
call fcn.004690b0
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x18], edi
mov dword [esp + 0x100], eax
mov al, byte [ecx + 0x1d4]
mov word [esp + 0xfc], 0xd
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov byte [edx + 0x2c], al
lea eax, [esp + 0xfc]
mov edx, dword [esp + 0x50]
push eax
call fcn.004a3600
mov eax, dword [esp + 0x54]
add esp, 4
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.0044e570
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x10]
mov word [ecx + 0x1c], ax
mov ecx, esi
or dword [edx + 0x28], 4
mov eax, dword [esp + 0x10c]
push dword [edx + 0x1c]
mov dword [edx + 0x20], eax
mov edx, 0x15
call fcn.00469170
add esp, 0xc
lea edx, [edi - 1]
mov ecx, esi
call fcn.004697e0
mov edi, dword [esp + 0x20]
jmp 0x4a3a49
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x48], eax
mov edx, 0x19
mov eax, dword [edi + 0x48]
inc eax
mov dword [edi + 0x48], eax
push eax
mov dword [ecx + 0x1c], eax
mov ecx, esi
push 0
call fcn.004691e0
mov edx, dword [esp + 0x24]
add esp, 8
mov dword [esp + 0xc], eax
inc eax
test byte [edx + 0x28], 2
mov dword [edx + 0x18], eax
jne 0x4a39a1
mov ecx, edi
call fcn.0047c740
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
mov ecx, dword [edx + 0x30]
lea eax, [esp + 0xfc]
mov dword [esp + 0x100], ecx
mov cl, byte [edi + 0x1d4]
mov word [esp + 0xfc], 0xc
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov byte [edx + 0x2c], cl
mov ecx, edi
mov edx, dword [esp + 0x50]
push eax
call fcn.004a3600
mov eax, dword [esp + 0x54]
add esp, 4
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.0044e570
mov ecx, dword [esp + 0x24]
add esp, 8
mov ecx, dword [ecx + 0x10]
mov word [ecx + 0x1c], ax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4a3a18
mov edx, eax
mov ecx, esi
call fcn.004697e0
mov eax, dword [esp + 0x1c]
mov edx, 0x12
mov ecx, esi
push dword [eax + 0x1c]
call fcn.00469170
mov dword [esp + 0x18], eax
add esp, 4
mov eax, dword [esp + 0xc]
cmp dword [esi + 0x20], eax
jbe 0x4a3a49
mov ecx, dword [esi + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
mov dword [ecx + edx*4 + 4], eax
mov dword [edi + 0x38], 0
mov byte [edi + 0x13], 0
mov eax, dword [esp + 0x4c]
cmp byte [eax + 0x40], 0
jne 0x4a55d2
mov ecx, dword [esp + 0x24]
call fcn.0047ae30
sub dword [edi + 0x1cc], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x20]
cmp byte [ecx], 8
mov dword [esp + 0x40], edx
jbe 0x4a37aa
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x90], ecx
jmp 0x4a37aa
mov al, byte [eax + 6]
and al, 5
cmp al, 1
jne 0x4a3be9
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
call fcn.00480020
add esp, 4
test eax, eax
jne 0x4a3be9
mov eax, dword [esp + 0x24]
mov ecx, 0xfffe
push 0
and word [eax + 6], cx
mov edx, dword [eax]
mov ecx, dword [esp + 0x50]
call fcn.0047ba60
mov ecx, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [eax + 0x28], ecx
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0xa4], 0xffffffff
mov eax, dword [ebp + 8]
cmp byte [eax], 0xc
jne 0x4a3b24
mov ecx, dword [esp + 0x44]
mov edx, 0x38
push dword [ecx]
mov ecx, esi
push dword [eax + 4]
call fcn.004691e0
add esp, 8
mov ecx, esi
call fcn.00469470
mov ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x8c], ecx
mov edx, eax
push ecx
mov ecx, edi
mov dword [eax + 0x18], 0xffffffff
mov dword [eax + 0x1c], SysReAllocString
call fcn.0049dde0
mov edx, dword [esp + 0x28]
add esp, 4
cmp dword [edx + 8], 0
jne 0x4a3b80
mov eax, dword [esp + 0xa4]
test eax, eax
js 0x4a3b80
mov edx, eax
mov ecx, esi
call fcn.00469b50
or byte [esp + 0xa8], 1
mov edx, dword [esp + 0x24]
mov byte [eax], 0x39
test byte [edx + 6], 1
je 0x4a3c3d
mov edi, dword [edi + 0x44]
mov ecx, dword [esp + 0x20]
push 0xfffffffffffffffa
push ecx
lea eax, [edi + 1]
mov dword [esp + 0xfc], edi
mov dword [ecx + 0x44], eax
mov edx, dword [edx]
push 0
push 0
call fcn.0049c9a0
add esp, 0xc
mov edx, 0x38
mov ecx, esi
push eax
push 0
push 0
push edi
call fcn.00469250
mov ecx, dword [esi + 4]
add esp, 0x14
mov dword [esp + 0xf8], eax
test ecx, ecx
je 0x4a3bdd
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 8
mov edi, dword [esp + 0x20]
mov al, 3
mov edx, dword [esp + 0x24]
jmp 0x4a3c3f
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4a3af9
push 0
push 0
mov edx, eax
mov ecx, edi
call fcn.0049c9a0
mov edx, dword [edi + 0x44]
push 0xfffffffffffffffa
push eax
mov eax, dword [esp + 0x40]
lea ecx, [edx + 1]
mov dword [esp + 0xa8], edx
mov dword [edi + 0x44], ecx
mov ecx, esi
push 0
mov eax, dword [eax]
add eax, 2
push eax
push edx
mov edx, 0x38
call fcn.00469250
add esp, 0x1c
mov dword [esp + 0xa4], eax
jmp 0x4a3b04
xor al, al
cmp dword [esp + 0x64], 0
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xf1], al
mov dword [esp + 0x50], eax
jne 0x4a3d64
test ecx, ecx
jne 0x4a3d64
push ecx
xor eax, eax
mov ecx, 0x400
cmp byte [esp + 0x17], al
cmovne eax, ecx
mov ecx, edi
movzx eax, ax
push eax
push dword [edx]
mov edx, dword [esp + 0x4c]
push dword [esp + 0x3c]
push dword [esp + 0x84]
call fcn.004b4730
add esp, 0x14
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4a55d2
mov cx, word [eax + 0x20]
call fcn.0044e680
mov ecx, eax
mov eax, dword [esp + 0x24]
cmp edx, dword [eax + 0x1c]
ja 0x4a3cbc
jb 0x4a3cb6
cmp ecx, dword [eax + 0x18]
jae 0x4a3cbc
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
cmp byte [esp + 0x13], 0
mov edx, dword [esp + 0x2c]
je 0x4a3cec
mov eax, dword [esp + 0x50]
mov cl, byte [edx + 0x28]
movzx eax, al
test cl, cl
mov dword [esp + 0x50], eax
movzx eax, cl
mov ecx, dword [esp + 0x50]
cmovne ecx, eax
mov dword [esp + 0x50], ecx
mov byte [esp + 0xf1], cl
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4a3d0d
movsx eax, byte [edx + 0x24]
xor edx, edx
cmp eax, dword [ecx]
mov dword [esp + 0x94], eax
cmove ecx, edx
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0xa4]
test eax, eax
js 0x4a3d25
test ecx, ecx
jne 0x4a3d25
mov edx, eax
mov ecx, esi
call fcn.00469980
mov eax, dword [esp + 0x2c]
mov ecx, edi
mov edx, dword [esp + 0x24]
push dword [eax + 0x34]
push dword [eax + 0x30]
lea eax, [esp + 0xf8]
push dword [ebp + 8]
push eax
lea eax, [esp + 0xa0]
push eax
push 0xffffffffffffffff
push dword [esp + 0x5c]
call fcn.0049bd20
mov ecx, dword [esp + 0x48]
add esp, 0x1c
call fcn.004b5080
jmp 0x4a56f0
mov dword [esp + 0x70], 0
mov dword [esp + 0x28], 0
test ecx, ecx
je 0x4a3deb
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x60]
test eax, eax
jle 0x4a3da8
mov ecx, dword [esp + 0xc]
add ecx, 0x16
xor edi, edi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], di
test eax, eax
jg 0x4a3d92
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov eax, dword [ecx]
test eax, eax
jle 0x4a3dd6
mov ecx, dword [esp + 0xc]
add ecx, 0x16
lea esp, [esp]
xor esi, esi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], si
test eax, eax
jg 0x4a3dc0
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x1c]
cmp dword [edx + 0x1c], 0
ja 0x4a3de2
cmp dword [edx + 0x18], 0x64
jbe 0x4a3df9
mov dword [edx + 0x18], 0x64
jmp 0x4a3df2
mov dword [edx + 0x18], 1
mov dword [edx + 0x1c], 0
mov edx, dword [esp + 0x30]
push 0xffffffffffffffff
call fcn.00480020
add esp, 4
mov ecx, 1
test eax, eax
mov eax, 0
cmove eax, ecx
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.00469470
mov ecx, dword [esp + 0x1c]
xorps xmm0, xmm0
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x40]
movdqa xmmword [esp + 0x110], xmm0
mov dword [esp + 0x114], eax
lea eax, [esp + 0xbc]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 0x48]
inc eax
movdqa xmmword [esp + 0x120], xmm0
mov dword [esp + 0x110], edi
mov dword [esp + 0xcc], eax
test ecx, ecx
je 0x4a3e7c
mov eax, dword [ecx]
inc eax
mov dword [esp + 0xc8], eax
jmp 0x4a3e87
mov dword [esp + 0xc8], 0
mov edx, dword [esp + 0x44]
mov dword [esp + 0xd4], ecx
lea ecx, [esp + 0x110]
call fcn.00480570
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x110]
call fcn.00480570
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4a3ec4
mov edx, eax
lea ecx, [esp + 0x110]
call fcn.00480540
cmp dword [esp + 0xe8], 0
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xe0], eax
jle 0x4a3f37
mov al, byte [esp + 0x12c]
xor edi, edi
xor esi, esi
jmp 0x4a3ef0
or al, 8
lea ecx, [esp + 0x110]
mov byte [esp + 0x12c], al
mov eax, dword [esp + 0xe4]
mov edx, dword [edi + eax]
mov edx, dword [edx + 0x14]
call fcn.00480570
mov al, byte [esp + 0x12c]
lea edi, [edi + 0x10]
and al, 0xf7
inc esi
mov byte [esp + 0x12c], al
cmp esi, dword [esp + 0xe8]
jl 0x4a3ef0
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x48]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x4c]
cmp byte [eax + 0x40], 0
jne 0x4a55d2
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4a52f7
mov eax, dword [edi + 0x44]
mov edx, ecx
mov dword [esp + 0xc0], eax
mov ecx, edi
inc eax
push 0
push 0
mov dword [edi + 0x44], eax
call fcn.0049c9a0
mov edx, eax
mov ecx, esi
push 0xfffffffffffffffa
push edx
push 0
push dword [esp + 0xdc]
mov dword [esp + 0xa0], edx
mov edx, 0x39
push dword [esp + 0xd8]
call fcn.00469250
mov dword [esp + 0x28], eax
add esp, 0x1c
mov eax, dword [edi + 0x48]
mov ecx, esi
inc eax
mov dword [esp + 0x30], eax
add eax, 2
mov dword [edi + 0x48], eax
call fcn.00469470
inc dword [edi + 0x48]
mov ecx, esi
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x48]
mov dword [esp + 0x5c], eax
call fcn.00469470
mov edx, dword [edi + 0x48]
mov dword [esp + 0x58], eax
lea eax, [edx + 1]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
add ecx, edx
mov dword [edi + 0x48], ecx
mov eax, dword [eax]
add eax, ecx
mov dword [edi + 0x48], eax
lea edx, [ecx + 1]
mov eax, dword [esp + 0x30]
mov ecx, esi
inc eax
mov dword [esp + 0x64], edx
push eax
push 0
mov edx, 0x19
call fcn.004691e0
push dword [esp + 0x38]
mov edx, 0x19
mov ecx, esi
push 0
call fcn.004691e0
mov eax, dword [esp + 0x2c]
mov edx, 0x1c
mov ecx, dword [esp + 0x78]
mov eax, dword [eax]
dec eax
add eax, ecx
push eax
push ecx
push 0
mov ecx, esi
call fcn.004690b0
add esp, 0x1c
mov edx, 0x11
mov ecx, esi
push dword [esp + 0x58]
push dword [esp + 0x60]
call fcn.004691e0
mov eax, dword [esp + 0x1c]
neg eax
push 0
sbb eax, eax
and eax, 0x800
mov edx, dword [esp + 0x4c]
mov ecx, 0x100
or ax, cx
mov ecx, edi
movzx eax, ax
push eax
push 0
push dword [esp + 0x30]
push dword [esp + 0x8c]
call fcn.004b4730
mov edx, eax
add esp, 0x1c
mov dword [esp + 0x74], edx
test edx, edx
je 0x4a55d2
mov eax, dword [esp + 0x1c]
movsx ecx, byte [edx + 0x24]
cmp ecx, dword [eax]
jne 0x4a40ae
xor eax, eax
mov dword [esp + 0x84], eax
jmp 0x4a44ad
cmp byte [esp + 0x13], 0
je 0x4a40c4
mov eax, dword [esp + 0x24]
mov edx, str.DISTINCT
test byte [eax + 6], 1
je 0x4a40c9
mov edx, str.GROUP_BY
mov ecx, edi
call fcn.0049ca60
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x84], 1
mov eax, dword [eax]
mov dword [esp + 0x54], eax
lea ecx, [eax + 1]
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x70], ecx
mov edx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
test eax, eax
jle 0x4a4123
mov eax, dword [esp + 0xd8]
add eax, 0xc
jmp 0x4a4110
cmp dword [eax], ecx
jl 0x4a4116
inc edx
inc ecx
add eax, 0x18
dec dword [esp + 0x28]
jne 0x4a4110
mov dword [esp + 0x2c], edx
mov ecx, dword [edi + 0x38]
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x78], eax
cmp edx, ecx
jg 0x4a413d
add eax, edx
sub ecx, edx
mov dword [edi + 0x3c], eax
mov dword [edi + 0x38], ecx
jmp 0x4a414c
mov eax, dword [edi + 0x48]
lea ecx, [eax + 1]
add eax, edx
mov dword [esp + 0x78], ecx
mov dword [edi + 0x48], eax
mov ecx, edi
call fcn.0047deb0
mov edx, dword [esp + 0x78]
push 0
push edx
mov edx, dword [esp + 0x24]
call fcn.0047f560
mov eax, dword [esp + 0x80]
mov edx, 0x45
add eax, dword [esp + 0x5c]
mov ecx, esi
push eax
push dword [esp + 0xcc]
call fcn.004691e0
add esp, 0x10
mov dword [esp + 0x54], 0
cmp dword [esp + 0xdc], 0
jle 0x4a4274
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
add edx, ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x28], 0
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0xd8]
cmp dword [edi + eax + 0xc], ecx
mov edi, dword [esp + 0x20]
jl 0x4a4259
mov ecx, dword [esp + 0x28]
push 0
push edx
push dword [ecx + eax + 4]
mov edx, dword [ecx + eax]
push dword [ecx + eax + 8]
mov ecx, edi
call fcn.0047de00
mov edx, dword [esp + 0x8c]
add esp, 0x10
mov dword [esp + 8], eax
cmp edx, eax
je 0x4a424b
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
cmp dword [ecx + 0x54], eax
jg 0x4a4217
mov ecx, esi
call fcn.00469030
mov edx, dword [esp + 0x7c]
test eax, eax
jne 0x4a424b
mov eax, dword [esp + 0x18]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edi, dword [esp + 8]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov word [eax + ecx*4], 0x22
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 + 0x70]
inc ecx
inc edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0x54]
add dword [esp + 0x28], 0x18
inc eax
mov dword [esp + 0x54], eax
cmp eax, dword [esp + 0xdc]
jl 0x4a41b1
mov al, byte [edi + 0x13]
test al, al
jne 0x4a4287
inc dword [edi + 0x48]
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x28], ecx
jmp 0x4a4297
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 8], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a42b5
mov ecx, esi
call fcn.00469030
test eax, eax
jne 0x4a42e9
mov ecx, dword [esp + 8]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x78]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x30
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 + 0xc0]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 8], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a4312
mov ecx, esi
call fcn.00469030
test eax, eax
jne 0x4a4348
mov ecx, dword [esp + 8]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x6b
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 0x4a434c
mov edx, dword [esp + 0x28]
test edx, edx
je 0x4a4380
mov al, byte [edi + 0x13]
mov byte [esp + 0x13], al
cmp al, 8
jae 0x4a4380
xor ecx, ecx
lea eax, [edi + 0x74]
cmp dword [eax + 0xc], edx
je 0x4a437c
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x4a4360
movzx eax, byte [esp + 0x13]
mov dword [edi + eax*4 + 0x18], edx
inc byte [edi + 0x13]
jmp 0x4a4380
mov byte [eax + 6], 1
push dword [esp + 0x2c]
mov edx, dword [esp + 0x7c]
mov ecx, edi
call fcn.0047dba0
mov eax, dword [esp + 0x30]
add esp, 4
cmp eax, dword [edi + 0x38]
jle 0x4a43a5
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x78]
mov dword [edi + 0x3c], eax
mov ecx, dword [esp + 0x74]
call fcn.004b5080
mov eax, dword [edi + 0x44]
mov dword [esp + 0x70], eax
mov dword [esp + 0xc4], eax
inc eax
mov dword [edi + 0x44], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x4a43d3
inc dword [edi + 0x48]
mov edx, dword [edi + 0x48]
mov dword [esp + 0x28], edx
jmp 0x4a43e3
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 8], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a4401
mov ecx, esi
call fcn.00469030
test eax, eax
jne 0x4a4435
mov ecx, dword [esp + 8]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x3a
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 + 0xc0]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 8], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a445e
mov ecx, esi
call fcn.00469030
test eax, eax
jne 0x4a4495
mov ecx, dword [esp + 8]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x80]
mov word [eax + ecx*4], 0x68
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, edi
mov byte [esp + 0xbd], 1
call fcn.0047deb0
mov edx, dword [esp + 0x74]
mov eax, 1
cmp dword [esp + 0x14], 0
je 0x4a44e0
mov ecx, dword [esp + 0x4c]
test byte [ecx + 0x3c], 4
jne 0x4a44e0
test eax, eax
jne 0x4a44c7
cmp byte [edx + 0x25], al
je 0x4a44e0
mov edx, dword [esp + 0xa4]
mov ecx, esi
mov dword [esp + 0x90], 0
call fcn.00469980
mov eax, dword [esi + 0x20]
mov ecx, edi
mov dword [esp + 0x7c], eax
call fcn.0047deb0
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4a455d
mov eax, dword [esp + 0xc0]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 8], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a4522
mov ecx, esi
call fcn.00469030
test eax, eax
jne 0x4a4556
mov ecx, dword [esp + 8]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x62
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 + 0x84]
mov ecx, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x28], edx
cmp dword [ecx], edx
jle 0x4a461d
nop
test eax, eax
je 0x4a45df
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 8], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a4596
mov ecx, esi
call fcn.00469030
mov edx, dword [esp + 0x28]
test eax, eax
jne 0x4a45c7
mov ecx, dword [esp + 8]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x2e
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x70]
mov dword [ecx + 8], edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x64]
add eax, edx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0xc], eax
test edx, edx
jne 0x4a4605
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4a4605
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x20
jmp 0x4a4605
mov eax, dword [esp + 0x64]
add eax, edx
mov byte [esp + 0xbc], 1
push eax
lea eax, [edx + edx*2]
mov edx, dword [ecx + 4]
mov ecx, edi
mov edx, dword [edx + eax*8]
call fcn.0047f3c0
mov edx, dword [esp + 0x2c]
add esp, 4
mov ecx, dword [esp + 0x1c]
inc edx
mov eax, dword [esp + 0x84]
mov dword [esp + 0x28], edx
cmp edx, dword [ecx]
jl 0x4a4570
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4a462a
inc dword [eax]
mov eax, dword [ecx]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x54], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
cmp dword [ecx + 0x54], edx
jg 0x4a46ba
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4a464e
add eax, eax
jmp 0x4a4653
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.0044a9c0
add esp, 4
mov dword [esp + 8], eax
test eax, eax
je 0x4a4748
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x4a4692
cmp eax, dword [ecx + 0x110]
jae 0x4a4692
movzx ecx, word [ecx + 0xf0]
jmp 0x4a469e
push eax
call dword [0x5bd5f0]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x14]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x18]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov edi, dword [esp + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x64]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x54]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x20]
mov word [eax + ecx*4], 0x29
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
test eax, eax
je 0x4a4758
cmp byte [ecx + 0x40], 0
jne 0x4a4758
test edx, edx
jns 0x4a4709
mov edx, dword [esi + 0x20]
dec edx
lea eax, [edx + edx*4]
mov edx, dword [esi + 4]
lea edx, [edx + eax*4]
mov dword [esp + 8], edx
mov edx, dword [esi + 4]
push dword [edx + eax*4 + 0x10]
movsx edx, byte [edx + eax*4 + 1]
call fcn.00469810
mov eax, dword [esp + 0xc]
add esp, 4
mov edx, dword [esp + 0x88]
mov dword [eax + 0x10], 0
test edx, edx
jne 0x4a474f
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
jmp 0x4a476d
mov edx, 1
jmp 0x4a46f2
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfa
jmp 0x4a476d
mov edx, dword [esp + 0x88]
push edx
mov edx, 0xfffffffa
call fcn.00469810
add esp, 4
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x54], edx
mov dword [esp + 0x14], ecx
cmp dword [ecx + 0x54], edx
jg 0x4a47f3
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4a478b
add eax, eax
jmp 0x4a4790
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.0044a9c0
add esp, 4
mov dword [esp + 8], eax
test eax, eax
je 0x4a4821
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x4a47cb
cmp eax, dword [ecx + 0x110]
jae 0x4a47cb
movzx ecx, word [ecx + 0xf0]
jmp 0x4a47d7
push eax
call dword [0x5bd5f0]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x14]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x54]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
lea eax, [edx + 1]
mov dword [ecx + 8], 0
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0
mov eax, dword [esp + 0x1c]
mov ecx, edi
mov edx, dword [esp + 0x64]
push dword [eax]
push dword [esp + 0x6c]
call fcn.0047e0d0
mov ecx, dword [esi + 0x18]
add esp, 8
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
cmp dword [ecx + 0x54], eax
jg 0x4a48c3
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4a4857
add eax, eax
jmp 0x4a485c
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.0044a9c0
add esp, 4
mov dword [esp + 8], eax
test eax, eax
je 0x4a4902
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x4a489b
cmp eax, dword [ecx + 0x110]
jae 0x4a489b
movzx ecx, word [ecx + 0xf0]
jmp 0x4a48a7
push eax
call dword [0x5bd5f0]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x14]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x60]
add edx, 2
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x6c]
mov word [eax + ecx*4], 0x11
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 [esi + 0x18]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
cmp dword [ecx + 0x54], eax
jg 0x4a498c
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4a4920
add eax, eax
jmp 0x4a4925
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.0044a9c0
add esp, 4
mov dword [esp + 8], eax
test eax, eax
je 0x4a49c8
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x4a4964
cmp eax, dword [ecx + 0x110]
jae 0x4a4964
movzx ecx, word [ecx + 0xf0]
jmp 0x4a4970
push eax
call dword [0x5bd5f0]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x14]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x20]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x80]
mov word [eax + ecx*4], 0x87
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 [esi + 0x18]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
cmp dword [ecx + 0x54], eax
jg 0x4a4a4e
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4a49e6
add eax, eax
jmp 0x4a49eb
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.0044a9c0
add esp, 4
mov dword [esp + 8], eax
test eax, eax
je 0x4a4a82
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x4a4a26
cmp eax, dword [ecx + 0x110]
jae 0x4a4a26
movzx ecx, word [ecx + 0xf0]
jmp 0x4a4a32
push eax
call dword [0x5bd5f0]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x14]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x58]
mov word [eax + ecx*4], 0x11
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 edx, dword [esi + 0x20]
mov eax, dword [esp + 0x54]
cmp edx, eax
jbe 0x4a4a97
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0xbc]
mov eax, dword [esi + 0x18]
dec ecx
mov dword [eax + 0x58], ecx
mov ecx, edi
call fcn.004a3050
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
cmp dword [ecx + 0x54], eax
jg 0x4a4b35
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4a4acd
add eax, eax
jmp 0x4a4ad2
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.0044a9c0
add esp, 4
mov dword [esp + 8], eax
test eax, eax
je 0x4a4b69
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x4a4b0d
cmp eax, dword [ecx + 0x110]
jae 0x4a4b0d
movzx ecx, word [ecx + 0xf0]
jmp 0x4a4b19
push eax
call dword [0x5bd5f0]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x14]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x19
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 [esp + 0x84]
test eax, eax
je 0x4a4bd7
mov eax, dword [esp + 0xc0]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 8], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a4ba1
mov ecx, esi
call fcn.00469030
test eax, eax
jne 0x4a4c27
mov ecx, dword [esp + 8]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x7c]
mov word [eax + ecx*4], 5
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 0x4a4c27
mov ecx, dword [esp + 0x74]
call fcn.004b5080
mov eax, dword [esp + 0xc]
cmp eax, dword [esi + 0x20]
jge 0x4a4c27
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
push dword [eax + ecx*4 + 0x10]
movsx edx, byte [eax + ecx*4 + 1]
lea edi, [eax + ecx*4]
mov ecx, dword [esi]
call fcn.00469810
xorps xmm0, xmm0
add esp, 4
movdqu xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov byte [edi], 0x9d
mov eax, dword [esi + 0x20]
mov edi, dword [esp + 0x20]
dec eax
cmp dword [esp + 0xc], eax
jne 0x4a4c27
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], ecx
cmp dword [ecx + 0x54], eax
jg 0x4a4cb1
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4a4c45
add eax, eax
jmp 0x4a4c4a
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.0044a9c0
add esp, 4
mov dword [esp + 8], eax
test eax, eax
je 0x4a4cf0
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x4a4c89
cmp eax, dword [ecx + 0x110]
jae 0x4a4c89
movzx ecx, word [ecx + 0xf0]
jmp 0x4a4c95
push eax
call dword [0x5bd5f0]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0xc]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x60]
add edx, 2
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x6c]
mov word [eax + ecx*4], 0x11
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 [esi + 0x18]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], ecx
cmp dword [ecx + 0x54], eax
jg 0x4a4d7a
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4a4d0e
add eax, eax
jmp 0x4a4d13
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.0044a9c0
add esp, 4
mov dword [esp + 8], eax
test eax, eax
je 0x4a4db1
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x4a4d52
cmp eax, dword [ecx + 0x110]
jae 0x4a4d52
movzx ecx, word [ecx + 0xf0]
jmp 0x4a4d5e
push eax
call dword [0x5bd5f0]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0xc]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x80]
mov word [eax + ecx*4], 0x10
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 [esi + 0x18]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x54], eax
mov dword [esp + 0xc], ecx
cmp dword [ecx + 0x54], eax
jg 0x4a4e3b
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4a4dcf
add eax, eax
jmp 0x4a4dd4
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.0044a9c0
add esp, 4
mov dword [esp + 8], eax
test eax, eax
je 0x4a4e74
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x4a4e13
cmp eax, dword [ecx + 0x110]
jae 0x4a4e13
movzx ecx, word [ecx + 0xf0]
jmp 0x4a4e1f
push eax
call dword [0x5bd5f0]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0xc]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x54]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x20]
inc edx
mov word [eax + ecx*4], 0x19
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 ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], ecx
cmp dword [ecx + 0x54], eax
jg 0x4a4efe
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4a4e92
add eax, eax
jmp 0x4a4e97
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.0044a9c0
add esp, 4
mov dword [esp + 8], eax
test eax, eax
je 0x4a4f3d
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x4a4ed6
cmp eax, dword [ecx + 0x110]
jae 0x4a4ed6
movzx ecx, word [ecx + 0xf0]
jmp 0x4a4ee2
push eax
call dword [0x5bd5f0]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0xc]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x60]
add edx, 2
mov edi, dword [esp + 0x20]
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], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x6c]
mov dword [esp + 8], eax
js 0x4a4f5a
mov edx, dword [eax + 0x70]
test edx, edx
je 0x4a4f5a
mov eax, dword [esi + 0x20]
mov dword [edx + ecx*4], eax
mov ecx, dword [esp + 8]
mov eax, dword [esi + 0x20]
dec eax
mov dword [ecx + 0x58], eax
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], ecx
cmp dword [ecx + 0x54], edx
jg 0x4a4feb
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4a4f83
add eax, eax
jmp 0x4a4f88
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.0044a9c0
add esp, 4
mov dword [esp + 8], eax
test eax, eax
je 0x4a501d
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x4a4fc3
cmp eax, dword [ecx + 0x110]
jae 0x4a4fc3
movzx ecx, word [ecx + 0xf0]
jmp 0x4a4fcf
push eax
call dword [0x5bd5f0]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0xc]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x14]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x87
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x30]
mov dword [ecx + 0xc], 0
mov dword [ecx + 4], eax
lea eax, [edx + 2]
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], 0
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], ecx
cmp dword [ecx + 0x54], eax
jg 0x4a50a7
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4a503b
add eax, eax
jmp 0x4a5040
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.0044a9c0
add esp, 4
mov dword [esp + 8], eax
test eax, eax
je 0x4a50e6
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x4a507f
cmp eax, dword [ecx + 0x110]
jae 0x4a507f
movzx ecx, word [ecx + 0xf0]
jmp 0x4a508b
push eax
call dword [0x5bd5f0]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0xc]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x60]
add edx, 2
mov edi, dword [esp + 0x20]
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], 0
mov dword [eax + ecx*4 + 0x10], 0
lea edx, [esp + 0xbc]
mov ecx, edi
call fcn.004a2f40
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
inc edi
mov ecx, dword [esp + 0x20]
push 8
push edi
call fcn.0047fb60
push dword [esp + 0x5c]
lea eax, [esp + 0xfc]
push edi
push dword [ebp + 8]
mov edi, dword [esp + 0x34]
mov ecx, edi
push eax
lea eax, [esp + 0xa8]
push eax
mov eax, dword [esp + 0x40]
mov edx, eax
push 0xffffffffffffffff
push dword [eax]
call fcn.0049bd20
mov ecx, dword [esi + 0x18]
add esp, 0x24
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], ecx
cmp dword [ecx + 0x54], eax
jg 0x4a51c3
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4a5157
add eax, eax
jmp 0x4a515c
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.0044a9c0
add esp, 4
mov dword [esp + 8], eax
test eax, eax
je 0x4a51fe
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x4a519b
cmp eax, dword [ecx + 0x110]
jae 0x4a519b
movzx ecx, word [ecx + 0xf0]
jmp 0x4a51a7
push eax
call dword [0x5bd5f0]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0xc]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x60]
add edx, 2
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], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x58]
mov dword [esp + 8], eax
js 0x4a521b
mov edx, dword [eax + 0x70]
test edx, edx
je 0x4a521b
mov eax, dword [esi + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 0x20]
lea edx, [esp + 0xbc]
mov ecx, dword [esp + 8]
dec eax
mov dword [ecx + 0x58], eax
mov ecx, edi
call fcn.004a2e50
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], ecx
cmp dword [ecx + 0x54], eax
jg 0x4a52be
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4a5252
add eax, eax
jmp 0x4a5257
mov eax, 0x33
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push eax
call fcn.0044a9c0
add esp, 4
mov dword [esp + 8], eax
test eax, eax
je 0x4a56c5
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x10c]
jb 0x4a5296
cmp eax, dword [ecx + 0x110]
jae 0x4a5296
movzx ecx, word [ecx + 0xf0]
jmp 0x4a52a2
push eax
call dword [0x5bd5f0]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0xc]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x5c]
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], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a56c5
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xbc]
mov dword [esp + 0x68], 0
call fcn.004a1b80
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4a5510
mov ecx, dword [edi]
mov edx, dword [eax + 0x44]
call fcn.0049a330
mov edx, eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x58], eax
mov dword [esp + 0xc], edx
lea ecx, [eax + 1]
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x44], ecx
mov ecx, edi
mov eax, dword [eax + 0x20]
mov dword [esp + 0x14], eax
call fcn.00489670
mov eax, dword [esp + 0x2c]
mov ecx, edi
mov edx, dword [esp + 0xc]
push dword [eax]
push 0
push dword [eax + 0x20]
call fcn.00483c70
mov edx, dword [esp + 0x38]
add esp, 0xc
test byte [edx + 0x2c], 0x20
je 0x4a5386
mov ecx, edx
call fcn.00484e50
mov ecx, eax
mov dword [esp + 0x6c], ecx
jmp 0x4a5388
xor ecx, ecx
mov eax, dword [edx + 8]
test eax, eax
je 0x4a53c4
mov edi, dword [esp + 0x2c]
test byte [eax + 0x38], 4
jne 0x4a53b5
movzx edx, word [eax + 0x30]
cmp dx, word [edi + 0x2a]
jge 0x4a53b5
cmp dword [eax + 0x24], 0
jne 0x4a53b5
test ecx, ecx
je 0x4a53b3
cmp dx, word [ecx + 0x30]
jge 0x4a53b5
mov ecx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4a5393
mov edi, dword [esp + 0x20]
mov dword [esp + 0x6c], ecx
test ecx, ecx
je 0x4a53dc
mov eax, dword [ecx + 0x2c]
mov edx, ecx
mov ecx, edi
mov dword [esp + 0x14], eax
call fcn.0048a000
mov dword [esp + 0x5c], eax
push 1
push dword [esp + 0x10]
mov edx, 0x35
mov ecx, esi
push dword [esp + 0x1c]
push dword [esp + 0x64]
call fcn.004693c0
mov eax, dword [esp + 0x6c]
add esp, 0x10
test eax, eax
je 0x4a5446
mov edx, dword [esi + 4]
mov ecx, dword [esi]
test edx, edx
je 0x4a5438
cmp byte [ecx + 0x40], 0
jne 0x4a5438
mov eax, dword [esi + 0x20]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea edi, [edx + eax*4]
movsx edx, byte [edi + 1]
call fcn.00469810
mov eax, dword [esp + 0x60]
mov dword [edi + 0x10], eax
mov byte [edi + 1], 0xfa
mov edi, dword [esp + 0x24]
jmp 0x4a5443
push eax
mov edx, 0xfffffffa
call fcn.00469810
add esp, 4
mov eax, dword [esp + 0xe4]
mov ecx, dword [esi + 0x20]
mov dword [esp + 8], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], ecx
jg 0x4a5472
mov ecx, esi
call fcn.00469030
test eax, eax
jne 0x4a54a6
mov ecx, dword [esp + 8]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x31
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 [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 8], ecx
cmp dword [eax + 0x54], ecx
jg 0x4a54c4
mov ecx, esi
call fcn.00469030
test eax, eax
jne 0x4a54f8
mov ecx, dword [esp + 8]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x58]
mov word [eax + ecx*4], 0x3b
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 + 0x6c]
mov ecx, edi
mov edx, dword [esp + 0x2c]
push eax
call fcn.004a3580
add esp, 4
jmp 0x4a5672
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x2c], 0
jne 0x4a558a
lea edx, [esp + 0x5c]
lea ecx, [esp + 0xbc]
call fcn.004a1b10
mov byte [esp + 0x13], al
test al, al
je 0x4a5582
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x4c]
push 0
call fcn.0047ba60
mov edx, eax
add esp, 4
mov dword [esp + 0x58], edx
mov dword [esp + 0x68], edx
test edx, edx
je 0x4a558a
mov eax, dword [esp + 0x4c]
cmp byte [eax + 0x40], 0
jne 0x4a558a
mov eax, dword [edx + 4]
cmp byte [esp + 0x13], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov byte [eax], 0x9a
jmp 0x4a558a
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x58], eax
lea edx, [esp + 0xbc]
mov ecx, edi
call fcn.004a2e50
mov al, byte [esp + 0x13]
mov ecx, edi
mov edx, dword [esp + 0x40]
push 0
movzx eax, al
push eax
push 0
push dword [esp + 0x64]
push dword [esp + 0x84]
call fcn.004b4730
add esp, 0x14
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4a562d
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x4c]
call fcn.0047c250
mov esi, 1
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xec]
mov dword [edi + 0x1d0], ecx
test esi, esi
jne 0x4a5605
mov ecx, dword [ebp + 8]
cmp byte [ecx], 9
jne 0x4a5605
push edx
mov edx, eax
mov ecx, edi
call fcn.0049d550
add esp, 4
mov edx, dword [esp + 0xd8]
mov ecx, dword [esp + 0x4c]
call fcn.0044a6e0
mov edx, dword [esp + 0xe4]
mov ecx, dword [esp + 0x4c]
call fcn.0044a6e0
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0xbc]
mov ecx, edi
call fcn.004a3050
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x24], 0
jle 0x4a565d
push dword [eax + 0x34]
mov edx, 0x10
mov ecx, esi
push 0
call fcn.004691e0
mov eax, dword [esp + 0x14]
add esp, 8
mov ecx, eax
call fcn.004b5080
lea edx, [esp + 0xbc]
mov ecx, edi
call fcn.004a2f40
mov edx, dword [esp + 0x48]
mov ecx, edi
push 8
push dword [esp + 0x84]
mov dword [esp + 0x98], 0
call fcn.0047fb60
mov eax, dword [esp + 0x88]
mov ecx, edi
push eax
push eax
push dword [ebp + 8]
mov eax, dword [esp + 0x38]
mov edx, eax
push 0
push 0
push 0xffffffffffffffff
push dword [eax]
call fcn.0049bd20
mov edx, dword [esp + 0x8c]
add esp, 0x24
mov ecx, dword [esp + 0x4c]
call fcn.0047c250
mov eax, dword [esi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x80]
mov dword [esp + 8], eax
js 0x4a56e5
mov edx, dword [eax + 0x70]
test edx, edx
je 0x4a56e5
mov eax, dword [esi + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 8]
dec eax
mov dword [ecx + 0x58], eax
mov eax, dword [esp + 0x50]
cmp al, 3
jne 0x4a5805
cmp byte [edi + 0x1c2], 2
jne 0x4a5805
mov eax, dword [edi + 8]
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push dword [edi]
mov dword [esp + 0x54], eax
call fcn.0044c300
mov esi, dword [edi + 0x1d0]
add esp, 0xc
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x20]
mov dword [esp + 8], edx
cmp dword [ecx + 0x54], edx
jg 0x4a575b
mov ecx, eax
call fcn.00469030
test eax, eax
je 0x4a5753
mov edx, 1
jmp 0x4a578b
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x48]
inc dword [eax + 0x20]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 4]
mov word [eax + ecx*4], 0x9e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], esi
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 + 0x48]
mov esi, dword [eax + 4]
test esi, esi
mov ecx, dword [eax]
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x60]
je 0x4a57f5
cmp byte [ecx + 0x40], 0
jne 0x4a57f5
test edx, edx
jns 0x4a57ae
mov edx, dword [eax + 0x20]
dec edx
lea eax, [edx + edx*4]
mov edx, dword [esp + 0xc]
lea edx, [edx + eax*4]
mov dword [esp + 8], edx
mov edx, dword [esp + 0xc]
push dword [edx + eax*4 + 0x10]
movsx edx, byte [edx + eax*4 + 1]
call fcn.00469810
mov eax, dword [esp + 0xc]
add esp, 4
mov edx, dword [esp + 0x14]
mov dword [eax + 0x10], 0
test edx, edx
jne 0x4a57ec
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
jmp 0x4a5805
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xff
jmp 0x4a5805
mov edx, dword [esp + 0x14]
push edx
or edx, 0xffffffff
call fcn.00469810
add esp, 4
cmp dword [esp + 0x90], 0
je 0x4a594c
cmp byte [edi + 0x1c2], 2
jne 0x4a592d
mov eax, dword [edi + 8]
mov ecx, str.ORDER_BY
cmp dword [esp + 0x94], 0
mov dword [esp + 0x48], eax
mov eax, str.RIGHT_PART_OF_ORDER_BY
cmovle eax, ecx
push eax
push str.USE_TEMP_B_TREE_FOR__s
push dword [edi]
call fcn.0044c300
mov esi, dword [edi + 0x1d0]
add esp, 0xc
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x20]
mov dword [esp + 8], edx
cmp dword [ecx + 0x54], edx
jg 0x4a5883
mov ecx, eax
call fcn.00469030
test eax, eax
je 0x4a587b
mov edx, 1
jmp 0x4a58b3
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x48]
inc dword [eax + 0x20]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 4]
mov word [eax + ecx*4], 0x9e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], esi
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 + 0x48]
mov esi, dword [eax + 4]
test esi, esi
mov ecx, dword [eax]
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x60]
je 0x4a591d
cmp byte [ecx + 0x40], 0
jne 0x4a591d
test edx, edx
jns 0x4a58d6
mov edx, dword [eax + 0x20]
dec edx
lea eax, [edx + edx*4]
mov edx, dword [esp + 0xc]
lea edx, [edx + eax*4]
mov dword [esp + 8], edx
mov edx, dword [esp + 0xc]
push dword [edx + eax*4 + 0x10]
movsx edx, byte [edx + eax*4 + 1]
call fcn.00469810
mov eax, dword [esp + 0xc]
add esp, 4
mov edx, dword [esp + 0x14]
mov dword [eax + 0x10], 0
test edx, edx
jne 0x4a5914
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
jmp 0x4a592d
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xff
jmp 0x4a592d
mov edx, dword [esp + 0x14]
push edx
or edx, 0xffffffff
call fcn.00469810
add esp, 4
mov eax, dword [esp + 0x44]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [esp + 0x28]
push dword [eax]
lea eax, [esp + 0x98]
push eax
call fcn.0049cb30
add esp, 0xc
mov edx, dword [esi + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x8c]
mov dword [esp + 0x8c], eax
js 0x4a597a
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x4a597a
mov edi, dword [esp + 0x8c]
mov eax, dword [esi + 0x20]
mov dword [ecx + edi*4], eax
mov edi, dword [esp + 0x20]
mov eax, dword [esi + 0x20]
dec eax
xor esi, esi
mov dword [edx + 0x58], eax
jmp 0x4a55d7
mov esi, 1
jmp 0x4a55df
mov esi, 1
jmp 0x4a55db
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret