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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
push esi
push edi
mov edi, ecx
mov dword [esp + 0x44], 1
mov esi, edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], esi
mov eax, dword [edi + 0x1d0]
mov dword [esp + 0xe8], eax
mov eax, dword [edi + 0x1d4]
mov dword [edi + 0x1d0], eax
inc eax
mov dword [edi + 0x1d4], eax
mov eax, dword [edi]
mov dword [esp + 0x3c], eax
test esi, esi
je 0x4d4f74
cmp byte [eax + 0x40], 0
jne 0x4d4f74
cmp dword [edi + 0x40], 0
jne 0x4d4f74
push 0
push 0
push 0
mov edx, 0x15
call fcn.004b7580
add esp, 0xc
test eax, eax
jne 0x4d4f74
push 0x30
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.0058fee0
mov eax, dword [ebp + 8]
add esp, 0xc
cmp byte [eax], 8
ja 0x4d3526
mov edx, dword [esi + 0x30]
mov ecx, dword [esp + 0x3c]
call fcn.004b06c0
mov eax, 0xfffe
mov dword [esi + 0x30], 0
and word [esi + 6], ax
push 0
mov edx, esi
mov ecx, edi
call fcn.004d2df0
mov eax, dword [esi + 0x30]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x20]
add esp, 4
cmp dword [edi + 0x40], 0
movaps xmmword [esp + 0x90], xmm0
mov dword [esp + 0x20], eax
mov dword [esp + 0x90], eax
mov eax, dword [esi]
movq qword [esp + 0xa0], xmm0
mov dword [esp + 0xa8], 0
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x68], eax
jne 0x4d4f64
mov eax, dword [esp + 0x3c]
cmp byte [eax + 0x40], 0
jne 0x4d4f6d
movzx eax, word [esi + 6]
mov ecx, edi
shr eax, 2
and eax, 1
mov dword [esp + 0x6c], eax
call fcn.004cedb0
mov esi, eax
mov dword [esp + 0x64], esi
test esi, esi
je 0x4d35cc
mov ecx, dword [esp + 0x68]
mov edx, dword [ebp + 8]
cmp dword [ecx], 1
movzx eax, byte [edx]
jle 0x4d3629
cmp eax, 0xa
je 0x4d35be
cmp eax, 0xb
jne 0x4d3629
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push edi
call fcn.00485270
add esp, 8
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0xe8]
mov dword [eax + 0x1d0], edx
test edi, edi
jne 0x4d3605
mov edx, dword [ebp + 8]
cmp byte [edx], 9
jne 0x4d3605
push dword [esp + 0x68]
mov edx, ecx
mov ecx, eax
call fcn.004ce540
add esp, 4
mov edx, dword [esp + 0xd4]
mov ecx, esi
call fcn.00482bb0
mov edx, dword [esp + 0xe0]
mov ecx, esi
call fcn.00482bb0
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x38], ecx
cmp dword [eax + 0x34], ecx
jne 0x4d369c
mov edx, dword [esp + 0x4c]
nop dword [eax]
cmp ecx, dword [edx]
jge 0x4d3699
lea eax, [ecx + ecx*4]
shl eax, 4
add eax, 8
add eax, edx
mov dword [esp + 0x18], eax
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x58], ecx
test ecx, ecx
je 0x4d3686
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4d36f5
test byte [eax + 0x28], 4
jne 0x4d3686
push ecx
push dword [eax + 0x1c]
mov edx, 0x11
mov ecx, esi
call fcn.0049e390
mov edx, dword [esp + 0x54]
add esp, 8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
inc ecx
cmp dword [eax + 0x34], 0
mov dword [esp + 0x38], ecx
je 0x4d3640
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x84], ecx
mov cl, byte [eax + 6]
and cl, 1
cmp dword [eax + 0x34], 0
mov byte [esp + 0xf], cl
mov byte [esp + 0xec], cl
je 0x4d3988
push edx
mov edx, eax
mov ecx, edi
call fcn.004cf7a0
mov edx, dword [esp + 0xec]
add esp, 4
mov dword [edi + 0x1d0], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
call fcn.004af390
add dword [edi + 0x1cc], eax
mov ecx, edi
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x1c]
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
push eax
call fcn.004d1670
add esp, 0xc
test eax, eax
je 0x4d3756
cmp dword [esp + 0x10], 0
je 0x4d374a
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], 1
or word [eax + 6], 4
or eax, 0xffffffff
mov dword [esp + 0x38], eax
jmp 0x4d3941
mov eax, dword [esp + 0x4c]
cmp dword [eax], 1
jne 0x4d383e
mov eax, dword [esp + 0x3c]
mov ecx, 0x100
test word [eax + 0x3c], cx
jne 0x4d383e
mov ecx, dword [esp + 0x14]
mov edx, 0x14
mov edi, dword [esi + 0x20]
inc edi
push edi
mov eax, dword [ecx + 0x48]
inc eax
mov dword [ecx + 0x48], eax
mov ecx, dword [esp + 0x1c]
push 0
push eax
mov dword [ecx + 0x1c], eax
mov ecx, esi
call fcn.0049e260
mov edx, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x18], edi
mov dword [esp + 0xfc], eax
mov al, byte [ecx + 0x1d4]
mov word [esp + 0xf8], 0xd
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov byte [edx + 0x2c], al
lea eax, [esp + 0xf8]
mov edx, dword [esp + 0x58]
push eax
call fcn.004d3470
mov eax, dword [esp + 0x5c]
add esp, 4
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.004863f0
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x10]
mov word [ecx + 0x1c], ax
mov ecx, esi
or dword [edx + 0x28], 4
mov eax, dword [esp + 0x108]
push dword [edx + 0x1c]
mov dword [edx + 0x20], eax
mov edx, 0x15
call fcn.0049e320
add esp, 0xc
lea edx, [edi - 1]
mov ecx, esi
call fcn.0049e8a0
mov edi, dword [esp + 0x14]
jmp 0x4d3936
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x84], eax
mov edx, 0x19
mov eax, dword [edi + 0x48]
inc eax
mov dword [edi + 0x48], eax
push eax
mov dword [ecx + 0x1c], eax
mov ecx, esi
push 0
call fcn.0049e390
mov edx, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0x10], eax
inc eax
test byte [edx + 0x28], 2
mov dword [edx + 0x18], eax
jne 0x4d388b
mov ecx, edi
call fcn.004b0a40
mov edx, dword [esp + 0x18]
mov dword [esp + 0x84], eax
mov ecx, dword [edx + 0x30]
lea eax, [esp + 0xf8]
mov dword [esp + 0xfc], ecx
mov cl, byte [edi + 0x1d4]
mov word [esp + 0xf8], 0xc
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov byte [edx + 0x2c], cl
mov ecx, edi
mov edx, dword [esp + 0x58]
push eax
call fcn.004d3470
mov eax, dword [esp + 0x5c]
add esp, 4
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.004863f0
mov ecx, dword [esp + 0x20]
add esp, 8
mov ecx, dword [ecx + 0x10]
mov word [ecx + 0x1c], ax
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4d3905
mov edx, eax
mov ecx, esi
call fcn.0049e8a0
mov eax, dword [esp + 0x18]
mov edx, 0x12
mov ecx, esi
push dword [eax + 0x1c]
call fcn.0049e320
mov dword [esp + 0x4c], eax
add esp, 4
mov eax, dword [esp + 0x10]
cmp dword [esi + 0x20], eax
jbe 0x4d3936
mov ecx, dword [esi + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x48]
mov dword [ecx + edx*4 + 4], eax
mov dword [edi + 0x38], 0
mov byte [edi + 0x13], 0
mov eax, dword [esp + 0x3c]
cmp byte [eax + 0x40], 0
jne 0x4d4f5d
mov ecx, dword [esp + 0x1c]
call fcn.004af390
sub dword [edi + 0x1cc], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x20]
cmp byte [ecx], 8
mov dword [esp + 0x4c], edx
jbe 0x4d368a
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x90], ecx
jmp 0x4d368a
mov al, byte [eax + 6]
and al, 5
cmp al, 1
jne 0x4d3ad6
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
call fcn.004b3e20
add esp, 4
test eax, eax
jne 0x4d3ad6
mov eax, dword [esp + 0x1c]
mov ecx, 0xfffe
push 0
and word [eax + 6], cx
mov edx, dword [eax]
mov ecx, dword [esp + 0x40]
call fcn.004aff00
mov ecx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [eax + 0x28], ecx
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0xa4], 0xffffffff
mov eax, dword [ebp + 8]
cmp byte [eax], 0xc
jne 0x4d3a11
mov ecx, dword [esp + 0x68]
mov edx, 0x37
push dword [ecx]
mov ecx, esi
push dword [eax + 4]
call fcn.0049e390
add esp, 8
mov ecx, esi
call fcn.0049e610
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10c], ecx
mov edx, eax
push ecx
mov ecx, edi
mov dword [eax + 0x18], 0xffffffff
mov dword [eax + 0x1c], SysReAllocStringLen
call fcn.004cee00
mov edx, dword [esp + 0x20]
add esp, 4
cmp dword [edx + 8], 0
jne 0x4d3a6d
mov eax, dword [esp + 0xa4]
test eax, eax
js 0x4d3a6d
mov edx, eax
mov ecx, esi
call fcn.0049eb40
or byte [esp + 0xa8], 1
mov edx, dword [esp + 0x1c]
mov byte [eax], 0x38
test byte [edx + 6], 1
je 0x4d3b2a
mov edi, dword [edi + 0x44]
mov ecx, dword [esp + 0x14]
push 0xfffffffffffffffa
push ecx
lea eax, [edi + 1]
mov dword [esp + 0xf8], edi
mov dword [ecx + 0x44], eax
mov edx, dword [edx]
push 0
push 0
call fcn.004cdb60
add esp, 0xc
mov edx, 0x37
mov ecx, esi
push eax
push 0
push 0
push edi
call fcn.0049e400
mov ecx, dword [esi + 4]
add esp, 0x14
mov dword [esp + 0xf4], eax
test ecx, ecx
je 0x4d3aca
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 8
mov edi, dword [esp + 0x14]
mov al, 3
mov edx, dword [esp + 0x1c]
jmp 0x4d3b2c
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4d39e6
push 0
push 0
mov edx, eax
mov ecx, edi
call fcn.004cdb60
mov edx, dword [edi + 0x44]
push 0xfffffffffffffffa
push eax
mov eax, dword [esp + 0x30]
lea ecx, [edx + 1]
mov dword [esp + 0xa8], edx
mov dword [edi + 0x44], ecx
mov ecx, esi
push 0
mov eax, dword [eax]
add eax, 2
push eax
push edx
mov edx, 0x37
call fcn.0049e400
add esp, 0x1c
mov dword [esp + 0xa4], eax
jmp 0x4d39f1
xor al, al
cmp dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xed], al
mov dword [esp + 0x58], eax
jne 0x4d3c54
test ecx, ecx
jne 0x4d3c54
push ecx
xor eax, eax
mov ecx, 0x400
cmp byte [esp + 0x13], al
cmovne eax, ecx
mov ecx, edi
movzx eax, ax
push eax
push dword [edx]
mov edx, dword [esp + 0x58]
push dword [esp + 0x2c]
push dword [esp + 0x88]
call fcn.004e1ef0
add esp, 0x14
mov dword [esp + 0x38], eax
test eax, eax
je 0x4d35cc
mov cx, word [eax + 0x20]
call fcn.004864a0
mov ecx, eax
mov eax, dword [esp + 0x1c]
cmp edx, dword [eax + 0x1c]
ja 0x4d3ba9
jb 0x4d3ba3
cmp ecx, dword [eax + 0x18]
jae 0x4d3ba9
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
cmp byte [esp + 0xf], 0
mov edx, dword [esp + 0x38]
je 0x4d3bd9
mov eax, dword [esp + 0x58]
mov cl, byte [edx + 0x28]
movzx eax, al
test cl, cl
mov dword [esp + 0x58], eax
movzx eax, cl
mov ecx, dword [esp + 0x58]
cmovne ecx, eax
mov dword [esp + 0x58], ecx
mov byte [esp + 0xed], cl
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4d3bfa
movsx eax, byte [edx + 0x24]
xor edx, edx
cmp eax, dword [ecx]
mov dword [esp + 0x94], eax
cmove ecx, edx
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0xa4]
test eax, eax
js 0x4d3c12
test ecx, ecx
jne 0x4d3c12
mov edx, eax
mov ecx, esi
call fcn.0049e9b0
mov eax, dword [esp + 0x38]
mov ecx, edi
mov edx, dword [esp + 0x1c]
push dword [eax + 0x34]
push dword [eax + 0x30]
lea eax, [esp + 0xf4]
push dword [ebp + 8]
push eax
lea eax, [esp + 0xa0]
push eax
push 0xffffffffffffffff
push dword [esp + 0x80]
call fcn.004ccf70
mov ecx, dword [esp + 0x54]
add esp, 0x1c
call fcn.004e2810
jmp 0x4d4e61
mov dword [esp + 0x54], 0
mov dword [esp + 0x40], 0
test ecx, ecx
je 0x4d3cdb
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x64]
test eax, eax
jle 0x4d3c98
mov ecx, dword [esp + 0x10]
add ecx, 0x16
xor edi, edi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], di
test eax, eax
jg 0x4d3c82
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
test eax, eax
jle 0x4d3cc6
mov ecx, dword [esp + 0x10]
add ecx, 0x16
nop dword [eax]
xor esi, esi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], si
test eax, eax
jg 0x4d3cb0
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x18]
cmp dword [edx + 0x1c], 0
ja 0x4d3cd2
cmp dword [edx + 0x18], 0x64
jbe 0x4d3ce9
mov dword [edx + 0x18], 0x64
jmp 0x4d3ce2
mov dword [edx + 0x18], 1
mov dword [edx + 0x1c], 0
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
call fcn.004b3e20
add esp, 4
mov ecx, 1
test eax, eax
mov eax, 0
cmove eax, ecx
mov ecx, esi
mov dword [esp + 0x50], eax
call fcn.0049e610
mov ecx, dword [esp + 0x18]
xorps xmm0, xmm0
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x4c]
movaps xmmword [esp + 0x110], xmm0
mov dword [esp + 0x114], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 0x48]
inc eax
movaps xmmword [esp + 0x120], xmm0
mov dword [esp + 0x110], edi
mov dword [esp + 0xc8], eax
test ecx, ecx
je 0x4d3d6a
mov eax, dword [ecx]
inc eax
mov dword [esp + 0xc4], eax
jmp 0x4d3d75
mov dword [esp + 0xc4], 0
mov edx, dword [esp + 0x68]
mov dword [esp + 0xd0], ecx
lea ecx, [esp + 0x110]
call fcn.004b42d0
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x110]
call fcn.004b42d0
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4d3db5
mov edx, eax
lea ecx, [esp + 0x110]
call fcn.004b42a0
cmp dword [esp + 0xe4], 0
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xdc], eax
jle 0x4d3e27
mov al, byte [esp + 0x12c]
xor edi, edi
xor esi, esi
nop dword [eax + eax]
or al, 8
lea ecx, [esp + 0x110]
mov byte [esp + 0x12c], al
mov eax, dword [esp + 0xe0]
mov edx, dword [edi + eax]
mov edx, dword [edx + 0x14]
call fcn.004b42d0
mov al, byte [esp + 0x12c]
lea edi, [edi + 0x10]
and al, 0xf7
inc esi
mov byte [esp + 0x12c], al
cmp esi, dword [esp + 0xe4]
jl 0x4d3de0
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x48]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x3c]
cmp byte [eax + 0x40], 0
jne 0x4d4f5d
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4d4b3b
mov eax, dword [edi + 0x44]
mov edx, ecx
mov dword [esp + 0xbc], eax
mov ecx, edi
inc eax
push 0
push 0
mov dword [edi + 0x44], eax
call fcn.004cdb60
push 0xfffffffffffffffa
push eax
push 0
push dword [esp + 0xd8]
mov edx, 0x38
mov dword [esp + 0x60], eax
push dword [esp + 0xd4]
mov ecx, esi
call fcn.0049e400
mov dword [esp + 0x2c], eax
add esp, 0x1c
mov eax, dword [edi + 0x48]
mov ecx, esi
inc eax
mov dword [esp + 0x20], eax
add eax, 2
mov dword [edi + 0x48], eax
call fcn.0049e610
inc dword [edi + 0x48]
mov ecx, esi
mov dword [esp + 0x7c], eax
mov eax, dword [edi + 0x48]
mov dword [esp + 0x60], eax
call fcn.0049e610
mov edx, dword [edi + 0x48]
mov dword [esp + 0x5c], eax
lea eax, [edx + 1]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
add ecx, edx
mov dword [edi + 0x48], ecx
mov eax, dword [eax]
add eax, ecx
mov dword [edi + 0x48], eax
lea edx, [ecx + 1]
mov eax, dword [esp + 0x20]
mov ecx, esi
inc eax
mov dword [esp + 0x6c], edx
push eax
push 0
mov edx, 0x19
call fcn.0049e390
push dword [esp + 0x28]
mov edx, 0x19
mov ecx, esi
push 0
call fcn.0049e390
mov eax, dword [esp + 0x28]
mov edx, 0x1c
mov ecx, dword [esp + 0x84]
mov eax, dword [eax]
dec eax
add eax, ecx
push eax
push ecx
push 0
mov ecx, esi
call fcn.0049e260
add esp, 0x1c
mov edx, 0x11
mov ecx, esi
push dword [esp + 0x5c]
push dword [esp + 0x64]
call fcn.0049e390
mov eax, dword [esp + 0x58]
mov ecx, 0x100
neg eax
push 0
sbb eax, eax
and eax, 0x800
mov edx, dword [esp + 0x58]
or ax, cx
movzx eax, ax
mov ecx, edi
push eax
push 0
push dword [esp + 0x2c]
push dword [esp + 0x90]
call fcn.004e1ef0
mov edx, eax
add esp, 0x1c
mov dword [esp + 0x78], edx
test edx, edx
je 0x4d35cc
mov eax, dword [esp + 0x18]
movsx ecx, byte [edx + 0x24]
cmp ecx, dword [eax]
jne 0x4d3f99
xor eax, eax
mov dword [esp + 0x38], eax
jmp 0x4d4374
cmp byte [esp + 0xf], 0
je 0x4d3faf
mov eax, dword [esp + 0x1c]
mov edx, str.DISTINCT
test byte [eax + 6], 1
je 0x4d3fb4
mov edx, str.GROUP_BY
mov ecx, edi
call fcn.004cdc20
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], 1
mov eax, dword [eax]
mov dword [esp + 0x44], eax
lea ecx, [eax + 1]
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x80], ecx
mov edx, ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x54], eax
test eax, eax
jle 0x4d4017
mov eax, dword [esp + 0xd4]
add eax, 0xc
nop dword [eax]
cmp dword [eax], ecx
jl 0x4d4006
inc edx
inc ecx
add eax, 0x18
sub dword [esp + 0x54], 1
jne 0x4d4000
mov dword [esp + 0x8c], edx
mov ecx, dword [edi + 0x38]
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x70], eax
cmp edx, ecx
jg 0x4d4031
add eax, edx
sub ecx, edx
mov dword [edi + 0x3c], eax
mov dword [edi + 0x38], ecx
jmp 0x4d4040
mov eax, dword [edi + 0x48]
lea ecx, [eax + 1]
add eax, edx
mov dword [esp + 0x70], ecx
mov dword [edi + 0x48], eax
mov ecx, edi
call fcn.004b1c50
mov edx, dword [esp + 0x70]
push 0
push edx
mov edx, dword [esp + 0x20]
call fcn.004b3330
mov eax, dword [esp + 0x78]
mov edx, 0x44
add eax, dword [esp + 0x4c]
mov ecx, esi
push eax
push dword [esp + 0xc8]
call fcn.0049e390
add esp, 0x10
mov dword [esp + 0x44], 0
cmp dword [esp + 0xd8], 0
jle 0x4d4129
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x80]
add ecx, edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x40], 0
nop word [eax + eax]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0xd4]
cmp dword [esi + eax + 0xc], edx
mov esi, dword [esp + 0x64]
jl 0x4d4112
push 0
push ecx
mov ecx, dword [esp + 0x48]
push dword [ecx + eax + 4]
mov edx, dword [ecx + eax]
push dword [ecx + eax + 8]
mov ecx, edi
call fcn.004b1ba0
mov ecx, dword [esp + 0x64]
add esp, 0x10
cmp ecx, eax
je 0x4d40fe
push ecx
push eax
mov edx, 0x22
mov ecx, esi
call fcn.0049e390
mov ecx, dword [esp + 0x5c]
add esp, 8
mov edx, dword [esp + 0x80]
inc edx
inc ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x44]
add dword [esp + 0x40], 0x18
inc eax
mov dword [esp + 0x44], eax
cmp eax, dword [esp + 0xd8]
jl 0x4d40b0
mov al, byte [edi + 0x13]
test al, al
jne 0x4d413c
inc dword [edi + 0x48]
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x40], ecx
jmp 0x4d414c
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x18]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x44], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d416a
mov ecx, esi
call fcn.0049e1e0
test eax, eax
jne 0x4d41a1
mov ecx, dword [esp + 0x44]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x8c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x30
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xbc]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x44], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d41ca
mov ecx, esi
call fcn.0049e1e0
test eax, eax
jne 0x4d4200
mov ecx, dword [esp + 0x44]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x54]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x6a
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 0x4d4204
mov edx, dword [esp + 0x40]
test edx, edx
je 0x4d4238
mov al, byte [edi + 0x13]
mov byte [esp + 0xf], al
cmp al, 8
jae 0x4d4238
xor ecx, ecx
lea eax, [edi + 0x74]
cmp dword [eax + 0xc], edx
je 0x4d4234
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x4d4218
movzx eax, byte [esp + 0xf]
mov dword [edi + eax*4 + 0x18], edx
inc byte [edi + 0x13]
jmp 0x4d4238
mov byte [eax + 6], 1
push dword [esp + 0x8c]
mov edx, dword [esp + 0x74]
mov ecx, edi
call fcn.004b1990
mov eax, dword [esp + 0x90]
add esp, 4
cmp eax, dword [edi + 0x38]
jle 0x4d4263
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x70]
mov dword [edi + 0x3c], eax
mov ecx, dword [esp + 0x78]
call fcn.004e2810
mov eax, dword [edi + 0x44]
mov dword [esp + 0x54], eax
mov dword [esp + 0xc0], eax
inc eax
mov dword [edi + 0x44], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x4d4291
inc dword [edi + 0x48]
mov edx, dword [edi + 0x48]
mov dword [esp + 0x40], edx
jmp 0x4d42a1
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x18]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x44], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d42bf
mov ecx, esi
call fcn.0049e1e0
test eax, eax
jne 0x4d42f6
mov ecx, dword [esp + 0x44]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x54]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x8c]
mov word [eax + ecx*4], 0x39
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 + 0xbc]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x44], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d4322
mov ecx, esi
call fcn.0049e1e0
test eax, eax
jne 0x4d435c
mov ecx, dword [esp + 0x44]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x80]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x88]
mov word [eax + ecx*4], 0x67
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, edi
mov byte [esp + 0xb9], 1
call fcn.004b1c50
mov edx, dword [esp + 0x78]
mov eax, 1
cmp dword [esp + 0x50], 0
je 0x4d43a7
mov ecx, dword [esp + 0x3c]
test byte [ecx + 0x3c], 4
jne 0x4d43a7
test eax, eax
jne 0x4d438e
cmp byte [edx + 0x25], al
je 0x4d43a7
mov edx, dword [esp + 0xa4]
mov ecx, esi
mov dword [esp + 0x90], 0
call fcn.0049e9b0
mov eax, dword [esi + 0x20]
mov ecx, edi
mov dword [esp + 0x80], eax
call fcn.004b1c50
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4d43de
push dword [esp + 0x40]
mov edx, 0x5f
mov ecx, esi
push dword [esp + 0xc0]
call fcn.0049e390
mov eax, dword [esp + 0x40]
add esp, 8
mov ecx, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x40], edx
cmp dword [ecx], edx
jle 0x4d449a
test eax, eax
je 0x4d445f
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x50], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d4416
mov ecx, esi
call fcn.0049e1e0
mov edx, dword [esp + 0x40]
test eax, eax
jne 0x4d4447
mov ecx, dword [esp + 0x50]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x2e
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x54]
mov dword [ecx + 8], edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x6c]
add eax, edx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0xc], eax
test edx, edx
jne 0x4d4485
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4d4485
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x20
jmp 0x4d4485
mov eax, dword [esp + 0x6c]
add eax, edx
mov byte [esp + 0xb8], 1
push eax
lea eax, [edx + edx*2]
mov edx, dword [ecx + 4]
mov ecx, edi
mov edx, dword [edx + eax*8]
call fcn.004b3150
mov edx, dword [esp + 0x44]
add esp, 4
mov ecx, dword [esp + 0x18]
inc edx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x40], edx
cmp edx, dword [ecx]
jl 0x4d43f0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4d44a4
inc dword [eax]
mov eax, dword [ecx]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x50], edx
cmp dword [eax + 0x54], edx
jg 0x4d44cf
mov ecx, esi
call fcn.0049e1e0
test eax, eax
je 0x4d44cb
mov edx, 1
jmp 0x4d4507
mov edx, dword [esp + 0x50]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov edi, dword [esp + 0x74]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x6c]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x44]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x14]
mov word [eax + ecx*4], 0x29
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x48]
mov ecx, esi
push 0xfffffffffffffffa
push eax
call fcn.0049ea00
mov eax, dword [esi + 0x18]
add esp, 8
mov edx, dword [esi + 0x20]
mov dword [esp + 0x48], edx
cmp dword [eax + 0x54], edx
jg 0x4d4536
mov ecx, esi
call fcn.0049e1e0
test eax, eax
jne 0x4d4564
mov edx, dword [esp + 0x48]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
lea eax, [edx + 1]
mov dword [ecx + 8], 0
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0
mov eax, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [esp + 0x6c]
push dword [eax]
push dword [esp + 0x78]
call fcn.004b1e60
mov eax, dword [esi + 0x18]
add esp, 8
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x50], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d459a
mov ecx, esi
call fcn.0049e1e0
test eax, eax
jne 0x4d45d9
mov ecx, dword [esp + 0x50]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x64]
add edx, 2
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x7c]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x50], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d45f7
mov ecx, esi
call fcn.0049e1e0
test eax, eax
jne 0x4d4633
mov ecx, dword [esp + 0x50]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x88]
mov word [eax + ecx*4], 0x86
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x50], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d4651
mov ecx, esi
call fcn.0049e1e0
test eax, eax
jne 0x4d4685
mov ecx, dword [esp + 0x50]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x60]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x20]
mov eax, dword [esp + 0x48]
cmp edx, eax
jbe 0x4d469a
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0xb8]
mov eax, dword [esi + 0x18]
dec ecx
mov dword [eax + 0x58], ecx
mov ecx, edi
call fcn.004d3040
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x48], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d46d0
mov ecx, esi
call fcn.0049e1e0
test eax, eax
jne 0x4d4704
mov ecx, dword [esp + 0x48]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4d4772
mov eax, dword [esp + 0xbc]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d4739
mov ecx, esi
call fcn.0049e1e0
test eax, eax
jne 0x4d47c0
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x80]
mov word [eax + ecx*4], 5
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4d47c0
mov ecx, dword [esp + 0x78]
call fcn.004e2810
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4d47c0
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 + 0x10]
movsx edx, byte [ecx + eax*4 + 1]
lea edi, [ecx + eax*4]
mov ecx, dword [esi]
call fcn.0049e8c0
xorps xmm0, xmm0
add esp, 4
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov byte [edi], 0x9c
mov eax, dword [esi + 0x20]
mov edi, dword [esp + 0x14]
dec eax
cmp dword [esp + 0x10], eax
jne 0x4d47c0
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d47de
mov ecx, esi
call fcn.0049e1e0
test eax, eax
jne 0x4d481d
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x64]
add edx, 2
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x7c]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d483b
mov ecx, esi
call fcn.0049e1e0
test eax, eax
jne 0x4d4872
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x88]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x48], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d4890
mov ecx, esi
call fcn.0049e1e0
test eax, eax
jne 0x4d48c9
mov ecx, dword [esp + 0x48]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
inc edx
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d48e7
mov ecx, esi
call fcn.0049e1e0
test eax, eax
jne 0x4d4926
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x64]
add edx, 2
mov edi, dword [esp + 0x14]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
js 0x4d4943
mov edx, dword [eax + 0x70]
test edx, edx
je 0x4d4943
mov eax, dword [esi + 0x20]
mov dword [edx + ecx*4], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x20]
dec eax
mov dword [ecx + 0x58], eax
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x10], edx
cmp dword [eax + 0x54], edx
jg 0x4d496c
mov ecx, esi
call fcn.0049e1e0
test eax, eax
jne 0x4d499e
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x86
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x20]
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 eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x50], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d49bc
mov ecx, esi
call fcn.0049e1e0
test eax, eax
jne 0x4d49fb
mov ecx, dword [esp + 0x50]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x64]
add edx, 2
mov edi, dword [esp + 0x14]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea edx, [esp + 0xb8]
mov ecx, edi
call fcn.004d2f70
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x84]
inc edi
mov ecx, dword [esp + 0x14]
push 8
push edi
call fcn.004b3940
push dword [esp + 0x50]
lea eax, [esp + 0xf8]
push edi
push dword [ebp + 8]
mov edi, dword [esp + 0x28]
mov ecx, edi
push eax
lea eax, [esp + 0xa8]
push eax
mov eax, dword [esp + 0x38]
mov edx, eax
push 0xffffffffffffffff
push dword [eax]
call fcn.004ccf70
mov eax, dword [esi + 0x18]
add esp, 0x24
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d4a6f
mov ecx, esi
call fcn.0049e1e0
test eax, eax
jne 0x4d4aaa
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x64]
add edx, 2
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
js 0x4d4ac7
mov edx, dword [eax + 0x70]
test edx, edx
je 0x4d4ac7
mov eax, dword [esi + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 0x20]
lea edx, [esp + 0xb8]
mov ecx, dword [esp + 0x10]
dec eax
mov dword [ecx + 0x58], eax
mov ecx, edi
call fcn.004d2e80
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d4b02
mov ecx, esi
call fcn.0049e1e0
test eax, eax
jne 0x4d4e36
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x60]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4d4e36
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xb8]
mov dword [esp + 0x74], 0
call fcn.004d1cd0
mov dword [esp + 0x38], eax
test eax, eax
je 0x4d4cd2
mov ecx, dword [edi]
mov edx, dword [eax + 0x44]
call fcn.004cba00
mov edx, eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x10], edx
lea ecx, [eax + 1]
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x44], ecx
mov ecx, edi
mov eax, dword [eax + 0x20]
mov dword [esp + 0x48], eax
call fcn.004bc6f0
mov eax, dword [esp + 0x38]
mov ecx, edi
mov edx, dword [esp + 0x10]
push dword [eax]
push 0
push dword [eax + 0x20]
call fcn.004b7610
mov edx, dword [esp + 0x44]
add esp, 0xc
test byte [edx + 0x2c], 0x20
je 0x4d4bca
mov ecx, edx
call fcn.004b86c0
mov ecx, eax
mov dword [esp + 0x7c], ecx
jmp 0x4d4bcc
xor ecx, ecx
mov eax, dword [edx + 8]
test eax, eax
je 0x4d4c08
mov edi, dword [esp + 0x38]
test byte [eax + 0x38], 4
jne 0x4d4bf9
movzx edx, word [eax + 0x30]
cmp dx, word [edi + 0x2a]
jge 0x4d4bf9
cmp dword [eax + 0x24], 0
jne 0x4d4bf9
test ecx, ecx
je 0x4d4bf7
cmp dx, word [ecx + 0x30]
jge 0x4d4bf9
mov ecx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4d4bd7
mov edi, dword [esp + 0x14]
mov dword [esp + 0x7c], ecx
test ecx, ecx
je 0x4d4c20
mov eax, dword [ecx + 0x2c]
mov edx, ecx
mov ecx, edi
mov dword [esp + 0x48], eax
call fcn.004bcfc0
mov dword [esp + 0x60], eax
push 1
push dword [esp + 0x14]
mov edx, 0x34
mov ecx, esi
push dword [esp + 0x50]
push dword [esp + 0x68]
call fcn.0049e560
mov eax, dword [esp + 0x70]
add esp, 0x10
test eax, eax
je 0x4d4c8a
mov edx, dword [esi + 4]
mov ecx, dword [esi]
test edx, edx
je 0x4d4c7c
cmp byte [ecx + 0x40], 0
jne 0x4d4c7c
mov eax, dword [esi + 0x20]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea edi, [edx + eax*4]
movsx edx, byte [edi + 1]
call fcn.0049e8c0
mov eax, dword [esp + 0x64]
mov dword [edi + 0x10], eax
mov byte [edi + 1], 0xfa
mov edi, dword [esp + 0x18]
jmp 0x4d4c87
push eax
mov edx, 0xfffffffa
call fcn.0049e8c0
add esp, 4
mov eax, dword [esp + 0xe0]
mov edx, 0x31
mov ecx, esi
push dword [eax + 8]
push dword [esp + 0x60]
call fcn.0049e390
push dword [esp + 0x64]
mov edx, 0x3a
mov ecx, esi
call fcn.0049e320
mov eax, dword [esp + 0x88]
add esp, 0xc
mov edx, dword [esp + 0x38]
mov ecx, edi
push eax
call fcn.004d33f0
add esp, 4
jmp 0x4d4de0
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x2c], 0
jne 0x4d4d4c
lea edx, [esp + 0x60]
lea ecx, [esp + 0xb8]
call fcn.004d1c60
mov byte [esp + 0xf], al
test al, al
je 0x4d4d44
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x3c]
push 0
call fcn.004aff00
mov edx, eax
add esp, 4
mov dword [esp + 0x5c], edx
mov dword [esp + 0x74], edx
test edx, edx
je 0x4d4d4c
mov eax, dword [esp + 0x3c]
cmp byte [eax + 0x40], 0
jne 0x4d4d4c
mov eax, dword [edx + 4]
cmp byte [esp + 0xf], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov byte [eax], 0x9a
jmp 0x4d4d4c
mov eax, dword [esp + 0x60]
mov dword [esp + 0x5c], eax
lea edx, [esp + 0xb8]
mov ecx, edi
call fcn.004d2e80
mov al, byte [esp + 0xf]
mov ecx, edi
mov edx, dword [esp + 0x4c]
push 0
movzx eax, al
push eax
push 0
push dword [esp + 0x68]
push dword [esp + 0x88]
call fcn.004e1ef0
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d4d9b
mov esi, dword [esp + 0x3c]
mov ecx, esi
mov edx, dword [esp + 0x74]
call fcn.004b06c0
jmp 0x4d35d0
lea edx, [esp + 0xb8]
mov ecx, edi
call fcn.004d3040
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x24], 0
jle 0x4d4dcb
push dword [eax + 0x34]
mov edx, 0x10
mov ecx, esi
push 0
call fcn.0049e390
mov eax, dword [esp + 0x18]
add esp, 8
mov ecx, eax
call fcn.004e2810
lea edx, [esp + 0xb8]
mov ecx, edi
call fcn.004d2f70
mov edx, dword [esp + 0x84]
mov ecx, edi
push 8
push dword [esp + 0x8c]
mov dword [esp + 0x98], 0
call fcn.004b3940
mov eax, dword [esp + 0x90]
mov ecx, edi
push eax
push eax
push dword [ebp + 8]
mov eax, dword [esp + 0x30]
mov edx, eax
push 0
push 0
push 0xffffffffffffffff
push dword [eax]
call fcn.004ccf70
mov edx, dword [esp + 0x98]
add esp, 0x24
mov ecx, dword [esp + 0x3c]
call fcn.004b06c0
mov eax, dword [esi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x88]
mov dword [esp + 0x10], eax
js 0x4d4e56
mov edx, dword [eax + 0x70]
test edx, edx
je 0x4d4e56
mov eax, dword [esi + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x10]
dec eax
mov dword [ecx + 0x58], eax
mov eax, dword [esp + 0x58]
cmp al, 3
jne 0x4d4ead
cmp byte [edi + 0x1c2], 2
jne 0x4d4ead
mov eax, dword [esp + 0x14]
mov edi, dword [edi + 8]
push str.DISTINCT
push str.USE_TEMP_B_TREE_FOR__s
push dword [eax]
call fcn.00484610
add esp, 0xc
mov edx, 0x9d
mov ecx, edi
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x1c]
push 0
push 0
push dword [eax + 0x1d0]
call fcn.0049e400
add esp, 0x14
cmp dword [esp + 0x90], 0
je 0x4d4f2d
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x1c2], 2
jne 0x4d4f10
cmp dword [esp + 0x94], 0
mov edx, str.ORDER_BY
mov edi, dword [ecx + 8]
mov eax, str.RIGHT_PART_OF_ORDER_BY
cmovle eax, edx
push eax
push str.USE_TEMP_B_TREE_FOR__s
push dword [ecx]
call fcn.00484610
add esp, 0xc
mov edx, 0x9d
mov ecx, edi
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x1c]
push 0
push 0
push dword [eax + 0x1d0]
call fcn.0049e400
mov ecx, dword [esp + 0x28]
add esp, 0x14
mov eax, dword [esp + 0x68]
push dword [ebp + 8]
mov edx, dword [esp + 0x20]
push dword [eax]
lea eax, [esp + 0x98]
push eax
call fcn.004cdd00
add esp, 0xc
mov edx, dword [esi + 0x18]
or edi, 0xffffffff
sub edi, dword [esp + 0x10c]
js 0x4d4f49
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x4d4f49
mov eax, dword [esi + 0x20]
mov dword [ecx + edi*4], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [esp + 0x44], 0
mov dword [edx + 0x58], eax
jmp 0x4d35cc
mov esi, eax
jmp 0x4d35d0
mov esi, dword [esp + 0x3c]
jmp 0x4d35d4
mov esi, eax
jmp 0x4d35d4
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret