Function at 0x4cb030
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x19c]
mov ebx, dword [esi]
mov dword [esp + 0xd8], eax
mov eax, dword [esi + 0x1a0]
push edi
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x19c], eax
inc eax
mov dword [esp + 0x34], 1
mov dword [esi + 0x1a0], eax
mov dword [esp + 0x30], ebx
test edi, edi
je 0x4cd3ac
cmp byte [ebx + 0x45], 0
jne 0x4cd3ac
cmp dword [esi + 0x24], 0
jne 0x4cd3ac
push 0
push 0
push 0
push 0x15
mov eax, esi
call fcn.004abc10
add esp, 0x10
test eax, eax
jne 0x4cd3ac
push 0x30
push eax
lea ecx, [esp + 0xb4]
push ecx
call sub.MSVCR100.dll_memset
mov edx, dword [ebp + 0x10]
add esp, 0xc
cmp byte [edx], 8
ja 0x4cb0e0
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x4cb0d5
push eax
push ebx
call fcn.004a2f20
add esp, 8
and dword [edi + 8], 0xfffffffe
mov dword [edi + 0x2c], 0
push 0
push edi
push esi
call fcn.004ca690
mov ecx, dword [edi + 0x1c]
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov eax, dword [edi + 0x2c]
add esp, 0xc
cmp dword [esi + 0x24], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x14], ecx
jne 0x4cd22d
mov edx, ebx
cmp byte [edx + 0x45], 0
jne 0x4cd22d
mov ebx, edi
mov eax, dword [ebx + 8]
shr eax, 3
mov edi, esi
mov esi, dword [edi + 8]
and eax, 1
mov dword [esp + 0xc], eax
test esi, esi
je 0x4cb168
mov dword [esp + 0x60], esi
jmp 0x4cb178
mov ebx, edi
call fcn.004c5e20
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x60], eax
mov esi, eax
test esi, esi
je 0x4cd22d
mov eax, dword [ebp + 0x10]
cmp byte [eax], 9
jne 0x4cb193
push edi
mov eax, ebx
call fcn.004c55f0
add esp, 4
cmp dword [ebx + 0x30], 0
mov dword [esp + 0x28], 0
jne 0x4cb27f
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx]
jge 0x4cb276
lea edx, [eax + eax*4]
add edx, edx
mov eax, dword [ecx + edx*8 + 0x1c]
lea ecx, [ecx + edx*8 + 8]
mov ecx, dword [ecx + 0x10]
test eax, eax
je 0x4cb243
movsx edx, word [ecx + 0x2a]
mov ebx, dword [eax]
cmp edx, dword [ebx]
jne 0x4cb258
mov ebx, dword [eax + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
shr ebx, 3
and ebx, 1
push ebx
push eax
mov eax, dword [ebp + 0xc]
push ecx
push edi
call fcn.004c8a50
add esp, 0x10
test eax, eax
je 0x4cb216
test ebx, ebx
je 0x4cb20e
mov eax, dword [ebp + 0xc]
or dword [eax + 8], 8
mov dword [esp + 0xc], 1
mov dword [esp + 0x28], 0xffffffff
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x30]
cmp byte [ecx + 0x45], 0
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x14], eax
jne 0x4cd22d
mov edx, dword [ebp + 0x10]
cmp byte [edx], 8
mov edi, dword [ebp + 8]
jbe 0x4cb243
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x74], ecx
mov edx, dword [ebp + 0xc]
inc dword [esp + 0x28]
cmp dword [edx + 0x30], 0
je 0x4cb1a5
mov ebx, edx
jmp 0x4cb279
mov edx, dword [ebx]
mov eax, dword [ecx]
movsx ecx, word [ecx + 0x2a]
push edx
push eax
push ecx
push str.expected__d_columns_for__s_but_got__d
push edi
call fcn.00472420
add esp, 0x14
jmp 0x4cd22d
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x30], 0
je 0x4cb2a1
mov edx, dword [ebp + 0x10]
push edx
push ebx
push edi
call fcn.004c6820
mov ecx, dword [esp + 0xe8]
add esp, 0xc
mov dword [edi + 0x19c], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x14]
cmp dword [edx], 0
mov dword [esp + 0x28], 0
jle 0x4cb5b9
jmp 0x4cb2c0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
add eax, eax
mov edx, dword [ecx + eax*8 + 0x48]
or edx, dword [ecx + eax*8 + 0x4c]
lea ebx, [ecx + eax*8 + 8]
jne 0x4cb2f4
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
push eax
push 0x528927
push ecx
push 0x14
mov eax, edi
call fcn.004abc10
add esp, 0x10
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4cb5a4
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x4cb32b
test byte [ebx + 0x28], 0x10
jne 0x4cb5a4
mov edx, dword [ebx + 0x1c]
push 0
push eax
push edx
push 0xe
push esi
call fcn.0048e3e0
add esp, 0x14
jmp 0x4cb5a4
mov eax, dword [ebp + 0xc]
lea edi, [esp + 0x20]
mov dword [esp + 0x20], 0
call fcn.004a1770
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 8]
add dword [eax + 0x198], ecx
test byte [ebx + 0x24], 0x20
jne 0x4cb36e
mov edx, dword [ebx + 0x30]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
mov eax, dword [ebp + 8]
push edx
mov edx, dword [esp + 0x14]
push ecx
push edx
push eax
call fcn.004c9090
add esp, 0x10
cmp dword [esp + 0x28], 0
jne 0x4cb457
mov eax, dword [esp + 0x14]
cmp dword [eax], 1
je 0x4cb38c
test byte [eax + 0x7c], 0xa
je 0x4cb457
mov ecx, dword [ebp + 0xc]
test byte [ecx + 8], 2
jne 0x4cb457
mov eax, dword [esp + 0x30]
mov edx, 0x100
test word [eax + 0x40], dx
jne 0x4cb457
mov edi, dword [esi + 0x88]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x2c]
inc edi
push edi
inc eax
push 0
push eax
push 0xf
mov dword [ecx + 0x2c], eax
push esi
mov dword [ebx + 0x1c], eax
call fcn.0048e3e0
mov ecx, dword [ebx + 0x1c]
xor eax, eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x18], edi
mov dl, byte [eax + 0x1a0]
add esp, 0x14
mov dword [esp + 0x98], ecx
lea ecx, [esp + 0x94]
mov byte [ebx + 0x2c], dl
mov edx, dword [esp + 0x10]
push ecx
push edx
push eax
mov byte [esp + 0xa0], 0xd
call fcn.004cb030
mov ecx, dword [esp + 0x1c]
mov dx, word [ecx + 6]
mov eax, dword [ebx + 0x10]
mov word [eax + 0x2c], dx
mov eax, dword [esp + 0xa8]
or dword [ebx + 0x28], 0x10
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x1c]
add esp, 0xc
call fcn.0048e7a0
mov edx, dword [esp + 0x60]
lea eax, [edi - 1]
call fcn.0048eb50
mov esi, dword [esp + 0x60]
jmp 0x4cb565
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x2c]
inc eax
push 0
push eax
push 0
push 0x38
mov dword [ecx + 0x2c], eax
push esi
mov dword [esp + 0x34], 0
mov dword [ebx + 0x1c], eax
call fcn.0048e3e0
mov dword [esp + 0x50], eax
inc eax
add esp, 0x14
test byte [ebx + 0x28], 8
mov dword [ebx + 0x18], eax
jne 0x4cb49f
push 0
push 0
push 0
push 0x14
push esi
call fcn.0048e3e0
add esp, 0x14
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov edi, ebx
call fcn.004cafa0
mov edi, eax
test edi, edi
je 0x4cb4dc
mov ecx, dword [edi + 0x30]
mov edx, dword [ebx + 0x30]
push 0
push ecx
push edx
push 0x6a
push esi
call fcn.0048e3e0
mov al, byte [edi + 0x2c]
mov byte [ebx + 0x2c], al
mov ecx, dword [edi + 0x14]
mov dx, word [ecx + 6]
mov eax, dword [esp + 0x24]
add esp, 0x14
mov word [eax + 6], dx
jmp 0x4cb527
mov ecx, dword [ebx + 0x30]
xor eax, eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 8]
mov dl, byte [eax + 0x1a0]
mov dword [esp + 0x98], ecx
lea ecx, [esp + 0x94]
mov byte [ebx + 0x2c], dl
mov edx, dword [esp + 0x10]
push ecx
push edx
push eax
mov byte [esp + 0xa0], 0xc
call fcn.004cb030
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x10]
mov dx, word [ecx + 6]
mov word [eax + 0x2c], dx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4cb545
mov edx, esi
call fcn.0048eb50
mov ebx, dword [ebx + 0x1c]
push 0
push 0
push ebx
push 0x34
push esi
call fcn.0048e3e0
mov edx, eax
mov eax, dword [esp + 0x50]
add esp, 0x14
mov ecx, esi
call fcn.0048ead0
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0
mov byte [eax + 0x13], 0
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x45], 0
jne 0x4cd22d
mov eax, dword [ebp + 0xc]
lea edi, [esp + 0x20]
mov dword [esp + 0x20], 0
call fcn.004a1770
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x20]
sub dword [eax + 0x198], ecx
mov edi, eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [edx]
jl 0x4cb2c0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 0x20]
mov dword [esp + 0x58], ecx
lea ecx, [eax + 0x20]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x1c], ecx
mov cl, byte [eax + 8]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x28]
mov eax, dword [eax + 8]
and cl, 1
and al, 9
mov dword [esp + 0x70], edx
mov byte [esp + 0x94], cl
cmp al, 1
jne 0x4cb62b
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x74]
push 0xffffffffffffffff
call fcn.004a7f70
add esp, 4
test eax, eax
jne 0x4cb62b
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x30]
mov ebx, dword [ebp + 0xc]
and dword [ebx + 8], 0xfffffffe
push eax
push ecx
push edx
call fcn.004a2500
add esp, 0xc
mov dword [ebx + 0x24], eax
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x74], 0
je 0x4cb6ec
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx]
push eax
push edi
xor ebx, ebx
call fcn.004c4ae0
mov ecx, dword [esp + 0x60]
mov ebx, eax
mov eax, dword [edi + 0x28]
lea edx, [eax + 1]
mov dword [edi + 0x28], edx
mov edx, dword [ecx]
mov ecx, dword [esp + 0x7c]
mov ecx, dword [ecx]
push 0
lea ecx, [edx + ecx + 1]
push ecx
push eax
push 0x6c
push esi
mov dword [esp + 0x98], eax
call fcn.0048e3e0
mov ecx, dword [esi]
add esp, 0x1c
cmp byte [ecx + 0x45], 0
mov edx, eax
mov dword [esp + 0x20], edx
je 0x4cb6a1
mov eax, ebx
mov edx, 0xfffffff7
call fcn.0048ed10
mov edx, dword [esp + 0x20]
mov dword [esp + 0x88], edx
jmp 0x4cb6f7
test edx, edx
jns 0x4cb6ac
mov eax, dword [esi + 0x88]
dec eax
mov ecx, dword [esi + 0x58]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea ecx, [ecx + eax*4]
je 0x4cb6d8
push ebx
push esi
mov eax, 0xfffffff7
call fcn.0048ee80
mov edx, dword [esp + 0x28]
add esp, 8
mov dword [esp + 0x88], edx
jmp 0x4cb6f7
test ebx, ebx
je 0x4cb6e3
mov dword [ecx + 0x10], ebx
mov byte [ecx + 1], 0xf7
mov dword [esp + 0x88], edx
jmp 0x4cb6f7
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0xc
jne 0x4cb717
mov edx, dword [esp + 0x58]
mov ecx, dword [edx]
mov edx, dword [eax + 4]
push 0
push ecx
push edx
push 0x6c
push esi
call fcn.0048e3e0
add esp, 0x14
mov eax, esi
call fcn.0048e7d0
mov ebx, dword [ebp + 0xc]
test dword [ebx + 8], 0x4000
mov dword [esp + 0x11c], eax
jne 0x4cb73a
mov ecx, 0x140
mov word [ebx + 6], cx
push eax
push ebx
mov eax, edi
call fcn.004c5eb0
add esp, 8
cmp dword [ebx + 0xc], 0
jne 0x4cb768
mov eax, dword [esp + 0x88]
test eax, eax
js 0x4cb768
mov dl, 0x6d
mov ecx, esi
call fcn.0048eaa0
or byte [esp + 0x90], 1
test byte [ebx + 8], 1
je 0x4cb82e
mov eax, dword [edi + 0x28]
mov dword [esp + 0x98], eax
inc eax
mov edx, ebx
mov dword [edi + 0x28], eax
mov eax, dword [edx]
push eax
push edi
xor edx, edx
xor ebx, ebx
call fcn.004c4ae0
mov ecx, dword [esp + 0xa0]
push 0
push 0
push ecx
push 0x6c
push esi
mov ebx, eax
call fcn.0048e3e0
mov ecx, dword [esi]
add esp, 0x1c
cmp byte [ecx + 0x45], 0
mov edx, eax
mov dword [esp + 0x20], edx
je 0x4cb7c8
mov eax, ebx
mov edx, 0xfffffff7
call fcn.0048ed10
mov edx, dword [esp + 0x20]
jmp 0x4cb803
test edx, edx
jns 0x4cb7d3
mov eax, dword [esi + 0x88]
dec eax
mov ecx, dword [esi + 0x58]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea ecx, [ecx + eax*4]
je 0x4cb7f8
push ebx
push esi
mov eax, 0xfffffff7
call fcn.0048ee80
mov edx, dword [esp + 0x28]
add esp, 8
jmp 0x4cb803
test ebx, ebx
je 0x4cb803
mov dword [ecx + 0x10], ebx
mov byte [ecx + 1], 0xf7
mov eax, dword [esi + 0x88]
mov dword [esp + 0x9c], edx
test eax, eax
jle 0x4cb824
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
mov ecx, 8
mov word [eax + edx*4 - 0x12], cx
mov byte [esp + 0x95], 3
jmp 0x4cb836
mov byte [esp + 0x95], 0
mov edx, dword [esp + 0x1c]
xor eax, eax
cmp dword [esp + 0xc], eax
jne 0x4cb947
cmp edx, eax
jne 0x4cb947
movzx edx, byte [esp + 0x94]
mov ecx, dword [ebp + 0xc]
mov ax, word [ecx + 8]
neg edx
sbb edx, edx
and edx, 0x100
mov ebx, 0x4000
and ax, bx
or dx, ax
movzx eax, dx
movsx edx, word [ecx + 6]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [ecx]
mov ecx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
push edi
call fcn.004ddc70
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x4cd22d
movzx eax, word [ebx + 0x48]
mov ecx, dword [ebp + 0xc]
cmp ax, word [ecx + 6]
jge 0x4cb8b1
mov word [ecx + 6], ax
cmp byte [esp + 0x94], 0
je 0x4cb8c9
mov al, byte [ebx + 0x33]
test al, al
je 0x4cb8c9
mov byte [esp + 0x95], al
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x4cb8f3
movsx eax, byte [ebx + 0x2f]
mov dl, byte [ebx + 0x34]
mov dword [esp + 0x78], eax
mov byte [esp + 0x91], dl
cmp eax, dword [ecx]
jne 0x4cb8f3
mov dword [esp + 0x74], 0
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x88]
test eax, eax
js 0x4cb909
test ecx, ecx
jne 0x4cb909
mov edx, esi
call fcn.0048ee40
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebp + 0x10]
push eax
push ecx
push edx
mov edx, dword [esp + 0x64]
lea eax, [esp + 0xa0]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x84]
push ecx
push 0xffffffffffffffff
push edx
push eax
push edi
call fcn.004c3f20
add esp, 0x24
push ebx
call fcn.004de700
add esp, 4
jmp 0x4cd1ad
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], eax
cmp edx, eax
je 0x4cb99f
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx]
mov eax, dword [ecx]
test eax, eax
jle 0x4cb975
add ecx, 0x1e
xor ebx, ebx
mov word [ecx], bx
dec eax
add ecx, 0x18
test eax, eax
jg 0x4cb965
mov ebx, dword [ebp + 0xc]
mov eax, dword [edx]
test eax, eax
jle 0x4cb98d
lea ecx, [edx + 0x1e]
mov edi, edi
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x18
test eax, eax
jg 0x4cb980
cmp word [ebx + 6], 0x42
jle 0x4cb9a8
mov eax, 0x42
mov word [ebx + 6], ax
jmp 0x4cb9a8
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov word [edx + 6], cx
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x1c]
push 0xffffffffffffffff
call fcn.004a7f70
add esp, 4
test eax, eax
jne 0x4cb9c6
mov dword [esp + 0x50], 1
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 0x44]
lea edx, [ebx - 1]
lea ecx, [ebx + 1]
mov dword [esp + 0xc], eax
mov dword [eax + 0x44], ecx
test ebx, edx
jne 0x4cba08
lea eax, [ebx*8 + 4]
push 0
push eax
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x48]
mov esi, dword [eax]
call fcn.0046fde0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x68]
mov edi, dword [ebp + 8]
mov dword [ecx + 0x48], eax
add esp, 8
mov eax, ecx
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4cba16
mov dword [eax + ebx*4], 0xffffffff
mov ecx, dword [edi + 0x2c]
mov edx, dword [esp + 0x14]
or eax, 0xffffffff
sub eax, ebx
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0x108], eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], eax
lea eax, [esp + 0xac]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0xfc], edi
mov dword [esp + 0x100], edx
mov dword [esp + 0xbc], ecx
test eax, eax
je 0x4cba97
mov edx, dword [eax]
mov dword [esp + 0xb8], edx
jmp 0x4cbaa2
mov dword [esp + 0xb8], 0
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x58]
lea ecx, [esp + 0xfc]
push ecx
mov dword [esp + 0xc8], eax
call fcn.004a8570
mov ebx, dword [esp + 0x78]
lea edx, [esp + 0x100]
add esp, 4
push edx
call fcn.004a8570
add esp, 4
cmp dword [esp + 0x70], 0
je 0x4cbbae
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4cbb5f
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
push ecx
lea edx, [esp + 0xe4]
lea eax, [esp + 0x24]
push edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0xe8], edi
mov dword [esp + 0xec], 0x4caee0
mov dword [esp + 0x100], eax
call fcn.0049ec60
mov eax, dword [ebx]
add esp, 8
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x70]
push edx
lea eax, [esp + 0xe4]
lea ecx, [esp + 0x100]
push eax
mov dword [esp + 0xec], 0x4a8270
mov dword [esp + 0xf0], 0x4a8550
mov dword [esp + 0xf4], 0x4a8560
mov dword [esp + 0xf8], 0
mov dword [esp + 0x100], ecx
call fcn.0049ec60
add esp, 8
mov ebx, dword [esp + 0xd8]
mov ecx, dword [esp + 0xcc]
xor eax, eax
mov dword [esp + 0xd0], ecx
mov dword [esp + 0x28], eax
cmp ebx, eax
jle 0x4cbc30
mov dword [esp + 0xc], eax
jmp 0x4cbbe0
mov edx, dword [esp + 0xd4]
or word [esp + 0x118], 8
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + edx]
mov ebx, dword [ecx + 0x14]
lea edx, [esp + 0xfc]
push edx
call fcn.004a8570
mov ebx, dword [esp + 0xdc]
add dword [esp + 0x10], 0x10
mov eax, 0xfff7
and word [esp + 0x11c], ax
mov eax, dword [esp + 0x2c]
inc eax
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
jl 0x4cbbe0
mov ecx, dword [edi + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc0], ecx
cmp byte [edx + 0x45], 0
jne 0x4cd22d
cmp dword [esp + 0x1c], 0
je 0x4cccf2
mov eax, dword [edi + 0x28]
mov edx, dword [esp + 0xcc]
mov dword [esp + 0xb0], eax
inc eax
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x1c]
push eax
push edi
xor ebx, ebx
call fcn.004c4ae0
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x88]
add esp, 8
cmp dword [eax + 0x30], ecx
jg 0x4cbcb8
mov ecx, dword [esp + 0xb0]
push ebx
push edx
push ecx
push 0x6d
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
mov dword [esp + 0x20], eax
jmp 0x4cbced
mov ebx, dword [esi + 0x58]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea eax, [ecx + ecx*4]
lea eax, [ebx + eax*4]
xor ebx, ebx
mov word [eax + 2], bx
mov ebx, dword [esp + 0x20]
mov dword [eax + 8], edx
xor edx, edx
mov dword [eax + 4], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x6d
mov dword [esp + 0x20], ecx
mov eax, ecx
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
je 0x4cbd05
mov eax, dword [esp + 0x10]
mov edx, 0xfffffff7
call fcn.0048ed10
jmp 0x4cbd40
test eax, eax
jns 0x4cbd10
mov eax, dword [esi + 0x88]
dec eax
mov edx, dword [esi + 0x58]
lea ecx, [eax + eax*4]
cmp byte [edx + ecx*4 + 1], 0
mov eax, dword [esp + 0x10]
lea ecx, [edx + ecx*4]
je 0x4cbd35
push eax
push esi
mov eax, 0xfffffff7
call fcn.0048ee80
add esp, 8
jmp 0x4cbd40
test eax, eax
je 0x4cbd40
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xf7
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x6c], eax
inc eax
mov dword [esp + 0x68], eax
inc eax
mov dword [edi + 0x2c], eax
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 0x44]
lea edx, [ebx - 1]
lea ecx, [ebx + 1]
mov dword [esp + 0xc], eax
mov dword [eax + 0x44], ecx
test ebx, edx
jne 0x4cbd99
lea eax, [ebx*8 + 4]
push 0
push eax
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x48]
mov esi, dword [eax]
call fcn.0046fde0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x68]
mov edi, dword [ebp + 8]
mov dword [ecx + 0x48], eax
add esp, 8
mov eax, ecx
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4cbda7
mov dword [eax + ebx*4], 0xffffffff
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
or eax, 0xffffffff
sub eax, ebx
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 0x44]
mov dword [esp + 0x2c], edx
lea edx, [ebx - 1]
lea ecx, [ebx + 1]
mov dword [esp + 0xc], eax
mov dword [eax + 0x44], ecx
test ebx, edx
jne 0x4cbdfc
lea eax, [ebx*8 + 4]
push 0
push eax
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x48]
mov esi, dword [eax]
call fcn.0046fde0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x68]
mov edi, dword [ebp + 8]
mov dword [ecx + 0x48], eax
add esp, 8
mov eax, ecx
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4cbe0a
mov dword [eax + ebx*4], 0xffffffff
mov ecx, dword [esp + 0x1c]
or eax, 0xffffffff
sub eax, ebx
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x2c]
lea ebx, [eax + 1]
add eax, dword [ecx]
mov dword [esp + 0xc], ebx
mov dword [edi + 0x2c], eax
mov ecx, dword [ecx]
lea edx, [eax + 1]
add ecx, eax
mov dword [edi + 0x2c], ecx
mov eax, dword [esi + 0x88]
mov dword [esp + 0x5c], edx
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x4cbe59
mov eax, dword [esp + 0x68]
push 0
push eax
push 0
push 0x38
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4cbe86
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x68]
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x38
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
xor ecx, ecx
cmp dword [edx + 0x30], eax
jg 0x4cbeab
mov eax, dword [esp + 0x6c]
push ecx
push eax
push ecx
push 0x38
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4cbed8
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x6c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x38
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
lea ecx, [ecx + ebx - 1]
cmp dword [edx + 0x30], eax
jg 0x4cbf04
push ecx
push ebx
push 0
push 0x3b
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
xor edx, edx
jmp 0x4cbf2d
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov word [eax], 0x3b
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x4cbf55
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x2c]
push 0
push edx
push eax
push 0xe
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4cbf86
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
mov ecx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0xe
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
neg edx
sbb edx, edx
and edx, 0x200
or dx, 0x40
push 0
movzx eax, dx
mov edx, dword [esp + 0x18]
push eax
push 0
push ebx
push ecx
push edx
push edi
call fcn.004ddc70
add esp, 0x1c
mov dword [esp + 0x3c], eax
test eax, eax
je 0x4cd22d
movsx ecx, byte [eax + 0x2f]
cmp ecx, dword [ebx]
jne 0x4cbfd9
mov dword [esp + 0x44], 0
jmp 0x4cc459
cmp byte [esp + 0x94], 0
je 0x4cbff1
mov edx, dword [ebp + 0xc]
test byte [edx + 8], 1
mov eax, str.DISTINCT
je 0x4cbff6
mov eax, str.GROUP_BY
mov ecx, edi
call fcn.004c4b70
cmp dword [esp + 0xcc], 0
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax]
mov dword [esp + 0x44], 1
mov eax, ebx
mov dword [esp + 0x34], ebx
mov ecx, ebx
jle 0x4cc04f
mov edx, dword [esp + 0xc8]
add edx, 0xc
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x18]
cmp dword [edx], ecx
jl 0x4cc040
inc eax
inc ecx
add dword [esp + 0x18], 0x18
dec dword [esp + 0x38]
jne 0x4cc036
mov dword [esp + 0x34], eax
cmp eax, 1
jne 0x4cc07c
mov al, byte [edi + 0x13]
test al, al
jne 0x4cc067
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x14], eax
jmp 0x4cc0a9
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x15c]
mov dword [esp + 0x14], eax
jmp 0x4cc0a9
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x18], edx
cmp eax, ecx
jg 0x4cc09a
add edx, eax
sub ecx, eax
mov dword [edi + 0x20], edx
mov edx, dword [esp + 0x18]
mov dword [edi + 0x1c], ecx
jmp 0x4cc0a5
mov ecx, dword [edi + 0x2c]
add eax, ecx
lea edx, [ecx + 1]
mov dword [edi + 0x2c], eax
mov dword [esp + 0x14], edx
mov eax, edi
call fcn.004a5f40
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
push 0
push 0
push ecx
push edi
call fcn.004a7340
add esp, 0x10
cmp dword [esp + 0xcc], 0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], 0
jle 0x4cc19a
add ebx, dword [esp + 0x14]
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + eax + 0xc]
cmp edx, dword [esp + 0x38]
jl 0x4cc17f
mov edx, dword [ecx + eax + 4]
mov esi, dword [ecx + eax + 8]
mov eax, dword [ecx + eax]
push 0
push ebx
push edx
push esi
push eax
mov esi, edi
call fcn.004a5e70
add esp, 0x14
cmp eax, ebx
je 0x4cc16c
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx + 0x88]
mov esi, dword [ecx + 0xc]
cmp dword [esi + 0x30], edx
jg 0x4cc146
push 0
push ebx
push eax
push 0x41
mov eax, ecx
call fcn.0048e3a0
add esp, 0x10
jmp 0x4cc16c
lea esi, [edx + 1]
mov dword [ecx + 0x88], esi
mov ecx, dword [ecx + 0x58]
lea edx, [edx + edx*4]
lea ecx, [ecx + edx*4]
mov dword [ecx + 4], eax
xor eax, eax
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x41
inc dword [esp + 0x38]
mov eax, dword [esp + 0xc8]
mov esi, dword [esp + 0x60]
mov edi, dword [ebp + 8]
inc ebx
mov ecx, dword [esp + 0x28]
add dword [esp + 0x18], 0x18
inc ecx
mov dword [esp + 0x28], ecx
cmp ecx, dword [esp + 0xcc]
jl 0x4cc0f3
mov al, byte [edi + 0x13]
test al, al
jne 0x4cc1a9
inc dword [edi + 0x2c]
mov ebx, dword [edi + 0x2c]
jmp 0x4cc1b8
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov ebx, dword [edi + eax*4 + 0x15c]
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x4cc1df
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
push ebx
push edx
push eax
push 0x63
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4cc214
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 0
mov word [eax], 0x63
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0xb0]
cmp dword [edx + 0x30], eax
jg 0x4cc23d
push 0
mov eax, ecx
push ebx
push eax
push 0x7d
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4cc263
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x7d
test ebx, ebx
je 0x4cc299
cmp byte [edi + 0x13], 8
jae 0x4cc299
xor eax, eax
lea ecx, [edi + 0x94]
cmp byte [edi + 0x19], al
jbe 0x4cc28b
cmp dword [ecx + 0xc], ebx
je 0x4cc2f4
movzx edx, byte [edi + 0x19]
inc eax
add ecx, 0x14
cmp eax, edx
jl 0x4cc27a
movzx eax, byte [edi + 0x13]
mov dword [edi + eax*4 + 0x15c], ebx
inc byte [edi + 0x13]
cmp dword [esp + 0x34], 1
jne 0x4cc300
cmp dword [esp + 0x14], 0
je 0x4cc31f
mov ecx, dword [ebp + 8]
mov bl, byte [ecx + 0x13]
mov byte [esp + 0x67], bl
cmp bl, 8
jae 0x4cc31f
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0x14]
xor ecx, ecx
lea edx, [eax + 0x94]
cmp byte [eax + 0x19], cl
jbe 0x4cc2e5
lea ebx, [ebx]
cmp dword [edx + 0xc], edi
je 0x4cc2fa
movzx ebx, byte [eax + 0x19]
inc ecx
add edx, 0x14
cmp ecx, ebx
jl 0x4cc2d0
mov bl, byte [esp + 0x67]
movzx edx, bl
mov dword [eax + edx*4 + 0x15c], edi
inc byte [eax + 0x13]
jmp 0x4cc31f
mov byte [ecx + 6], 1
jmp 0x4cc299
mov byte [edx + 6], 1
jmp 0x4cc31f
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x14]
mov eax, dword [ebp + 8]
push ebx
call fcn.004a5c20
add esp, 4
cmp ebx, dword [eax + 0x1c]
jle 0x4cc31f
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], edi
mov eax, dword [esp + 0x3c]
push eax
call fcn.004de700
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x28]
mov al, byte [edi + 0x13]
add esp, 4
lea edx, [ecx + 1]
mov dword [esp + 0x18], ecx
mov dword [esp + 0xb4], ecx
mov dword [edi + 0x28], edx
test al, al
jne 0x4cc356
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x38], edx
jmp 0x4cc369
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov edx, dword [edi + eax*4 + 0x15c]
mov dword [esp + 0x38], edx
mov eax, dword [esi + 0x88]
mov ebx, dword [esi + 0xc]
cmp dword [ebx + 0x30], eax
jg 0x4cc38c
mov eax, dword [esp + 0x34]
push eax
push edx
push ecx
push 0x6f
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4cc3b8
lea ebx, [eax + 1]
mov dword [esi + 0x88], ebx
mov ebx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov dword [eax], 0x6f
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0xb0]
cmp dword [edx + 0x30], eax
jg 0x4cc3e3
mov eax, dword [esp + 0x4c]
push 0
push eax
push ecx
push 0x23
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4cc413
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x23
xor edx, edx
mov byte [esp + 0xad], 1
cmp byte [edi + 0x19], dl
jbe 0x4cc451
lea eax, [edi + 0xa0]
cmp byte [eax - 6], 0
je 0x4cc445
mov cl, byte [edi + 0x13]
cmp cl, 8
jae 0x4cc445
mov ebx, dword [eax]
movzx ecx, cl
mov dword [edi + ecx*4 + 0x15c], ebx
inc byte [edi + 0x13]
movzx ecx, byte [edi + 0x19]
inc edx
add eax, 0x14
cmp edx, ecx
jl 0x4cc428
mov eax, dword [esp + 0x3c]
mov byte [edi + 0x19], 0
cmp dword [esp + 0x50], 0
je 0x4cc4af
mov edx, dword [esp + 0x30]
test byte [edx + 0x40], 4
jne 0x4cc4af
cmp dword [esp + 0x44], 0
jne 0x4cc477
cmp byte [eax + 0x30], 0
je 0x4cc4af
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
mov dword [esp + 0x74], 0
jne 0x4cc4af
mov eax, dword [esp + 0x88]
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea ebx, [edx + eax*4]
movsx edx, byte [ebx + 1]
mov eax, dword [ebx + 0x10]
call fcn.0048ed10
mov dword [ebx + 0x10], 0
mov word [ebx], 0xa6
mov eax, dword [esi + 0x88]
xor edx, edx
mov dword [esp + 0x34], eax
cmp byte [edi + 0x19], dl
jbe 0x4cc4ef
lea eax, [edi + 0xa0]
cmp byte [eax - 6], 0
je 0x4cc4e3
mov cl, byte [edi + 0x13]
cmp cl, 8
jae 0x4cc4e3
mov ebx, dword [eax]
movzx ecx, cl
mov dword [edi + ecx*4 + 0x15c], ebx
inc byte [edi + 0x13]
movzx ecx, byte [edi + 0x19]
inc edx
add eax, 0x14
cmp edx, ecx
jl 0x4cc4c6
cmp dword [esp + 0x44], 0
mov byte [edi + 0x19], 0
je 0x4cc55d
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0xb0]
cmp dword [edx + 0x30], eax
jg 0x4cc528
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
push eax
push edx
push ecx
push 0x79
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4cc55d
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov word [eax], 0x79
mov ecx, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [ecx], ebx
jle 0x4cc60f
add ecx, 8
mov dword [esp + 0x50], ecx
cmp dword [esp + 0x44], 0
je 0x4cc5dd
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x4cc5a3
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x18]
lea eax, [ebx + edx]
push eax
push ebx
push ecx
push 0x60
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4cc5fd
mov ecx, dword [esi + 0x58]
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x18]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
lea ecx, [ebx + edx]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0x60
jmp 0x4cc5fd
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
lea eax, [ebx + edx]
mov byte [esp + 0xac], 1
mov edx, dword [ecx]
push eax
push edx
push edi
call fcn.004a7280
add esp, 0xc
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x50], 0x18
inc ebx
cmp ebx, dword [ecx]
jl 0x4cc572
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4cc619
inc dword [eax]
mov edx, dword [ecx]
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x4cc642
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x10]
push ecx
push edx
push 0x5e
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4cc679
mov ebx, dword [esi + 0x58]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea eax, [ecx + ecx*4]
lea eax, [ebx + eax*4]
xor ebx, ebx
mov word [eax + 2], bx
mov ebx, dword [esp + 0xc]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x5c]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov word [eax], 0x5e
mov eax, ecx
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
je 0x4cc691
mov eax, dword [esp + 0x10]
mov edx, 0xfffffff7
call fcn.0048ed10
jmp 0x4cc6cc
test eax, eax
jns 0x4cc69c
mov eax, dword [esi + 0x88]
dec eax
mov edx, dword [esi + 0x58]
lea ecx, [eax + eax*4]
cmp byte [edx + ecx*4 + 1], 0
mov eax, dword [esp + 0x10]
lea ecx, [edx + ecx*4]
je 0x4cc6c1
push eax
push esi
mov eax, 0xfffffff7
call fcn.0048ee80
add esp, 8
jmp 0x4cc6cc
test eax, eax
je 0x4cc6cc
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xf7
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
mov ecx, eax
mov dword [esp + 0x50], ecx
inc ecx
cmp dword [edx + 0x30], eax
jg 0x4cc6f3
push ecx
push 0
push ecx
push 0x12
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4cc71c
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov word [eax], 0x12
mov eax, dword [esp + 0x1c]
mov edi, dword [edi + 8]
mov ebx, dword [eax]
mov eax, dword [edi + 0x88]
mov ecx, dword [edi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x4cc74c
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x5c]
push ebx
push edx
push eax
push 0x3f
mov eax, edi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4cc781
lea ecx, [eax + 1]
mov dword [edi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x5c]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 0
mov word [eax], 0x3f
mov edi, dword [esp + 0x5c]
mov eax, dword [ebp + 8]
push ebx
call fcn.004a5c20
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
add esp, 4
cmp dword [edx + 0x30], eax
jg 0x4cc7ba
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
xor edi, edi
push edi
push eax
push ecx
push 0xe
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4cc7ef
mov ecx, dword [esi + 0x58]
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x54]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x48]
mov dword [eax + 4], ecx
xor ecx, ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0xe
xor edi, edi
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x4cc816
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x68]
push edi
push edx
push eax
push 0x2e
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4cc847
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x68]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov word [eax], 0x2e
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x4cc86e
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
push edi
push eax
push ecx
push 0xe
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4cc89f
mov ecx, dword [esi + 0x58]
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x2c]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov word [eax], 0xe
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 0x88]
cmp eax, edi
jge 0x4cc8b0
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
je 0x4cc8bf
mov eax, 0x573b6c
jmp 0x4cc8c8
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov ebx, dword [ebp + 8]
mov dword [eax + 8], ecx
lea eax, [esp + 0xac]
push eax
call fcn.004ca8f0
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
add esp, 4
cmp dword [ecx + 0x30], eax
jg 0x4cc904
mov edx, dword [esp + 0x6c]
xor ebx, ebx
push ebx
push edx
push 1
push 0x38
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4cc937
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x6c]
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], 1
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x38
xor ebx, ebx
cmp dword [esp + 0x44], ebx
je 0x4cc991
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0xb0]
cmp dword [edx + 0x30], eax
jg 0x4cc967
mov eax, dword [esp + 0x34]
push ebx
push eax
push ecx
push 3
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4cc9c6
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax], 3
jmp 0x4cc9c6
mov edx, dword [esp + 0x3c]
push edx
call fcn.004de700
mov ecx, dword [esi]
add esp, 4
cmp byte [ecx + 0x45], bl
jne 0x4cc9c6
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea edi, [edx + eax*4]
movsx edx, byte [edi + 1]
mov eax, dword [edi + 0x10]
call fcn.0048ed10
mov dword [edi + 0x10], ebx
mov word [edi], 0xa6
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x54]
cmp dword [ecx + 0x30], eax
jg 0x4cc9ed
mov edx, dword [esp + 0x48]
push ebx
push edx
push edi
push 0xe
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4cca1e
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x54]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0xe
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x4cca41
mov eax, dword [esp + 0x4c]
push ebx
push eax
push ebx
push 0xd
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4cca69
lea ecx, [eax + 1]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x4c]
mov dword [esi + 0x88], ecx
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax], 0xd
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x20], eax
cmp dword [ecx + 0x30], eax
jg 0x4cca91
mov edx, dword [esp + 0x68]
push ebx
push edx
push 1
push 0x38
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4ccabd
lea ecx, [eax + 1]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x68]
mov dword [esi + 0x88], ecx
mov dword [eax + 4], 1
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax], 0x38
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x4ccadc
push ebx
push ebx
push edi
push 0x34
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4ccb00
mov ecx, dword [esi + 0x58]
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax], 0x34
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x48]
cmp eax, ebx
je 0x4ccb1f
mov ecx, dword [esp + 0x48]
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0x88]
sub eax, edx
mov dword [eax], ecx
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
mov edi, eax
lea ecx, [edi + 2]
cmp dword [edx + 0x30], eax
jg 0x4ccb47
mov eax, dword [esp + 0x6c]
push ebx
push ecx
push eax
push 0x2e
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4ccb74
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x2e
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x4ccb97
mov edx, dword [esp + 0x54]
push ebx
push ebx
push edx
push 0x34
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4ccbbf
lea ecx, [eax + 1]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x54]
mov dword [esi + 0x88], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax], 0x34
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xac]
push eax
call fcn.004ca820
mov ecx, dword [esp + 0x74]
mov edx, dword [ebp + 8]
add esp, 4
push 0x10
inc edi
push edi
push ecx
push edx
call fcn.004a7900
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0x10]
push eax
push edi
push ecx
lea edx, [esp + 0xb0]
push edx
mov edx, dword [ebp + 8]
lea eax, [esp + 0x94]
push eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push 0xffffffffffffffff
push ecx
push eax
push edx
call fcn.004c3f20
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
add esp, 0x34
cmp dword [ecx + 0x30], eax
jg 0x4ccc36
mov edx, dword [esp + 0x54]
push ebx
push ebx
push edx
push 0x34
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4ccc5e
lea ecx, [eax + 1]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x54]
mov dword [esi + 0x88], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax], 0x34
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x48]
cmp eax, ebx
je 0x4ccc7d
mov ecx, dword [esp + 0x40]
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0x88]
sub eax, edx
mov dword [eax], ecx
mov eax, dword [ebp + 8]
lea edx, [esp + 0xac]
push edx
push eax
call fcn.004ca710
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
add esp, 8
cmp dword [ecx + 0x30], eax
jg 0x4cccbe
mov edx, dword [esp + 0x2c]
push ebx
push ebx
push edx
push 0x34
mov eax, esi
call fcn.0048e3a0
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 0x5c]
add esp, 0x10
jmp 0x4cd192
mov edi, dword [ebp + 8]
lea ecx, [eax + 1]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x88], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov ebx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov dword [eax], 0x34
jmp 0x4cd192
mov eax, dword [esp + 0x3c]
cmp dword [eax], 0
mov dword [esp + 0x18], 0
jne 0x4cd043
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
cmp dword [ecx], 1
jne 0x4cd043
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
jne 0x4cd043
cmp dword [eax + 0x1c], 0
jne 0x4cd043
mov edx, dword [eax + 0x18]
cmp dword [edx + 0x38], 0
mov ecx, dword [ecx + 8]
mov dword [esp + 0x10], edx
jne 0x4cd043
cmp byte [ecx], 0x99
jne 0x4cd043
test ebx, ebx
je 0x4cd043
mov eax, dword [esp + 0xd4]
mov eax, dword [eax + 4]
mov ebx, 0x100
test word [eax + 2], bx
je 0x4cd043
test byte [ecx + 4], 0x10
jne 0x4cd043
mov ecx, dword [edx + 0x48]
mov eax, dword [edi]
mov ebx, 0xfff0bdc0
mov dword [esp + 0x20], ecx
mov dword [esp + 0xc], ebx
test ecx, ecx
je 0x4ccdb8
mov ecx, dword [eax + 0x14]
xor ebx, ebx
mov dword [esp + 0xc], ebx
test ecx, ecx
jle 0x4ccdb8
mov eax, dword [eax + 0x10]
add eax, 0xc
lea esp, [esp]
mov edx, dword [esp + 0x20]
cmp dword [eax], edx
je 0x4ccdb0
inc ebx
add eax, 0x10
cmp ebx, ecx
jl 0x4ccda0
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc], ebx
mov eax, dword [edi + 0x28]
mov dword [esp + 0x48], eax
inc eax
mov dword [edi + 0x28], eax
mov eax, dword [edx + 0x1c]
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x78]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], eax
cmp eax, ecx
jne 0x4ccde3
mov dword [esp + 0x20], edi
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x5c]
mov eax, 1
mov ecx, ebx
shl eax, cl
test edx, eax
jne 0x4cce10
mov ecx, dword [esp + 0x20]
or eax, edx
mov dword [ecx + 0x5c], eax
cmp ebx, 1
jne 0x4cce10
mov ebx, ecx
call fcn.004b1f90
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov eax, dword [eax + 0x1c]
push edx
push 0
push eax
push ebx
mov eax, edi
call fcn.004abca0
mov ecx, dword [esp + 0x20]
add esp, 0x10
test byte [ecx + 0x24], 0x20
je 0x4cce56
mov edx, ecx
mov eax, dword [edx + 8]
test eax, eax
je 0x4cce52
jmp 0x4cce40
mov ecx, dword [eax + 0x38]
and cl, 3
cmp cl, 2
je 0x4cce52
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4cce40
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
test eax, eax
je 0x4cce94
test byte [eax + 0x38], 4
jne 0x4cce8d
movzx ecx, word [eax + 0x30]
mov edx, dword [esp + 0x10]
cmp cx, word [edx + 0x2e]
jge 0x4cce8d
cmp dword [eax + 0x24], 0
jne 0x4cce8d
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x4cce89
cmp cx, word [edx + 0x30]
jge 0x4cce8d
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4cce61
cmp dword [esp + 0x2c], 0
je 0x4cceb4
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x2c]
push eax
push edi
mov dword [esp + 0x44], ecx
call fcn.004b2990
add esp, 8
mov dword [esp + 0x40], eax
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], ecx
jg 0x4ccedb
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
push ebx
push eax
push ecx
push 0x68
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4ccf12
lea edx, [ecx + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 0
mov word [eax], 0x68
mov eax, ecx
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
jne 0x4ccf2e
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], 1
cmp dword [esp + 0x40], 0
je 0x4ccf84
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
je 0x4ccf4d
mov eax, dword [esp + 0x40]
mov edx, 0xfffffff7
call fcn.0048ed10
jmp 0x4ccf84
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0x58]
lea ecx, [eax + eax*4 - 5]
cmp byte [edx + ecx*4 + 1], 0
lea ecx, [edx + ecx*4]
je 0x4ccf79
mov eax, dword [esp + 0x40]
push eax
push esi
mov eax, 0xfffffff7
call fcn.0048ee80
add esp, 8
jmp 0x4ccf84
mov edx, dword [esp + 0x40]
mov dword [ecx + 0x10], edx
mov byte [ecx + 1], 0xf7
mov eax, dword [esp + 0xd4]
mov ecx, dword [eax + 8]
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
mov ebx, dword [esp + 0x48]
cmp dword [edx + 0x30], eax
jg 0x4ccfb4
push 0
push ecx
push ebx
push 0x64
mov eax, esi
call fcn.0048e3a0
add esp, 0x10
xor ecx, ecx
jmp 0x4ccfda
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
xor ecx, ecx
mov dword [eax + 4], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x64
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x4cd00b
push ecx
push ecx
push ebx
push 0x70
mov eax, esi
call fcn.0048e3a0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
add esp, 0x10
mov ecx, edi
call fcn.004cae10
jmp 0x4cd140
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 4], ebx
mov dword [eax], 0x70
mov eax, dword [esp + 0x2c]
mov ecx, edi
call fcn.004cae10
jmp 0x4cd140
mov eax, dword [ebp + 0xc]
xor edi, edi
xor bl, bl
mov dword [esp + 0x20], edi
cmp dword [eax + 0x28], edi
jne 0x4cd0a2
lea edi, [esp + 0x20]
lea eax, [esp + 0xac]
call fcn.004c91a0
mov bl, al
test bl, bl
je 0x4cd09e
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
push 0
push ecx
push edx
call fcn.004a2500
mov edi, eax
mov eax, dword [esp + 0x3c]
add esp, 0xc
cmp byte [eax + 0x45], 0
mov dword [esp + 0x18], edi
jne 0x4cd0a2
cmp bl, 1
setne cl
mov byte [edi + 0x14], cl
mov edx, dword [edi + 8]
mov byte [edx], 0x98
jmp 0x4cd0a2
mov edi, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xac]
push eax
push ecx
call fcn.004ca710
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
push 0
movzx eax, bl
push eax
mov eax, dword [ebp + 8]
push 0
push edi
push ecx
push edx
push eax
call fcn.004ddc70
mov edi, eax
add esp, 0x24
test edi, edi
jne 0x4cd0f7
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4cd22d
mov ecx, dword [esp + 0x30]
push eax
push ecx
call fcn.004a2f20
add esp, 8
jmp 0x4cd22d
mov ebx, dword [ebp + 8]
lea edx, [esp + 0xac]
push edx
call fcn.004ca8f0
add esp, 4
cmp byte [edi + 0x2f], 0
jle 0x4cd123
mov eax, dword [edi + 0x24]
push 0
push eax
push 0
push 0xd
push esi
call fcn.0048e3e0
add esp, 0x14
push edi
call fcn.004de700
lea ecx, [esp + 0xb0]
add esp, 4
push ecx
mov ecx, ebx
call fcn.004ca820
add esp, 4
mov edi, ebx
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x70]
push 0x10
push ebx
push edx
push edi
mov dword [esp + 0x84], 0
call fcn.004a7900
mov eax, dword [ebp + 0x10]
push ebx
push ebx
push eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push 0
push 0
push 0xffffffffffffffff
push ecx
push eax
push edi
call fcn.004c3f20
add esp, 0x34
cmp dword [esp + 0x18], 0
je 0x4cd192
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
push edx
push eax
call fcn.004a2f20
add esp, 8
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4cd1ad
mov edx, dword [esi + 0x88]
lea ecx, [ebx*4 + 4]
sub eax, ecx
mov dword [eax], edx
cmp byte [esp + 0x95], 3
jne 0x4cd1c3
mov eax, str.DISTINCT
mov ecx, edi
call fcn.004c4b70
cmp dword [esp + 0x74], 0
je 0x4cd1ff
cmp dword [esp + 0x78], 0
mov eax, str.RIGHT_PART_OF_ORDER_BY
jg 0x4cd1db
mov eax, str.ORDER_BY
mov ecx, edi
call fcn.004c4b70
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
push eax
push edx
lea eax, [esp + 0x7c]
push eax
push ecx
push edi
call fcn.004c4d10
add esp, 0x14
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4cd221
mov edx, dword [esp + 0x11c]
lea ecx, [edx*4 + 4]
mov edx, dword [esi + 0x88]
sub eax, ecx
mov dword [eax], edx
xor eax, eax
cmp dword [edi + 0x24], eax
setg al
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xdc]
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0x30]
mov dword [edx + 0x19c], ecx
mov edi, eax
test eax, eax
je 0x4cd2e2
cmp dword [esi + 0x1c8], 0
je 0x4cd264
mov ecx, esi
call fcn.0046f850
jmp 0x4cd2e2
cmp eax, dword [esi + 0x120]
jb 0x4cd28a
cmp eax, dword [esi + 0x124]
jae 0x4cd28a
mov ecx, dword [esi + 0x11c]
mov dword [eax], ecx
dec dword [esi + 0x108]
mov dword [esi + 0x11c], eax
jmp 0x4cd2e2
cmp dword [0x56f040], 0
je 0x4cd2d8
mov eax, dword [0x15799b8]
test eax, eax
je 0x4cd2a6
push eax
call dword [0x56f098]
add esp, 4
push edi
call dword [0x56f074]
sub dword [0x1579800], eax
dec dword [0x1579824]
add esp, 4
push edi
call dword [0x56f06c]
mov eax, dword [0x15799b8]
add esp, 4
test eax, eax
je 0x4cd2e2
push eax
call dword [0x56f0a0]
jmp 0x4cd2df
push eax
call dword [0x56f06c]
add esp, 4
mov eax, dword [esp + 0xd4]
mov edi, eax
test eax, eax
je 0x4cd3a1
cmp dword [esi + 0x1c8], 0
je 0x4cd30e
mov ecx, esi
call fcn.0046f850
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [esi + 0x120]
jb 0x4cd33d
cmp eax, dword [esi + 0x124]
jae 0x4cd33d
mov edx, dword [esi + 0x11c]
mov dword [eax], edx
dec dword [esi + 0x108]
mov dword [esi + 0x11c], eax
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x56f040], 0
je 0x4cd397
mov eax, dword [0x15799b8]
test eax, eax
je 0x4cd359
push eax
call dword [0x56f098]
add esp, 4
push edi
call dword [0x56f074]
sub dword [0x1579800], eax
dec dword [0x1579824]
add esp, 4
push edi
call dword [0x56f06c]
mov eax, dword [0x15799b8]
add esp, 4
test eax, eax
je 0x4cd3a1
push eax
call dword [0x56f0a0]
mov eax, dword [esp + 0x38]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [0x56f06c]
add esp, 4
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret