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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [ecx]
push ebx
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x38]
push esi
mov esi, dword [ecx + 8]
dec eax
push edi
mov edi, edx
mov dword [esp + 0x20], eax
dec eax
mov dword [esp + 0x14], edi
mov dword [ecx + 0x38], eax
mov dword [esp + 0x30], ecx
mov ebx, dword [edi + 0x30]
mov al, byte [edi]
mov dword [esp + 0x50], 0
mov dword [esp + 0x34], 0
mov edx, dword [ebx]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x13], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], edx
cmp al, 0x87
je 0x4d6797
mov eax, dword [esp + 0x3c]
mov edi, 1
mov dword [esp + 0x18], edi
cmp byte [eax + 0x57], 0
jne 0x4d6793
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 0x38], eax
nop
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x1c]
cmp edi, dword [eax]
jg 0x4d6793
xor ecx, ecx
test edx, edx
jle 0x4d66d7
mov esi, dword [esp + 0x48]
lea edx, [ebx + 0x18]
nop dword [eax]
movzx eax, word [edx]
cmp eax, edi
je 0x4d66cf
inc ecx
add edx, 0x14
cmp ecx, esi
jl 0x4d66c0
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
cmp ecx, edx
jne 0x4d6780
mov ecx, dword [esp + 0x3c]
push 0
push 0x35
call fcn.004600a0
mov edi, eax
add esp, 8
test edi, edi
je 0x4d6848
push 0x34
push 0
push edi
call fcn.00533fc0
or eax, 0xffffffff
mov byte [edi], 0x9b
mov word [edi + 0x22], ax
add esp, 0xc
lea eax, [edi + 0x34]
mov byte [eax], 0
or dword [edi + 4], 0x400
mov eax, dword [esp + 0x18]
mov dword [edi + 0x18], 1
mov dword [edi + 8], eax
test ebx, ebx
jne 0x4d6744
mov eax, dword [esp + 0x30]
mov edx, edi
mov ecx, dword [eax]
call fcn.0049d610
mov ebx, eax
mov dword [esp + 0x28], ebx
jmp 0x4d6769
mov eax, dword [ebx]
lea edx, [eax + 1]
cmp dword [ebx + 4], edx
jge 0x4d6801
mov eax, dword [esp + 0x30]
mov edx, ebx
push edi
mov ecx, dword [eax]
call fcn.0049d680
add esp, 4
mov dword [esp + 0x28], eax
mov ebx, eax
mov eax, dword [esp + 0x14]
mov dword [eax + 0x30], ebx
test ebx, ebx
jne 0x4d6826
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
inc edi
mov dword [esp + 0x18], edi
cmp byte [eax + 0x57], 0
je 0x4d66a0
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
lea eax, [edx*4 + 4]
push 0
push eax
call fcn.004600a0
add esp, 8
mov dword [esp + 0x58], eax
test eax, eax
je 0x4d6854
mov ecx, dword [esp + 0x48]
mov edx, 1
mov dword [eax], ecx
cmp ecx, edx
jl 0x4d67ec
mov esi, dword [esp + 0x58]
lea eax, [ebx + 0x18]
mov dword [esp + 0x54], eax
mov ebx, eax
movzx eax, word [ebx]
lea ebx, [ebx + 0x14]
dec eax
mov dword [esi + edx*4], eax
inc edx
cmp edx, ecx
jle 0x4d67d5
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x34]
mov edx, edi
call fcn.004d4240
add esp, 4
mov dword [esp + 0x5c], eax
jmp 0x4d685c
movups xmm0, xmmword [0x579b70]
lea eax, [eax + eax*4]
mov dword [ebx], edx
lea ecx, [ebx + eax*4]
mov eax, dword [0x579b80]
movups xmmword [ecx + 8], xmm0
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 8], edi
mov dword [eax + 0x30], ebx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x18]
inc edx
mov dword [esp + 0x48], edx
mov word [ecx + ebx + 0x18], di
add ecx, 0x14
mov dword [esp + 0x38], ecx
jmp 0x4d6780
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x5c], 0
mov dl, byte [esp + 0x13]
cmp dl, 0x87
jne 0x4d6877
mov dword [esp + 0x44], 0
mov ecx, 1
jmp 0x4d6a0d
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + 0x30]
mov edx, dword [eax]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x24], edx
lea ebx, [eax + 1]
inc eax
add eax, edx
mov dword [esp + 0x44], ebx
mov dword [ecx + 0x2c], eax
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d68b6
push 0
push ebx
push 0
mov edx, 0x47
mov ecx, esi
call fcn.004845f0
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x4d68e9
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x3c]
lea edx, [edx + 5]
lea eax, [edx + edx*4]
push 0
push eax
call fcn.004600a0
mov ebx, dword [esp + 0x30]
mov ecx, eax
add esp, 8
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x4d695a
mov edx, dword [esp + 0x24]
lea eax, [edx + 6]
lea eax, [ecx + eax*4]
mov dword [ecx + 0x10], eax
movzx eax, dx
mov word [ecx + 6], ax
inc eax
mov word [ecx + 8], ax
mov eax, dword [esp + 0x3c]
mov al, byte [eax + 0x54]
mov byte [ecx + 4], al
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
lea eax, [edx*4 + 1]
add eax, edx
mov dword [ecx], 1
push eax
lea eax, [ecx + 0x18]
push 0
push eax
call fcn.00533fc0
mov eax, dword [esp + 0x40]
add esp, 0xc
jmp 0x4d6972
push dword [esp + 0x3c]
call fcn.00460370
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
je 0x4d69ff
cmp dword [esp + 0x24], 0
jle 0x4d69ff
mov ebx, dword [esp + 0x30]
lea edx, [eax + 0x14]
xor ecx, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], ecx
xor esi, esi
mov eax, dword [edi + 0x34]
test eax, eax
je 0x4d69b2
push esi
mov edx, eax
mov ecx, ebx
call fcn.004d41f0
mov ecx, dword [esp + 0x30]
add esp, 4
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x4d69d5
jmp 0x4d69b4
xor eax, eax
mov ebx, dword [edi + 0x1c]
cmp esi, dword [ebx]
mov ebx, dword [esp + 0x30]
jge 0x4d69d5
mov eax, dword [edi + 0x1c]
mov edx, dword [eax + ecx + 8]
mov ecx, ebx
call fcn.0049b030
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov dword [edx], eax
add ecx, 0x14
mov eax, dword [esp + 0x34]
add edx, 4
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x24]
jl 0x4d6990
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
mov dl, byte [esp + 0x13]
mov ecx, 1
cmp dl, 0x86
jne 0x4d6a4e
mov eax, dword [esp + 0x3c]
test dword [eax + 0x50], 0x200000
jne 0x4d6a4e
cmp dword [edi + 0x34], 0
mov eax, edi
je 0x4d6a4e
cmp byte [eax], dl
jne 0x4d6a30
mov eax, dword [eax + 0x34]
inc ecx
cmp dword [eax + 0x34], 0
jne 0x4d6a22
cmp ecx, 3
jle 0x4d6a4e
lea eax, [ecx - 3]
mov edx, edi
shr eax, 1
inc eax
nop dword [eax]
mov edx, dword [edx + 0x34]
sub eax, 1
jne 0x4d6a40
mov dword [esp + 0x54], edx
jmp 0x4d6a54
mov edx, edi
mov dword [esp + 0x54], edi
mov eax, dword [edx + 0x34]
mov dword [edx + 0x34], 0
mov edx, ebx
mov ebx, dword [esp + 0x30]
push 0
mov dword [eax + 0x38], 0
mov dword [esp + 0x28], eax
mov ecx, dword [ebx]
call fcn.0049cea0
mov edx, dword [esp + 0x28]
add esp, 4
mov ecx, ebx
mov dword [edx + 0x30], eax
mov edx, edi
push str.ORDER
push dword [edi + 0x30]
call fcn.0049a180
mov eax, dword [esp + 0x2c]
mov ecx, ebx
push str.ORDER
mov edx, eax
push dword [eax + 0x30]
call fcn.0049a180
push dword [esp + 0x30]
mov edx, edi
mov ecx, ebx
call fcn.004d3e50
add esp, 0x14
cmp dword [edi + 8], 0
je 0x4d6b99
cmp byte [esp + 0x13], 0x87
jne 0x4d6b99
mov edx, dword [ebx + 0x2c]
inc edx
mov dword [esp + 0x38], edx
lea eax, [edx + 1]
mov dword [esp + 0x40], eax
mov dword [ebx + 0x2c], eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4d6ae9
inc eax
jmp 0x4d6aec
mov eax, dword [edi + 8]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x78], ecx
jg 0x4d6b11
push 0
push edx
push eax
mov edx, 0x4f
mov ecx, esi
call fcn.004845f0
mov edx, dword [esp + 0x44]
add esp, 0xc
jmp 0x4d6b44
mov ebx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d6b64
push 0
push dword [esp + 0x44]
mov ecx, esi
push edx
mov edx, 0x4f
call fcn.004845f0
add esp, 0xc
jmp 0x4d6ba9
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4d6ba9
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 0
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x4d6bb9
mov ecx, dword [esp + 0x3c]
call fcn.0049c740
mov dword [edi + 0x3c], 0
mov edx, dword [ebx + 0x2c]
inc edx
mov byte [esp + 0x7c], 0xd
mov eax, edx
mov dword [esp + 0x84], 0
inc edx
mov dword [esp + 0x1c], eax
mov ecx, edx
mov dword [esp + 0x80], eax
inc edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
inc edx
mov dword [ebx + 0x2c], edx
movzx eax, byte [edi]
mov dword [esp + 0x18], edx
mov dword [esp + 0x90], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov byte [esp + 0x60], 0xd
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
sub eax, 0x87
je 0x4d6c68
sub eax, 1
je 0x4d6c61
sub eax, 1
je 0x4d6c5a
mov eax, str.UNION
jmp 0x4d6c6d
mov eax, str.INTERSECT
jmp 0x4d6c6d
mov eax, str.EXCEPT
jmp 0x4d6c6d
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
push ebx
call fcn.00484bf0
mov eax, dword [esi + 0x74]
add esp, 0x10
mov dword [esp + 0x4c], eax
lea edx, [eax + 1]
cmp dword [esi + 0x78], eax
jg 0x4d6ca9
push edx
push 0
push dword [esp + 0x24]
mov edx, 0xd
mov ecx, esi
call fcn.004845f0
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x4d6cd9
mov edi, dword [esp + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov dword [esi + 0x74], edx
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
push str.LEFT
push 1
push ebx
mov dword [edx + 8], eax
call fcn.00484bf0
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x88]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.004daca0
mov ecx, dword [esi + 0x74]
add esp, 4
cmp dword [esi + 0x78], ecx
jg 0x4d6d2b
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x44
mov ecx, esi
call fcn.004845f0
add esp, 0xc
jmp 0x4d6d5e
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x44
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 + 0xc]
mov byte [eax + 0x13], 0
mov eax, dword [esi + 0xc]
mov dword [eax + 0x1c], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4d6d81
mov eax, 0x5abde4
jmp 0x4d6d96
mov ecx, dword [esp + 0x4c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esi + 0x74]
mov dword [esp + 0x4c], eax
lea edx, [eax + 1]
cmp dword [esi + 0x78], eax
jg 0x4d6dc4
push edx
push 0
push dword [esp + 0x30]
mov edx, 0xd
mov ecx, esi
call fcn.004845f0
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x4d6df0
mov ebx, dword [esp + 0x28]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov dword [esi + 0x74], edx
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov ebx, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov ecx, dword [esp + 0x40]
push str.RIGHT
push 1
push dword [esp + 0x38]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
call fcn.00484bf0
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x6c]
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push eax
call fcn.004daca0
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [eax + 8], ebx
mov ebx, eax
mov dword [ebx + 0xc], edi
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d6e5d
push 0
push 0
push dword [esp + 0x30]
mov edx, 0x44
mov ecx, esi
call fcn.004845f0
add esp, 0xc
jmp 0x4d6e90
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x44
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
push dword [esp + 0x20]
mov eax, dword [esi + 0xc]
mov edx, ebx
push dword [esp + 0x38]
mov edi, dword [esp + 0x38]
mov ecx, edi
push dword [esp + 0x4c]
mov byte [eax + 0x13], 0
mov eax, dword [esi + 0xc]
push dword [esp + 0x38]
push dword [ebp + 8]
mov dword [eax + 0x1c], 0
lea eax, [esp + 0x90]
push eax
call fcn.004d5d70
mov dword [esp + 0x58], eax
add esp, 0x18
mov al, byte [esp + 0x13]
cmp al, 0x87
je 0x4d6edc
cmp al, 0x86
jne 0x4d6f04
push dword [esp + 0x20]
lea eax, [esp + 0x64]
mov edx, ebx
push dword [esp + 0x38]
mov ecx, edi
push dword [esp + 0x4c]
push dword [esp + 0x24]
push dword [ebp + 8]
push eax
call fcn.004d5d70
add esp, 0x18
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4d6f1b
add dword [eax], 0xffffffff
jne 0x4d6f1b
mov ecx, dword [eax + 0xc]
mov edx, eax
call fcn.0045fcb0
mov cl, byte [esp + 0x13]
cmp cl, 0x88
je 0x4d70f3
cmp cl, 0x89
je 0x4d70f3
mov edx, dword [esi + 0x74]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x78], edx
jg 0x4d6f5c
push 0
push dword [esp + 0x54]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x20]
call fcn.004845f0
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x4d6f8f
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4], 0xc
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 + 0x74]
mov dword [esp + 0x34], edx
cmp dword [esi + 0x78], edx
jg 0x4d6fba
push 0
push dword [esp + 0x24]
mov edx, 0xe
mov ecx, esi
push dword [esp + 0x30]
call fcn.004845f0
add esp, 0xc
mov dword [esp + 0x34], eax
jmp 0x4d6fed
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d700e
push 0
push dword [esp + 0x18]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.004845f0
add esp, 0xc
jmp 0x4d7041
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
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 [esp + 0x24]
movzx ecx, word [ebx + 2]
mov dword [esp + 0x38], ecx
movsx ecx, cx
movzx eax, word [eax + 2]
movsx edx, ax
cmp word [esp + 0x38], ax
jl 0x4d7088
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x4d706b
movzx eax, word [ebx + 2]
jmp 0x4d70c2
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x4d7079
movzx eax, word [ebx + 2]
inc eax
jmp 0x4d70bf
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [ebx + 2]
jmp 0x4d70bc
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x4d7099
mov eax, dword [esp + 0x24]
movzx eax, word [eax + 2]
jmp 0x4d70c2
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x4d70ab
mov eax, dword [esp + 0x24]
movzx eax, word [eax + 2]
inc eax
jmp 0x4d70bf
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
mov edx, dword [esp + 0x24]
movzx ecx, word [edx + 2]
add ax, cx
movzx eax, ax
mov word [ebx + 2], ax
mov ebx, dword [esi + 0x74]
mov dword [esp + 0x44], ebx
cmp dword [esi + 0x78], ebx
jg 0x4d7129
push 0
push dword [esp + 0x44]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x34]
call fcn.004845f0
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x44], ebx
jmp 0x4d715c
mov edx, dword [esp + 0x20]
mov eax, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], edx
cmp cl, 0x89
jne 0x4d70c6
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x44], eax
movzx ecx, word [ecx + 2]
cmp word [ebx + 2], cx
jle 0x4d711c
mov word [ebx + 2], cx
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], eax
jmp 0x4d71ff
mov edx, dword [esp + 0x2c]
lea eax, [ebx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d717f
push 0
push dword [esp + 0x24]
mov edx, 0xe
mov ecx, esi
push dword [esp + 0x24]
call fcn.004845f0
add esp, 0xc
jmp 0x4d71b2
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d71d0
push 0
push ebx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.004845f0
add esp, 0xc
jmp 0x4d71ff
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esi + 0x74]
mov dword [esp + 0x38], ebx
cmp dword [esi + 0x78], ebx
jg 0x4d722c
push 0
push dword [esp + 0x44]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x34]
call fcn.004845f0
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x38], ebx
jmp 0x4d725f
mov edx, dword [esp + 0x2c]
lea eax, [ebx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d7282
push 0
push dword [esp + 0x18]
mov edx, 0xe
mov ecx, esi
push dword [esp + 0x24]
call fcn.004845f0
add esp, 0xc
jmp 0x4d72b5
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d72d8
mov eax, dword [esp + 0x20]
mov edx, 0xb
push 0
dec eax
mov ecx, esi
push eax
push 0
call fcn.004845f0
add esp, 0xc
jmp 0x4d730c
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
dec edx
mov dword [eax + ecx*4], 0xb
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 al, byte [esp + 0x13]
cmp al, 0x87
jne 0x4d7324
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], ecx
jmp 0x4d7400
cmp al, 0x89
jne 0x4d733d
mov eax, dword [esi + 0x74]
mov dword [esp + 0x2c], ebx
inc ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], eax
jmp 0x4d7453
mov ebx, dword [esi + 0x74]
mov dword [esp + 0x2c], ebx
cmp dword [esi + 0x78], ebx
jg 0x4d7368
push 0
push dword [esp + 0x18]
mov edx, 0xe
mov ecx, esi
push dword [esp + 0x24]
call fcn.004845f0
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x4d739b
mov edx, dword [esp + 0x1c]
lea eax, [ebx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d73be
mov eax, dword [esp + 0x20]
mov edx, 0xb
push 0
dec eax
mov ecx, esi
push eax
push 0
call fcn.004845f0
add esp, 0xc
jmp 0x4d73f2
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
dec edx
mov dword [eax + ecx*4], 0xb
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
cmp byte [esp + 0x13], 0x86
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x14], ecx
jne 0x4d7453
cmp dword [esi + 0x78], ecx
jg 0x4d7420
push 0
push dword [esp + 0x54]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x20]
call fcn.004845f0
add esp, 0xc
jmp 0x4d7453
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
mov ebx, dword [esp + 0x44]
cmp dword [esi + 0x78], ecx
jg 0x4d7477
push 0
push ebx
push dword [esp + 0x30]
mov edx, 0xe
mov ecx, esi
call fcn.004845f0
add esp, 0xc
jmp 0x4d74a6
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d74c9
mov eax, dword [esp + 0x20]
mov edx, 0xb
push 0
dec eax
mov ecx, esi
push eax
push 0
call fcn.004845f0
add esp, 0xc
jmp 0x4d7501
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x74], eax
dec edx
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
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]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4d7513
mov eax, 0x5abde4
jmp 0x4d7528
mov ecx, dword [esp + 0x4c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d754f
mov edx, dword [esp + 0x34]
mov ecx, esi
push 0
push edx
push dword [esp + 0x24]
mov edx, 0xe
call fcn.004845f0
add esp, 0xc
jmp 0x4d7582
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d75a2
push 0
push ebx
push dword [esp + 0x30]
mov edx, 0xe
mov ecx, esi
call fcn.004845f0
add esp, 0xc
jmp 0x4d75d1
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
dec edx
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4d75f0
push edx
mov edx, esi
call fcn.00484e10
add esp, 4
jmp 0x4d75f9
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov edx, dword [esi + 0x74]
cmp dword [esi + 0x78], edx
jg 0x4d761a
push 0
push 0
push 0
mov edx, 0x58
mov ecx, esi
call fcn.004845f0
add esp, 0xc
mov edx, eax
jmp 0x4d764d
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x58
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4d7668
push dword [esp + 0x58]
mov edx, 0xfffffff1
call fcn.00485100
add esp, 4
jmp 0x4d76a3
test edx, edx
jns 0x4d7670
mov edx, dword [esi + 0x74]
dec edx
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4d7694
push 0xfffffffffffffff1
push dword [esp + 0x5c]
mov edx, eax
mov ecx, esi
call fcn.00485350
add esp, 8
jmp 0x4d76a3
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x4d76a3
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf1
mov ebx, dword [esi + 0x74]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x78], ebx
jg 0x4d76d3
push dword [esp + 0x48]
mov ecx, esi
push edx
push eax
mov edx, 0x59
call fcn.004845f0
add esp, 0xc
mov ebx, eax
jmp 0x4d7706
mov edi, dword [esp + 0x4c]
lea eax, [ebx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x59
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4d7722
mov edx, dword [esp + 0x5c]
push edx
mov edx, 0xfffffff7
call fcn.00485100
add esp, 4
jmp 0x4d775a
test ebx, ebx
jns 0x4d772a
mov ebx, dword [esi + 0x74]
dec ebx
mov eax, dword [esi + 0x70]
lea ecx, [ebx + ebx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov edx, dword [esp + 0x5c]
je 0x4d774f
push 0xfffffffffffffff7
push edx
mov edx, eax
mov ecx, esi
call fcn.00485350
add esp, 8
jmp 0x4d775a
test edx, edx
je 0x4d775a
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4d7771
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d7799
mov edx, dword [esp + 0x14]
mov ecx, esi
push edx
mov edx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x40]
push edx
mov edx, 0x10
call fcn.004845f0
add esp, 0xc
jmp 0x4d77cc
mov edx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4d77ea
push edx
mov edx, esi
call fcn.00484e10
add esp, 4
jmp 0x4d77f3
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x3c]
mov edx, dword [esi + 0x34]
test edx, edx
je 0x4d780e
push 1
mov ecx, ebx
call fcn.004cfe10
add esp, 4
mov eax, dword [esp + 0x24]
mov dword [esi + 0x34], eax
mov edx, dword [eax + 0x30]
mov dword [eax + 0x38], esi
test edx, edx
je 0x4d782a
mov ecx, ebx
call fcn.0049da60
mov eax, dword [esp + 0x24]
mov dword [eax + 0x30], 0
mov ecx, dword [edi + 0xdc]
test ecx, ecx
jne 0x4d783f
xor eax, eax
jmp 0x4d7865
mov edx, dword [edi + 8]
test ecx, ecx
jns 0x4d784a
mov ecx, dword [edx + 0x74]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x4d7859
mov eax, 0x5abde4
jmp 0x4d7862
mov eax, dword [edx + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [edi + 0xdc], eax
xor eax, eax
cmp dword [edi + 0x24], eax
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret