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

Disassembly:
sub esp, 0x108
push ebx
mov ebx, dword [esp + 0x114]
push ebp
mov ebp, dword [esp + 0x114]
push edi
mov dword [esp + 0x3c], 0
mov eax, dword [ebp + 0x1cc]
mov edi, dword [ebp]
mov dword [esp + 0xd0], eax
mov eax, dword [ebp + 0x1d0]
mov dword [ebp + 0x1cc], eax
inc eax
mov dword [ebp + 0x1d0], eax
mov dword [esp + 0x1c], edi
test ebx, ebx
je 0x49ba1b
cmp byte [edi + 0x41], 0
jne 0x49ba1b
cmp dword [ebp + 0x40], 0
jne 0x49ba1b
push 0
push 0
push 0
push 0x15
push ebp
call fcn.00477e30
add esp, 0x14
test eax, eax
je 0x49ba2a
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0x108
ret
push esi
push 0x30
lea eax, [esp + 0xa8]
push 0
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [esp + 0x130]
add esp, 0xc
cmp byte [esi], 8
ja 0x49ba67
push dword [ebx + 0x30]
push edi
call fcn.00484860
mov eax, 0xfffe
mov dword [ebx + 0x30], 0
add esp, 8
and word [ebx + 6], ax
push 0
push ebx
push ebp
call fcn.0049e380
mov ecx, dword [ebx + 0x20]
xor eax, eax
mov dword [esp + 0x94], eax
add esp, 0xc
cmp dword [ebp + 0x40], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x30], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x1c], ecx
jne 0x49ddd2
cmp byte [edi + 0x41], 0
jne 0x49ddd2
movzx eax, word [ebx + 6]
shr eax, 3
and eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [ebx]
push dword [eax]
push esi
push ebp
call fcn.00447890
add esp, 0xc
test eax, eax
jne 0x49dde4
xor esi, esi
cmp dword [ebx + 0x34], esi
jne 0x49bb79
mov ecx, dword [esp + 0x1c]
mov edi, edi
cmp esi, dword [ecx]
jge 0x49bb79
lea eax, [esi + esi*4]
add eax, eax
mov eax, dword [ecx + eax*8 + 0x1c]
test eax, eax
je 0x49bb72
movzx edi, word [eax + 6]
shr edi, 3
and edi, 1
push edi
push dword [esp + 0x30]
push esi
push ebx
push ebp
call fcn.00451c50
add esp, 0x14
test eax, eax
je 0x49bb43
test edi, edi
je 0x49bb40
or word [ebx + 6], 8
mov dword [esp + 0x2c], 1
or esi, 0xffffffff
mov edi, dword [esp + 0x20]
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x1c], ecx
cmp byte [edi + 0x41], 0
jne 0x49ddc4
mov eax, dword [esp + 0x124]
cmp byte [eax], 8
jbe 0x49bb72
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x30], eax
mov dword [esp + 0x88], eax
inc esi
cmp dword [ebx + 0x34], 0
je 0x49bb00
push ebp
call fcn.0048e680
mov edi, eax
add esp, 4
test edi, edi
je 0x49ddd9
cmp dword [ebx + 0x34], 0
je 0x49bbbb
push dword [esp + 0x124]
push ebx
push ebp
call fcn.00467f70
mov edx, dword [esp + 0xe0]
add esp, 0xc
mov dword [ebp + 0x1cc], edx
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x108
ret
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x28], 0
cmp dword [esi], 0
jle 0x49be11
lea ebx, [esi + 0x20]
mov eax, esi
mov esi, dword [ebx - 4]
mov dword [esp + 0x50], esi
test esi, esi
je 0x49bdf6
mov eax, dword [ebx]
test eax, eax
je 0x49bc08
test byte [ebx + 0x10], 4
jne 0x49bdf2
push eax
push dword [ebx + 4]
push 0xf
push edi
call fcn.004a3dc0
add esp, 0x10
jmp 0x49bdf2
push dword [esp + 0x120]
call fcn.0049e1c0
add dword [ebp + 0x1c8], eax
add esp, 4
test byte [ebx + 0xc], 0x20
jne 0x49bc3d
push dword [ebx + 0x18]
mov eax, dword [esp + 0x124]
push dword [eax + 0x24]
push esi
push dword [esp + 0x2c]
call fcn.00470170
add esp, 0x10
mov eax, dword [esp + 0x1c]
cmp dword [eax], 1
jne 0x49bd10
mov eax, dword [esp + 0x120]
test byte [eax + 6], 2
jne 0x49bd10
mov eax, dword [esp + 0x20]
mov ecx, 0x100
test word [eax + 0x3c], cx
jne 0x49bd10
mov esi, dword [edi + 0x20]
mov eax, dword [ebp + 0x48]
inc esi
push esi
inc eax
push 0
push eax
push 0x11
mov dword [ebp + 0x48], eax
push edi
mov dword [ebx + 4], eax
call fcn.004a3e30
mov eax, dword [ebx + 4]
mov dword [esp + 0x8c], eax
mov dword [ebx], esi
mov al, byte [ebp + 0x1d0]
mov byte [ebx + 0x14], al
lea eax, [esp + 0x88]
push eax
push dword [esp + 0x68]
mov word [esp + 0x90], 0xd
push ebp
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
call fcn.0049b9b0
mov eax, dword [esp + 0x70]
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.00491c60
mov ecx, dword [ebx - 8]
mov word [ecx + 0x26], ax
push dword [ebx + 4]
mov eax, dword [esp + 0xa8]
or dword [ebx + 0x10], 4
push 0x12
push edi
mov dword [ebx + 8], eax
call fcn.004a3d50
lea eax, [esi - 1]
push eax
push edi
call fcn.004aac70
add esp, 0x3c
jmp 0x49bdc4
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x48]
inc eax
push eax
push 0
push 0x17
mov dword [ebp + 0x48], eax
push edi
mov dword [ebx + 4], eax
call fcn.004a3dc0
mov dword [esp + 0x20], eax
add esp, 0x10
inc eax
test byte [ebx + 0x10], 2
mov dword [ebx], eax
jne 0x49bd48
push ebp
call fcn.0047d130
add esp, 4
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x78], eax
mov al, byte [ebp + 0x1d0]
mov byte [ebx + 0x14], al
lea eax, [esp + 0x74]
push eax
push esi
push ebp
mov word [esp + 0x80], 0xc
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
call fcn.0049b9b0
push dword [esi + 0x1c]
push dword [esi + 0x18]
call fcn.00491c60
mov ecx, dword [ebx - 8]
add esp, 0x14
mov word [ecx + 0x26], ax
mov eax, dword [esp + 0x50]
test eax, eax
je 0x49bdab
push eax
push edi
call fcn.004aac70
add esp, 8
push dword [ebx + 4]
push 0x10
push edi
call fcn.004a3d50
push eax
push dword [esp + 0x20]
push edi
call fcn.004a4200
add esp, 0x18
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x38], 0
mov byte [ebp + 0x13], 0
cmp byte [eax + 0x41], 0
jne 0x49ddc0
push dword [esp + 0x120]
call fcn.0049e1c0
add esp, 4
sub dword [ebp + 0x1c8], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
add ebx, 0x50
inc esi
mov dword [esp + 0x28], esi
cmp esi, dword [eax]
jl 0x49bbd5
mov ebx, dword [esp + 0x120]
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x50], eax
mov al, byte [ebx + 6]
and al, 1
mov dword [esp + 0x40], ecx
mov byte [esp + 0x1b], al
mov byte [esp + 0x74], al
mov al, byte [ebx + 6]
and al, 9
cmp al, 1
jne 0x49be7f
push 0xffffffffffffffff
push ecx
push esi
call fcn.004847e0
mov ecx, dword [esp + 0x4c]
add esp, 0xc
test eax, eax
jne 0x49be7f
push 0
push ecx
push dword [esp + 0x28]
mov eax, 0xfffe
and word [ebx + 6], ax
call fcn.004849e0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x34], ecx
mov dword [ebx + 0x28], ecx
mov ecx, dword [esp + 0x40]
test esi, esi
je 0x49bec6
push dword [ecx]
push 0
push esi
push ebp
call fcn.00466570
mov edx, dword [ebp + 0x44]
mov ecx, eax
push 0xfffffffffffffffa
push ecx
push 0
lea eax, [edx + 1]
mov dword [esp + 0xac], edx
mov dword [ebp + 0x44], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov eax, dword [esi]
inc eax
add eax, ecx
push eax
push edx
push 0x39
push edi
call fcn.004a3ea0
add esp, 0x2c
mov dword [esp + 0x9c], eax
jmp 0x49bed1
mov dword [esp + 0x9c], 0xffffffff
mov eax, dword [esp + 0x124]
cmp byte [eax], 0xc
jne 0x49bef1
mov ecx, dword [esp + 0x40]
push dword [ecx]
push dword [eax + 4]
push 0x39
push edi
call fcn.004a3dc0
add esp, 0x10
push edi
call fcn.004ab090
push eax
push ebx
push ebp
mov dword [esp + 0x108], eax
mov dword [ebx + 0x18], 0xffffffff
mov dword [ebx + 0x1c], 0x7fffffff
call fcn.0044a2e0
add esp, 0x10
cmp dword [ebx + 8], 0
jne 0x49bf3d
mov ecx, dword [esp + 0x9c]
test ecx, ecx
js 0x49bf3d
push ecx
push edi
call fcn.004aa5f0
add esp, 8
or byte [esp + 0xa0], 1
mov byte [eax], 0x3a
test byte [ebx + 6], 1
je 0x49bf96
mov esi, dword [ebp + 0x44]
push 0xfffffffffffffffa
push 0
push 0
lea eax, [esi + 1]
mov dword [esp + 0x84], esi
mov dword [ebp + 0x44], eax
push dword [ebx]
push ebp
call fcn.00466570
add esp, 0x10
push eax
push 0
push 0
push esi
push 0x39
push edi
call fcn.004a3ea0
mov ecx, dword [edi + 4]
add esp, 0x1c
mov dword [esp + 0x7c], eax
test ecx, ecx
je 0x49bf8b
mov eax, dword [edi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 8
mov esi, dword [esp + 0x30]
mov byte [esp + 0x75], 3
jmp 0x49bf9b
mov byte [esp + 0x75], 0
cmp dword [esp + 0x2c], 0
mov edx, dword [esp + 0x34]
jne 0x49c087
test edx, edx
jne 0x49c087
movzx eax, byte [esp + 0x1b]
neg eax
push edx
sbb eax, eax
and eax, 0x400
push eax
push dword [ebx]
push esi
push dword [esp + 0x54]
push dword [esp + 0x30]
push ebp
call fcn.004afcc0
add esp, 0x1c
mov dword [esp + 0x2c], eax
test eax, eax
je 0x49ddd9
movzx eax, word [eax + 0x20]
push eax
call fcn.00491df0
add esp, 4
cmp edx, dword [ebx + 0x1c]
ja 0x49c001
jb 0x49bffb
cmp eax, dword [ebx + 0x18]
jae 0x49c001
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
cmp byte [esp + 0x1b], 0
mov eax, dword [esp + 0x2c]
je 0x49c017
mov cl, byte [eax + 0x28]
test cl, cl
je 0x49c017
mov byte [esp + 0x75], cl
test esi, esi
je 0x49c035
movsx eax, byte [eax + 0x24]
mov dword [esp + 0x8c], eax
sub eax, dword [esi]
neg eax
sbb eax, eax
and esi, eax
mov dword [esp + 0x88], esi
mov eax, dword [esp + 0x9c]
test eax, eax
js 0x49c04e
test esi, esi
jne 0x49c04e
push eax
push edi
call fcn.004a4360
add esp, 8
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x74]
push dword [esi + 0x34]
push dword [esi + 0x30]
push dword [esp + 0x12c]
push eax
lea eax, [esp + 0x98]
push eax
push 0xffffffffffffffff
push dword [esp + 0x58]
push ebx
push ebp
call fcn.00474bb0
push esi
call fcn.004b1ee0
add esp, 0x28
jmp 0x49dd2c
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], 0
test edx, edx
je 0x49c0f9
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
jle 0x49c0c6
add ecx, 0x16
xor ebp, ebp
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], bp
test eax, eax
jg 0x49c0b1
mov ebp, dword [esp + 0x11c]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
test eax, eax
jle 0x49c0e4
add ecx, 0x16
xor esi, esi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], si
test eax, eax
jg 0x49c0d2
mov esi, dword [esp + 0x30]
cmp dword [ebx + 0x1c], 0
ja 0x49c0f0
cmp dword [ebx + 0x18], 0x64
jbe 0x49c107
mov dword [ebx + 0x18], 0x64
jmp 0x49c100
mov dword [ebx + 0x18], 1
mov dword [ebx + 0x1c], 0
push 0xffffffffffffffff
push esi
push edx
call fcn.004847e0
add esp, 0xc
test eax, eax
jne 0x49c11f
mov dword [esp + 0x24], 1
push edi
call fcn.004ab090
mov ecx, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xdc], eax
lea eax, [esp + 0xa4]
mov dword [esp + 0xe4], eax
mov eax, dword [ebp + 0x48]
inc eax
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xb4], eax
test ecx, ecx
je 0x49c1a4
mov eax, dword [ecx]
mov dword [esp + 0xb0], eax
jmp 0x49c1af
mov dword [esp + 0xb0], 0
push dword [esp + 0x40]
lea eax, [esp + 0xdc]
mov dword [esp + 0xc0], ecx
push eax
call fcn.004814e0
lea eax, [esp + 0xe0]
push esi
push eax
call fcn.004814e0
mov eax, dword [esp + 0x60]
add esp, 0x10
test eax, eax
je 0x49c248
xor ecx, ecx
push eax
mov dword [esp + 0x100], ecx
lea eax, [esp + 0x100]
mov dword [esp + 0x104], ecx
mov dword [esp + 0x118], ecx
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], ecx
lea ecx, [esp + 0xdc]
push eax
mov dword [esp + 0x104], 0x442ce0
mov dword [esp + 0x108], 0x442fd0
mov dword [esp + 0x11c], ecx
call fcn.004afa60
add esp, 8
cmp dword [esp + 0xd0], 0
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xc8], ecx
jle 0x49c2cf
mov ax, word [esp + 0xf4]
xor esi, esi
xor ebx, ebx
mov ebp, 0xfff7
or ax, 8
mov word [esp + 0xf4], ax
mov eax, dword [esp + 0xcc]
mov eax, dword [esi + eax]
push dword [eax + 0x14]
lea eax, [esp + 0xdc]
push eax
call fcn.004814e0
mov ax, word [esp + 0xfc]
lea esi, [esi + 0x10]
and ax, bp
inc ebx
add esp, 8
mov word [esp + 0xf4], ax
cmp ebx, dword [esp + 0xd0]
jl 0x49c271
mov ecx, dword [esp + 0xc4]
mov ebp, dword [esp + 0x11c]
mov ebx, dword [esp + 0x120]
mov eax, dword [ebp + 0x48]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x41], 0
jne 0x49ddc0
mov edx, dword [esp + 0x34]
test edx, edx
je 0x49d929
mov eax, dword [ebp + 0x44]
push ecx
push 0
mov dword [esp + 0xb0], eax
inc eax
push edx
push ebp
mov dword [ebp + 0x44], eax
call fcn.00466570
mov ecx, dword [edi + 0x20]
add esp, 0x10
mov esi, dword [esp + 0xb0]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x64], ecx
cmp dword [eax + 0x54], ecx
jg 0x49c351
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
je 0x49c34d
mov esi, 1
mov dword [esp + 0x64], esi
jmp 0x49c385
mov ecx, dword [esp + 0x64]
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x64]
mov word [eax + ecx*4], 0x3a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 4]
mov eax, esi
mov ecx, dword [edi]
test edx, edx
je 0x49c3d6
cmp byte [ecx + 0x41], 0
jne 0x49c3d6
test esi, esi
jns 0x49c39e
mov eax, dword [edi + 0x20]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx eax, byte [esi + 1]
push eax
push ecx
call fcn.00452320
mov eax, dword [esp + 0x78]
add esp, 0xc
mov dword [esi + 0x10], 0
test eax, eax
jne 0x49c3cd
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
jmp 0x49c3e5
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x49c3e5
push dword [esp + 0x6c]
push 0xfffffffffffffffa
push ecx
call fcn.00452320
add esp, 0xc
mov eax, dword [ebp + 0x48]
inc eax
mov dword [esp + 0x30], eax
add eax, 2
push edi
mov dword [esp + 0x74], eax
mov dword [ebp + 0x48], eax
call fcn.004ab090
inc dword [ebp + 0x48]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x48]
push edi
mov dword [esp + 0x30], eax
call fcn.004ab090
mov ecx, dword [ebp + 0x48]
add esp, 8
mov edx, dword [esp + 0x34]
mov dword [esp + 0x58], eax
lea eax, [ecx + 1]
add ecx, dword [edx]
mov dword [esp + 0x2c], eax
mov dword [ebp + 0x48], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x5c], eax
mov eax, dword [edx]
add eax, ecx
mov dword [ebp + 0x48], eax
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
cmp dword [eax + 0x54], esi
jg 0x49c453
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
jne 0x49c488
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x30]
inc edx
mov word [eax + ecx*4], 0x17
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
cmp dword [eax + 0x54], esi
jg 0x49c4a2
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
jne 0x49c4d6
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x17
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 edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov esi, dword [edi + 0x20]
dec ecx
mov eax, dword [edx]
add eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
jg 0x49c501
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
jne 0x49c535
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x58]
push dword [esp + 0x2c]
push 0xf
push edi
call fcn.004a3dc0
mov eax, dword [esp + 0x34]
mov ecx, 0x100
mov esi, dword [esp + 0x44]
neg eax
push 0
sbb eax, eax
and eax, 0x800
or ax, cx
movzx eax, ax
push eax
push 0
push esi
push dword [esp + 0x64]
push dword [esp + 0x40]
push ebp
call fcn.004afcc0
mov edx, eax
add esp, 0x2c
mov dword [esp + 0x44], edx
test edx, edx
je 0x49ddd9
movsx eax, byte [edx + 0x24]
cmp eax, dword [esi]
jne 0x49c599
xor ecx, ecx
mov dword [esp + 0x60], ecx
jmp 0x49c931
cmp byte [esp + 0x1b], 0
je 0x49c5ab
test byte [ebx + 6], 1
mov eax, str.DISTINCT
je 0x49c5b0
mov eax, str.GROUP_BY
push eax
push ebp
call fcn.0044df20
mov esi, dword [esi]
add esp, 8
mov edx, dword [esp + 0xc4]
mov ecx, esi
mov dword [esp + 0x60], 1
mov dword [esp + 0x38], esi
mov dword [esp + 0x54], esi
test edx, edx
jle 0x49c5f2
mov eax, dword [esp + 0xc0]
add eax, 0xc
cmp dword [eax], ecx
jl 0x49c5ec
inc dword [esp + 0x54]
inc ecx
add eax, 0x18
dec edx
jne 0x49c5e3
mov ecx, dword [ebp + 0x38]
mov edx, dword [esp + 0x54]
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x3c], eax
cmp edx, ecx
jg 0x49c610
add eax, edx
sub ecx, edx
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x38], ecx
jmp 0x49c61f
mov eax, dword [ebp + 0x48]
lea ecx, [eax + 1]
add eax, edx
mov dword [esp + 0x3c], ecx
mov dword [ebp + 0x48], eax
push ebp
call fcn.00481930
mov edx, dword [esp + 0x38]
push 0
push dword [esp + 0x44]
push edx
push ebp
call fcn.00482010
mov ecx, dword [esp + 0xd8]
xor edx, edx
add esp, 0x14
mov dword [esp + 0x10], edx
test ecx, ecx
jle 0x49c714
add esi, dword [esp + 0x3c]
xor ebx, ebx
jmp 0x49c660
mov eax, dword [esp + 0xc0]
mov ebp, dword [esp + 0x38]
cmp dword [ebx + eax + 0xc], ebp
mov ebp, dword [esp + 0x11c]
jl 0x49c6fd
push 0
push esi
push dword [ebx + eax + 4]
push dword [ebx + eax + 8]
push dword [ebx + eax]
push ebp
call fcn.004822b0
add esp, 0x18
mov dword [esp + 0x14], eax
cmp esi, eax
je 0x49c6ed
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x4c], ecx
cmp dword [eax + 0x54], ecx
jg 0x49c6bd
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
jne 0x49c6ed
mov ecx, dword [esp + 0x4c]
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x14]
mov word [eax + ecx*4], 0x20
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
inc dword [esp + 0x38]
inc esi
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0x10]
inc edx
add ebx, 0x18
mov dword [esp + 0x10], edx
cmp edx, ecx
jl 0x49c660
mov ebx, dword [esp + 0x120]
mov al, byte [ebp + 0x13]
test al, al
jne 0x49c723
inc dword [ebp + 0x48]
mov esi, dword [ebp + 0x48]
jmp 0x49c72f
dec al
mov byte [ebp + 0x13], al
movzx eax, al
mov esi, dword [ebp + eax*4 + 0x18]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x14], ecx
cmp dword [eax + 0x54], ecx
jg 0x49c751
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
jne 0x49c781
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
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], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xa8]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x14], ecx
cmp dword [eax + 0x54], ecx
jg 0x49c7ae
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
jne 0x49c7de
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x4c]
mov word [eax + ecx*4], 0x6e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test esi, esi
je 0x49c80e
mov dl, byte [ebp + 0x13]
cmp dl, 8
jae 0x49c80e
xor ecx, ecx
lea eax, [ebp + 0x74]
nop
cmp dword [eax + 0xc], esi
je 0x49c80a
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x49c7f0
movzx eax, dl
mov dword [ebp + eax*4 + 0x18], esi
inc byte [ebp + 0x13]
jmp 0x49c80e
mov byte [eax + 6], 1
mov esi, dword [esp + 0x54]
push esi
push dword [esp + 0x40]
push ebp
call fcn.00481c50
add esp, 0xc
cmp esi, dword [ebp + 0x38]
jle 0x49c82f
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x3c], eax
push dword [esp + 0x44]
call fcn.004b1ee0
mov eax, dword [ebp + 0x44]
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0xac], eax
inc eax
mov dword [ebp + 0x44], eax
mov al, byte [ebp + 0x13]
test al, al
jne 0x49c860
inc dword [ebp + 0x48]
mov ecx, dword [ebp + 0x48]
mov dword [esp + 0x3c], ecx
jmp 0x49c870
dec al
mov byte [ebp + 0x13], al
movzx eax, al
mov eax, dword [ebp + eax*4 + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
cmp dword [eax + 0x54], esi
jg 0x49c88a
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
jne 0x49c8be
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x3c
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 + 0xa8]
mov esi, dword [edi + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
jg 0x49c8e3
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
jne 0x49c917
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
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
push ebp
mov byte [esp + 0xa9], 1
call fcn.00481930
mov edx, dword [esp + 0x48]
add esp, 4
mov ecx, 1
cmp dword [esp + 0x24], 0
je 0x49c9a1
mov eax, dword [esp + 0x20]
test byte [eax + 0x3c], 4
jne 0x49c9a1
test ecx, ecx
jne 0x49c94b
cmp byte [edx + 0x25], cl
je 0x49c9a1
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x88], 0
cmp eax, dword [edi + 0x20]
jge 0x49c9a1
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
push dword [eax + ecx*4 + 0x10]
lea esi, [eax + ecx*4]
movsx eax, byte [esi + 1]
push eax
push dword [edi]
call fcn.00452320
xor eax, eax
add esp, 0xc
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov byte [esi], 0x9f
mov eax, dword [edi + 0x20]
dec eax
cmp dword [esp + 0x9c], eax
jne 0x49c9a1
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x20]
push ebp
mov dword [esp + 0x58], eax
call fcn.00481930
mov eax, dword [esp + 0x64]
add esp, 4
test eax, eax
je 0x49ca16
mov eax, dword [esp + 0xa8]
mov esi, dword [edi + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
jg 0x49c9de
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
jne 0x49ca12
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 0x65
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x34]
xor esi, esi
mov dword [esp + 0x24], esi
cmp dword [ecx], esi
jle 0x49cb3d
xor ebx, ebx
lea ebx, [ebx]
test eax, eax
je 0x49cafa
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], eax
jg 0x49cac6
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x49ca56
add eax, eax
jmp 0x49ca5b
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ecx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49cb1a
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x49ca9e
cmp esi, dword [eax + 0x114]
jb 0x49ca9e
cmp esi, dword [eax + 0x118]
jae 0x49ca9e
movzx ecx, word [eax + 0xf8]
jmp 0x49caaa
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x14]
mov dword [edi + 4], esi
mov esi, dword [esp + 0x24]
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x2f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], esi
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x38]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x5c]
add eax, esi
mov dword [ecx + 0xc], eax
jmp 0x49cb1e
mov eax, dword [esp + 0x5c]
add eax, esi
mov byte [esp + 0xa4], 1
push eax
mov eax, dword [ecx + 4]
push dword [eax + ebx]
push ebp
call fcn.00481ed0
add esp, 0xc
jmp 0x49cb1e
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
inc esi
mov eax, dword [esp + 0x60]
add ebx, 0x18
mov dword [esp + 0x24], esi
cmp esi, dword [ecx]
jl 0x49ca30
mov ebx, dword [esp + 0x120]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x49cb47
inc dword [eax]
mov eax, dword [ecx]
mov ecx, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], esi
jg 0x49cbd5
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x49cb67
add eax, eax
jmp 0x49cb6c
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ecx]
call fcn.0047f4e0
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x49cc4f
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
test ecx, ecx
je 0x49cbb1
cmp eax, dword [ecx + 0x114]
jb 0x49cbb1
cmp eax, dword [ecx + 0x118]
jae 0x49cbb1
movzx ecx, word [ecx + 0xf8]
jmp 0x49cbbd
push eax
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x14]
mov dword [edi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x4c]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 4]
mov ecx, dword [edi]
test edx, edx
je 0x49cc5f
cmp byte [ecx + 0x41], 0
jne 0x49cc5f
test esi, esi
jns 0x49cc20
mov esi, dword [edi + 0x20]
dec esi
lea eax, [esi + esi*4]
push dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx eax, byte [esi + 1]
push eax
push ecx
call fcn.00452320
mov eax, dword [esp + 0x78]
add esp, 0xc
mov dword [esi + 0x10], 0
test eax, eax
jne 0x49cc56
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
jmp 0x49cc6e
mov esi, 1
jmp 0x49cc09
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x49cc6e
push dword [esp + 0x6c]
push 0xfffffffffffffffa
push ecx
call fcn.00452320
add esp, 0xc
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x38], edx
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], edx
jg 0x49ccf4
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x49cc8c
add eax, eax
jmp 0x49cc91
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ecx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49cd22
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x49ccd0
cmp esi, dword [eax + 0x114]
jb 0x49ccd0
cmp esi, dword [eax + 0x118]
jae 0x49ccd0
movzx ecx, word [eax + 0xf8]
jmp 0x49ccdc
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov edx, dword [esp + 0x38]
mov dword [edi + 4], esi
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
inc dword [edi + 0x20]
mov word [eax + ecx*4], 0x2b
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 edx, dword [esp + 0x34]
mov eax, dword [edx]
mov edx, dword [ebp + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], edx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], eax
jg 0x49cdc1
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x49cd51
add eax, eax
jmp 0x49cd56
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edx + 4]
push dword [ecx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49cdf7
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x49cd99
cmp esi, dword [eax + 0x114]
jb 0x49cd99
cmp esi, dword [eax + 0x118]
jae 0x49cd99
movzx ecx, word [eax + 0xf8]
jmp 0x49cda5
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
mov dword [edx + 4], esi
inc dword [edx + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x1e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x49cdfb
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x5c]
lea ecx, [ebp + 0x80]
dec eax
mov esi, 0xa
add eax, edx
mov dword [esp + 0x14], eax
mov edx, dword [ecx]
cmp edx, dword [esp + 0x5c]
jl 0x49ce42
cmp edx, eax
jg 0x49ce42
cmp byte [ecx - 6], 0
je 0x49ce3c
mov al, byte [ebp + 0x13]
cmp al, 8
jae 0x49ce34
movzx eax, al
mov dword [ebp + eax*4 + 0x18], edx
inc byte [ebp + 0x13]
mov eax, dword [esp + 0x14]
mov byte [ecx - 6], 0
mov dword [ecx], 0
add ecx, 0x14
dec esi
jne 0x49ce11
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], eax
jg 0x49ced2
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x49ce66
add eax, eax
jmp 0x49ce6b
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ecx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49cf06
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x49ceae
cmp esi, dword [eax + 0x114]
jb 0x49ceae
cmp esi, dword [eax + 0x118]
jae 0x49ceae
movzx ecx, word [eax + 0xf8]
jmp 0x49ceba
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x14]
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 0xf
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 [edi + 0x18]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], eax
jg 0x49cf90
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x49cf24
add eax, eax
jmp 0x49cf29
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ecx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49cfc5
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x49cf6c
cmp esi, dword [eax + 0x114]
jb 0x49cf6c
cmp esi, dword [eax + 0x118]
jae 0x49cf6c
movzx ecx, word [eax + 0xf8]
jmp 0x49cf78
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x14]
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x30]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 0x8a
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 [edi + 0x18]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], eax
jg 0x49d04f
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x49cfe3
add eax, eax
jmp 0x49cfe8
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ecx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49d083
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x49d02b
cmp esi, dword [eax + 0x114]
jb 0x49d02b
cmp esi, dword [eax + 0x118]
jae 0x49d02b
movzx ecx, word [eax + 0xf8]
jmp 0x49d037
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x14]
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x58]
mov word [eax + ecx*4], 0xf
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 [edi + 0x20]
mov eax, dword [esp + 0x38]
cmp edx, eax
jbe 0x49d098
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
dec ecx
mov dword [eax + 0x58], ecx
lea eax, [esp + 0xa4]
push eax
push ebp
call fcn.004b4d20
mov ecx, dword [edi + 0x18]
add esp, 8
mov eax, dword [edi + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], eax
jg 0x49d13d
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x49d0d1
add eax, eax
jmp 0x49d0d6
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ecx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49d171
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x49d119
cmp esi, dword [eax + 0x114]
jb 0x49d119
cmp esi, dword [eax + 0x118]
jae 0x49d119
movzx ecx, word [eax + 0xf8]
jmp 0x49d125
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x14]
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x17
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 + 0x60]
test eax, eax
je 0x49d248
mov ecx, dword [edi + 0x18]
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], eax
jg 0x49d212
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x49d1a6
add eax, eax
jmp 0x49d1ab
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ecx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49d299
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x49d1ee
cmp esi, dword [eax + 0x114]
jb 0x49d1ee
cmp esi, dword [eax + 0x118]
jae 0x49d1ee
movzx ecx, word [eax + 0xf8]
jmp 0x49d1fa
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x14]
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 4
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 0x49d299
push dword [esp + 0x44]
call fcn.004b1ee0
mov eax, dword [esp + 0x68]
add esp, 4
cmp eax, dword [edi + 0x20]
jge 0x49d299
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
push dword [eax + ecx*4 + 0x10]
lea esi, [eax + ecx*4]
movsx eax, byte [esi + 1]
push eax
push dword [edi]
call fcn.00452320
xor eax, eax
add esp, 0xc
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov byte [esi], 0x9f
mov eax, dword [edi + 0x20]
dec eax
cmp dword [esp + 0x64], eax
jne 0x49d299
mov dword [edi + 0x20], eax
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], eax
jg 0x49d323
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x49d2b7
add eax, eax
jmp 0x49d2bc
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ecx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49d357
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x49d2ff
cmp esi, dword [eax + 0x114]
jb 0x49d2ff
cmp esi, dword [eax + 0x118]
jae 0x49d2ff
movzx ecx, word [eax + 0xf8]
jmp 0x49d30b
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x14]
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 0xf
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 [edi + 0x18]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], eax
jg 0x49d3e1
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x49d375
add eax, eax
jmp 0x49d37a
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ecx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49d415
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x49d3bd
cmp esi, dword [eax + 0x114]
jb 0x49d3bd
cmp esi, dword [eax + 0x118]
jae 0x49d3bd
movzx ecx, word [eax + 0xf8]
jmp 0x49d3c9
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x14]
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 0xe
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 [edi + 0x18]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], eax
jg 0x49d49f
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x49d433
add eax, eax
jmp 0x49d438
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ecx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49d4d4
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x49d47b
cmp esi, dword [eax + 0x114]
jb 0x49d47b
cmp esi, dword [eax + 0x118]
jae 0x49d47b
movzx ecx, word [eax + 0xf8]
jmp 0x49d487
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x44]
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x30]
inc edx
mov word [eax + ecx*4], 0x17
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 [edi + 0x18]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], eax
jg 0x49d55e
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x49d4f2
add eax, eax
jmp 0x49d4f7
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ecx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49d592
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x49d53a
cmp esi, dword [eax + 0x114]
jb 0x49d53a
cmp esi, dword [eax + 0x118]
jae 0x49d53a
movzx ecx, word [eax + 0xf8]
jmp 0x49d546
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x14]
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x70]
mov word [eax + ecx*4], 0x10
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 esi, dword [edi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x48]
js 0x49d5ab
mov edx, dword [esi + 0x70]
test edx, edx
je 0x49d5ab
mov eax, dword [edi + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x48], edx
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], edx
jg 0x49d63c
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x49d5d0
add eax, eax
jmp 0x49d5d5
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ecx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49d66e
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x49d618
cmp esi, dword [eax + 0x114]
jb 0x49d618
cmp esi, dword [eax + 0x118]
jae 0x49d618
movzx ecx, word [eax + 0xf8]
jmp 0x49d624
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov edx, dword [esp + 0x48]
mov dword [edi + 4], esi
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
inc dword [edi + 0x20]
mov word [eax + ecx*4], 0x8a
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 [edi + 0x18]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], eax
jg 0x49d6f8
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x49d68c
add eax, eax
jmp 0x49d691
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ecx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49d72c
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x49d6d4
cmp esi, dword [eax + 0x114]
jb 0x49d6d4
cmp esi, dword [eax + 0x118]
jae 0x49d6d4
movzx ecx, word [eax + 0xf8]
jmp 0x49d6e0
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x14]
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x70]
mov word [eax + ecx*4], 0x10
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 eax, [esp + 0xa4]
push eax
push ebp
call fcn.0044fdb0
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
inc esi
push 0x10
push esi
push eax
push ebp
call fcn.00483df0
push dword [esp + 0x5c]
lea eax, [esp + 0x90]
push esi
push dword [esp + 0x144]
push eax
lea eax, [esp + 0xb0]
push eax
push 0xffffffffffffffff
push dword [ebx]
push ebx
push ebp
call fcn.00474bb0
mov ecx, dword [edi + 0x18]
add esp, 0x3c
mov eax, dword [edi + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], eax
jg 0x49d801
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x49d795
add eax, eax
jmp 0x49d79a
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ecx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49d835
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x49d7dd
cmp esi, dword [eax + 0x114]
jb 0x49d7dd
cmp esi, dword [eax + 0x118]
jae 0x49d7dd
movzx ecx, word [eax + 0xf8]
jmp 0x49d7e9
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x14]
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x70]
mov word [eax + ecx*4], 0x10
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 esi, dword [edi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x58]
js 0x49d84e
mov edx, dword [esi + 0x70]
test edx, edx
je 0x49d84e
mov eax, dword [edi + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [esi + 0x58], eax
lea eax, [esp + 0xa4]
push eax
push ebp
call fcn.00471b70
mov ecx, dword [edi + 0x18]
add esp, 8
mov eax, dword [edi + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x54], eax
jg 0x49d8f0
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x49d884
add eax, eax
jmp 0x49d889
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ecx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49dd0c
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x49d8cc
cmp esi, dword [eax + 0x114]
jb 0x49d8cc
cmp esi, dword [eax + 0x118]
jae 0x49d8cc
movzx ecx, word [eax + 0xf8]
jmp 0x49d8d8
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x14]
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x10
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 0x49dd0c
lea eax, [esp + 0xa4]
mov dword [esp + 0x24], 0
push eax
push ebx
call fcn.00466430
mov ecx, eax
add esp, 8
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x49dbd3
mov ebx, dword [ecx + 0x40]
mov esi, 0xfff0bdc0
mov eax, dword [ebp]
test ebx, ebx
je 0x49d97c
mov edx, dword [eax + 0x14]
xor esi, esi
test edx, edx
jle 0x49d97c
mov eax, dword [eax + 0x10]
add eax, 0xc
mov edi, edi
cmp dword [eax], ebx
je 0x49d97c
inc esi
add eax, 0x10
cmp esi, edx
jl 0x49d970
mov eax, dword [ebp + 0x44]
xor ebx, ebx
mov dword [esp + 0x58], eax
inc eax
mov dword [ebp + 0x44], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x1c]
push esi
push ebp
mov dword [esp + 0x18], eax
call fcn.0047d9b0
mov eax, dword [esp + 0x50]
push dword [eax]
push ebx
push dword [eax + 0x1c]
push esi
push ebp
call fcn.0049f8b0
mov edx, dword [esp + 0x64]
add esp, 0x1c
test byte [edx + 0x2a], 0x20
je 0x49d9d2
mov ebx, dword [edx + 8]
test ebx, ebx
je 0x49d9d2
mov eax, dword [ebx + 0x34]
and al, 3
cmp al, 2
je 0x49d9d2
mov ebx, dword [ebx + 0x14]
test ebx, ebx
jne 0x49d9c2
mov eax, dword [edx + 8]
test eax, eax
je 0x49da09
lea esp, [esp]
test byte [eax + 0x34], 4
jne 0x49da02
movzx ecx, word [eax + 0x2c]
cmp cx, word [edx + 0x28]
jge 0x49da02
cmp dword [eax + 0x24], 0
jne 0x49da02
test ebx, ebx
je 0x49da00
cmp cx, word [ebx + 0x2c]
jge 0x49da02
mov ebx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x49d9e0
test ebx, ebx
je 0x49da22
mov eax, dword [ebx + 0x28]
push ebx
push ebp
mov dword [esp + 0x18], eax
call fcn.00490cf0
add esp, 8
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x14], edx
cmp dword [eax + 0x54], edx
jg 0x49da4b
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
je 0x49da47
mov edx, 1
jmp 0x49da82
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
inc dword [edi + 0x20]
mov ebp, dword [esp + 0x58]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], ebp
mov ebp, dword [esp + 0x11c]
mov word [eax + ecx*4], 0x36
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [edi + 4]
mov ecx, dword [edi]
test esi, esi
je 0x49dabb
cmp byte [ecx + 0x41], 0
jne 0x49dabb
test edx, edx
jns 0x49da99
mov edx, dword [edi + 0x20]
dec edx
lea eax, [edx + edx*4]
push dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
push eax
push ecx
call fcn.00452320
mov dword [esi + 0x10], 1
mov byte [esi + 1], 0xf2
jmp 0x49dac5
push 1
push 0xfffffffffffffff2
push ecx
call fcn.00452320
mov eax, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x49db11
mov edx, dword [edi + 4]
mov ecx, dword [edi]
test edx, edx
je 0x49db05
cmp byte [ecx + 0x41], 0
jne 0x49db05
mov eax, dword [edi + 0x20]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx eax, byte [esi + 1]
push eax
push ecx
call fcn.00452320
mov eax, dword [esp + 0x34]
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x49db0e
push eax
push 0xfffffffffffffffa
push ecx
call fcn.00452320
add esp, 0xc
mov eax, dword [esp + 0xcc]
mov esi, dword [edi + 0x20]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
jg 0x49db39
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
jne 0x49db6d
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov word [eax + ecx*4], 0x32
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
cmp dword [eax + 0x54], esi
jg 0x49db87
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
jne 0x49dbbb
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x58]
mov word [eax + ecx*4], 0x3d
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 + 0x48]
push ebx
push eax
push ebp
call fcn.0044de00
mov ebx, dword [esp + 0x12c]
jmp 0x49dcc4
xor esi, esi
mov byte [esp + 0x1b], 0
mov dword [esp + 0x28], esi
cmp dword [ebx + 0x2c], esi
jne 0x49dc41
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.004679c0
add esp, 8
mov byte [esp + 0x1b], al
test al, al
je 0x49dc3d
push esi
push dword [esp + 0x2c]
push dword [esp + 0x28]
call fcn.004849e0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x24], esi
test esi, esi
je 0x49dc41
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x41], 0
jne 0x49dc41
mov eax, dword [esi + 4]
cmp byte [esp + 0x1b], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov byte [eax], 0x9a
jmp 0x49dc41
mov esi, dword [esp + 0x28]
lea eax, [esp + 0xa4]
push eax
push ebp
call fcn.00471b70
mov al, byte [esp + 0x23]
push 0
movzx eax, al
push eax
push 0
push esi
push dword [esp + 0x5c]
push dword [esp + 0x38]
push ebp
call fcn.004afcc0
mov esi, eax
add esp, 0x24
test esi, esi
jne 0x49dc89
push dword [esp + 0x24]
mov edi, dword [esp + 0x24]
push edi
call fcn.00484860
add esp, 8
jmp 0x49dddd
lea eax, [esp + 0xa4]
push eax
push ebp
call fcn.004b4d20
add esp, 8
cmp byte [esi + 0x24], 0
jle 0x49dcb0
push dword [esi + 0x34]
push 0
push 0xe
push edi
call fcn.004a3dc0
add esp, 0x10
push esi
call fcn.004b1ee0
lea eax, [esp + 0xa8]
push eax
push ebp
call fcn.0044fdb0
mov esi, dword [esp + 0x74]
add esp, 0xc
mov eax, dword [esp + 0x50]
mov dword [esp + 0x88], 0
push 0x10
push esi
push eax
push ebp
call fcn.00483df0
push esi
push esi
push dword [esp + 0x13c]
push 0
push 0
push 0xffffffffffffffff
push dword [ebx]
push ebx
push ebp
call fcn.00474bb0
push dword [esp + 0x58]
push dword [esp + 0x58]
call fcn.00484860
add esp, 0x3c
mov esi, dword [edi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x68]
js 0x49dd25
mov edx, dword [esi + 0x70]
test edx, edx
je 0x49dd25
mov eax, dword [edi + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [esi + 0x58], eax
cmp byte [esp + 0x75], 3
jne 0x49dd41
push str.DISTINCT
push ebp
call fcn.0044df20
add esp, 8
cmp dword [esp + 0x88], 0
je 0x49dd88
cmp dword [esp + 0x8c], 0
mov eax, str.RIGHT_PART_OF_ORDER_BY
jg 0x49dd5f
mov eax, str.ORDER_BY
push eax
push ebp
call fcn.0044df20
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x12c]
push esi
push dword [eax]
lea eax, [esp + 0x98]
push eax
push ebx
push ebp
call fcn.00462ff0
add esp, 0x1c
jmp 0x49dd8f
mov esi, dword [esp + 0x124]
mov edx, dword [edi + 0x18]
or ebx, 0xffffffff
sub ebx, dword [esp + 0xf8]
js 0x49ddab
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x49ddab
mov eax, dword [edi + 0x20]
mov dword [ecx + ebx*4], eax
mov eax, dword [edi + 0x20]
xor ebx, ebx
mov edi, dword [esp + 0x20]
dec eax
mov dword [edx + 0x58], eax
cmp dword [ebp + 0x40], ebx
setg bl
jmp 0x49dde9
mov edi, eax
jmp 0x49dddd
mov esi, dword [esp + 0x124]
mov ebx, 1
jmp 0x49dded
mov ebx, 1
jmp 0x49dded
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x124]
mov ebx, 1
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xd4]
mov dword [ebp + 0x1cc], edx
test ebx, ebx
jne 0x49de11
cmp byte [esi], 9
jne 0x49de11
push dword [esp + 0x40]
push ecx
push ebp
call fcn.004629f0
add esp, 0xc
mov esi, dword [esp + 0xc0]
test esi, esi
je 0x49deb0
cmp dword [edi + 0x208], 0
je 0x49de35
push esi
push edi
call fcn.00467960
add esp, 8
jmp 0x49deb0
cmp esi, dword [edi + 0x114]
jb 0x49de5b
cmp esi, dword [edi + 0x118]
jae 0x49de5b
mov eax, dword [edi + 0x110]
mov dword [esi], eax
dec dword [edi + 0xfc]
mov dword [edi + 0x110], esi
jmp 0x49deb0
cmp dword [0x4e2568], 0
je 0x49dea6
mov eax, dword [0x4e4db0]
test eax, eax
je 0x49de77
push eax
call dword [0x4e25bc]
add esp, 4
push esi
call dword [0x4e2598]
sub dword [0x4e4c08], eax
dec dword [0x4e4c2c]
push esi
call dword [0x4e2590]
mov eax, dword [0x4e4db0]
add esp, 8
test eax, eax
je 0x49deb0
push eax
call dword [0x4e25c4]
jmp 0x49dead
push esi
call dword [0x4e2590]
add esp, 4
mov esi, dword [esp + 0xcc]
test esi, esi
je 0x49df73
cmp dword [edi + 0x208], 0
je 0x49dedf
push esi
push edi
call fcn.00467960
add esp, 8
mov eax, ebx
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x108
ret
cmp esi, dword [edi + 0x114]
jb 0x49df10
cmp esi, dword [edi + 0x118]
jae 0x49df10
mov eax, dword [edi + 0x110]
mov dword [esi], eax
mov eax, ebx
dec dword [edi + 0xfc]
mov dword [edi + 0x110], esi
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x108
ret
cmp dword [0x4e2568], 0
je 0x49df69
mov eax, dword [0x4e4db0]
test eax, eax
je 0x49df2c
push eax
call dword [0x4e25bc]
add esp, 4
push esi
call dword [0x4e2598]
sub dword [0x4e4c08], eax
dec dword [0x4e4c2c]
push esi
call dword [0x4e2590]
mov eax, dword [0x4e4db0]
add esp, 8
test eax, eax
je 0x49df73
push eax
call dword [0x4e25c4]
add esp, 4
mov eax, ebx
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x108
ret
push esi
call dword [0x4e2590]
add esp, 4
pop esi
pop edi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x108
ret