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

Disassembly:
sub esp, 0x84
mov ecx, dword [esp + 0x88]
push ebx
push ebp
push esi
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx]
dec eax
mov ebx, dword [ecx + 8]
mov dword [esp + 0x10], eax
dec eax
mov dword [ecx + 0x38], eax
mov eax, dword [esp + 0x98]
push edi
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], 0
mov ebp, dword [eax + 0x30]
mov cl, byte [eax]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x50], ebx
mov esi, dword [ebp]
mov byte [esp + 0x13], cl
mov dword [esp + 0x28], ebp
mov dword [esp + 0x40], esi
cmp cl, 0x87
je 0x4e6f0a
cmp byte [edx + 0x57], 0
mov edi, 1
jne 0x4e6f0a
lea ecx, [esi + esi*4]
shl ecx, 2
mov dword [esp + 0x3c], ecx
nop word [eax + eax]
mov eax, dword [eax + 0x1c]
cmp edi, dword [eax]
jg 0x4e6f0a
xor ecx, ecx
test esi, esi
jle 0x4e6df7
lea edx, [ebp + 0x18]
movzx eax, word [edx]
cmp eax, edi
je 0x4e6df3
inc ecx
add edx, 0x14
cmp ecx, esi
jl 0x4e6de4
mov edx, dword [esp + 0x1c]
cmp ecx, esi
jne 0x4e6e9c
push 0
push 0x35
push edx
call fcn.00503030
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4e6efa
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
or eax, 0xffffffff
mov byte [esi], 0x9b
mov word [esi + 0x22], ax
add esp, 0xc
lea eax, [esi + 0x34]
mov byte [eax], 0
or dword [esi + 4], 0x800
mov dword [esi + 0x18], 1
mov dword [esi + 8], edi
test ebp, ebp
jne 0x4e6e62
mov eax, dword [esp + 0x98]
push esi
push dword [eax]
call fcn.00509af0
mov ebp, eax
add esp, 8
mov dword [esp + 0x28], ebp
jmp 0x4e6e86
mov eax, dword [ebp]
lea edx, [eax + 1]
cmp dword [ebp + 4], edx
jge 0x4e6eaf
mov eax, dword [esp + 0x98]
push esi
push ebp
push dword [eax]
call fcn.00509a30
add esp, 0xc
mov dword [esp + 0x28], eax
mov ebp, eax
mov ecx, dword [esp + 0x9c]
mov dword [ecx + 0x30], ebp
test ebp, ebp
jne 0x4e6edf
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
inc edi
cmp byte [edx + 0x57], 0
jne 0x4e6f0a
mov eax, dword [esp + 0x9c]
jmp 0x4e6dd0
movups xmm0, xmmword [0x6e89cc]
lea eax, [eax + eax*4]
mov dword [ebp], edx
lea ecx, [eax*4]
mov eax, dword [0x6e89dc]
movups xmmword [ecx + ebp + 8], xmm0
mov dword [ecx + ebp + 0x18], eax
mov dword [ecx + ebp + 8], esi
mov ecx, dword [esp + 0x9c]
mov dword [ecx + 0x30], ebp
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
inc esi
mov dword [esp + 0x40], esi
mov word [ecx + ebp + 0x18], di
add ecx, 0x14
mov dword [esp + 0x3c], ecx
jmp 0x4e6e98
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x84
ret
movzx eax, word [edx + 0x134]
lea ecx, [esi*4 + 4]
xor esi, esi
cdq
cmp esi, edx
jb 0x4e6f74
ja 0x4e6f25
cmp ecx, eax
jbe 0x4e6f74
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x130], esi
jne 0x4e6f3c
inc dword [eax + 0x144]
jmp 0x4e7000
cmp byte [eax + 0x57], 0
je 0x4e7000
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x9c]
mov dl, byte [esp + 0x13]
cmp dl, 0x87
jne 0x4e7061
mov dword [esp + 0x30], 0
mov ecx, 1
jmp 0x4e71dc
mov edx, dword [esp + 0x1c]
cmp ecx, 0x80
ja 0x4e6fbc
mov edi, dword [edx + 0x158]
mov dword [esp + 0x34], edi
test edi, edi
je 0x4e6f9e
mov eax, dword [edi]
mov dword [edx + 0x158], eax
inc dword [edx + 0x140]
jmp 0x4e701d
mov edi, dword [edx + 0x154]
mov dword [esp + 0x34], edi
test edi, edi
je 0x4e6fbc
mov eax, dword [edi]
mov dword [edx + 0x154], eax
inc dword [edx + 0x140]
jmp 0x4e701d
mov edi, dword [edx + 0x150]
mov dword [esp + 0x34], edi
test edi, edi
je 0x4e6fda
mov eax, dword [edi]
mov dword [edx + 0x150], eax
inc dword [edx + 0x140]
jmp 0x4e701d
mov edi, dword [edx + 0x14c]
mov dword [esp + 0x34], edi
test edi, edi
je 0x4e6ff8
mov eax, dword [edi]
inc dword [edx + 0x140]
mov dword [edx + 0x14c], eax
jmp 0x4e701d
inc dword [edx + 0x148]
mov eax, edx
push esi
push ecx
push eax
call fcn.004d1f80
mov edi, eax
add esp, 0xc
mov dword [esp + 0x34], edi
mov dword [esp + 0x54], edi
test edi, edi
je 0x4e6f4a
mov esi, dword [esp + 0x40]
mov ecx, 1
mov dword [edi], esi
cmp esi, ecx
jl 0x4e703f
lea edx, [ebp + 0x18]
nop
movzx eax, word [edx]
lea edx, [edx + 0x14]
dec eax
mov dword [edi + ecx*4], eax
inc ecx
cmp ecx, esi
jle 0x4e7030
mov esi, dword [esp + 0x9c]
push 1
push esi
push dword [esp + 0xa0]
call fcn.004e8110
add esp, 0xc
mov dword [esp + 0x3c], eax
jmp 0x4e6f55
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x98]
mov edi, dword [eax]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x54], edi
lea edx, [eax + 1]
inc eax
add eax, edi
mov dword [esp + 0x30], edx
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4e709b
push 0
push edx
push 0
push 0x47
push ebx
call fcn.004dd7e0
add esp, 0x14
jmp 0x4e70ce
mov ebp, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x47
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
lea eax, [edi + 5]
lea eax, [eax + eax*4]
push 0
push eax
push dword [esp + 0x24]
call fcn.00503030
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x4e7133
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 0x18]
lea eax, [eax + edi*4]
mov dword [ecx + 0x10], eax
movzx eax, di
mov word [ecx + 6], ax
inc eax
mov word [ecx + 8], ax
mov al, byte [edx + 0x54]
mov byte [ecx + 4], al
lea eax, [edi*4 + 1]
add eax, edi
mov dword [ecx + 0xc], edx
push eax
lea eax, [ecx + 0x18]
mov dword [ecx], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x24]
add esp, 0xc
jmp 0x4e714b
push dword [esp + 0x1c]
call fcn.00516600
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x4e71ce
xor esi, esi
test edi, edi
jle 0x4e71c7
mov ebx, dword [esp + 0x54]
xor edi, edi
mov ebp, dword [esp + 0x9c]
add eax, 0x14
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x4e7183
push esi
push eax
push dword [esp + 0xa0]
call fcn.004e6d00
add esp, 0xc
test eax, eax
jne 0x4e719f
jmp 0x4e7185
xor eax, eax
mov ecx, dword [ebp + 0x1c]
cmp esi, dword [ecx]
jge 0x4e719f
push dword [edi + ecx + 8]
push dword [esp + 0x9c]
call fcn.00508540
add esp, 8
mov ecx, dword [esp + 0x2c]
add edi, 0x14
mov dword [ecx], eax
add ecx, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, ebx
jl 0x4e7165
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x9c]
mov dl, byte [esp + 0x13]
mov ecx, 1
cmp dl, 0x86
jne 0x4e721e
mov eax, dword [esp + 0x1c]
test dword [eax + 0x50], 0x200000
jne 0x4e721e
cmp dword [esi + 0x34], 0
mov eax, esi
je 0x4e721e
cmp byte [eax], dl
jne 0x4e71ff
mov eax, dword [eax + 0x34]
inc ecx
cmp dword [eax + 0x34], 0
jne 0x4e71f1
cmp ecx, 3
jle 0x4e721e
lea eax, [ecx - 3]
mov edx, esi
shr eax, 1
inc eax
nop dword [eax]
mov edx, dword [edx + 0x34]
sub eax, 1
jne 0x4e7210
mov dword [esp + 0x54], edx
jmp 0x4e7224
mov edx, esi
mov dword [esp + 0x54], esi
mov esi, dword [edx + 0x34]
mov edi, dword [esp + 0x98]
push 0
mov dword [edx + 0x34], 0
mov dword [esi + 0x38], 0
push ebp
push dword [edi]
mov dword [esp + 0x34], esi
call fcn.00509dd0
mov ebp, dword [esp + 0xa8]
push str.ORDER
mov dword [esi + 0x30], eax
push dword [ebp + 0x30]
push ebp
push edi
call fcn.005201f0
push str.ORDER
push dword [esi + 0x30]
push esi
push edi
call fcn.005201f0
push dword [esp + 0x40]
push ebp
push edi
call fcn.004cfaa0
add esp, 0x38
cmp dword [ebp + 8], 0
je 0x4e734f
cmp byte [esp + 0x13], 0x87
jne 0x4e734f
mov esi, dword [edi + 0x2c]
mov eax, dword [esp + 0x98]
inc esi
lea edi, [esi + 1]
mov dword [eax + 0x2c], edi
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x2c], edi
test edx, edx
je 0x4e72b4
inc edx
jmp 0x4e72b7
mov edx, dword [ebp + 8]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4e72d0
push 0
push esi
push edx
push 0x50
push ebx
call fcn.004dd7e0
add esp, 0x14
jmp 0x4e72fb
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x50
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
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4e731b
push 0
push edi
push esi
push 0x50
push ebx
call fcn.004dd7e0
mov edi, dword [esp + 0xac]
add esp, 0x14
jmp 0x4e7359
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x98]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4e7359
mov dword [esp + 0x2c], 0
xor esi, esi
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x4e736d
push eax
push dword [esp + 0x20]
call fcn.00508c00
add esp, 8
mov dword [ebp + 0x3c], 0
mov eax, dword [edi + 0x2c]
mov byte [esp + 0x78], 0xd
mov dword [esp + 0x80], 0
mov dword [esp + 0x8c], 0
lea ecx, [eax + 1]
mov dword [esp + 0x84], 0
lea edx, [eax + 2]
mov dword [esp + 0x20], ecx
add eax, 3
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], eax
inc eax
mov dword [esp + 0x44], eax
mov dword [edi + 0x2c], eax
movzx eax, byte [ebp]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x88], 0
mov byte [esp + 0x5c], 0xd
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
sub eax, 0x87
je 0x4e741c
sub eax, 1
je 0x4e7415
sub eax, 1
je 0x4e740e
mov eax, str.UNION
jmp 0x4e7421
mov eax, str.INTERSECT
jmp 0x4e7421
mov eax, str.EXCEPT
jmp 0x4e7421
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
push edi
call fcn.00534ed0
mov edi, dword [ebx + 0x6c]
add esp, 0x10
lea edx, [edi + 1]
cmp dword [ebx + 0x70], edi
jg 0x4e7453
push edx
push 0
push dword [esp + 0x28]
push 0xb
push ebx
call fcn.004dd7e0
add esp, 0x14
mov edi, eax
jmp 0x4e7486
mov eax, dword [ebx + 0x68]
lea ecx, [edi + edi*4]
mov ebp, dword [esp + 0x20]
mov dword [ebx + 0x6c], edx
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x9c]
mov dword [eax + ecx*4], 0xb
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 + 0x28]
push str.LEFT
push 1
mov dword [eax + 8], esi
mov esi, dword [esp + 0xa0]
push esi
call fcn.00534ed0
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x38]
push esi
call fcn.005218a0
mov ecx, dword [ebx + 0x6c]
add esp, 0x18
cmp dword [ebx + 0x70], ecx
jg 0x4e74d3
push 0
push 0
push dword [esp + 0x28]
push 0x44
push ebx
call fcn.004dd7e0
add esp, 0x14
jmp 0x4e7506
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
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 [ebx + 0xc]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x1c], 0
mov eax, dword [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4e7529
mov eax, 0x7937a8
jmp 0x4e7532
mov eax, dword [ebx + 0x68]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov esi, dword [esp + 0x38]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x4c], eax
lea edx, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x4e755d
push edx
push 0
push esi
push 0xb
push ebx
call fcn.004dd7e0
add esp, 0x14
mov dword [esp + 0x4c], eax
jmp 0x4e7585
lea ecx, [eax + eax*4]
mov dword [ebx + 0x6c], edx
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x2c]
push str.RIGHT
push 1
push dword [esp + 0xa0]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], 0
call fcn.00534ed0
lea eax, [esp + 0x68]
push eax
push ebp
push dword [esp + 0xac]
call fcn.005218a0
mov dword [ebp + 8], edi
add esp, 0x18
mov edi, dword [esp + 0x38]
mov dword [ebp + 0xc], esi
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4e75e5
push 0
push 0
push edi
push 0x44
push ebx
call fcn.004dd7e0
add esp, 0x14
jmp 0x4e7614
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x44
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
push dword [esp + 0x1c]
mov esi, dword [esp + 0xa8]
push dword [esp + 0x38]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
push dword [esp + 0x30]
push esi
mov dword [eax + 0x1c], 0
lea eax, [esp + 0x8c]
push eax
push ebp
push dword [esp + 0xb4]
call fcn.004db8f0
mov dword [esp + 0x4c], eax
add esp, 0x20
mov al, byte [esp + 0x13]
cmp al, 0x87
je 0x4e7665
cmp al, 0x86
jne 0x4e768f
push dword [esp + 0x14]
lea eax, [esp + 0x60]
push dword [esp + 0x1c]
push dword [esp + 0x38]
push dword [esp + 0x50]
push esi
push eax
push ebp
push dword [esp + 0xb4]
call fcn.004db8f0
add esp, 0x20
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4e76a8
add dword [eax], 0xffffffff
jne 0x4e76a8
push eax
push dword [eax + 0xc]
call fcn.00503150
add esp, 8
mov al, byte [esp + 0x13]
cmp al, 0x88
je 0x4e783a
cmp al, 0x89
je 0x4e783a
mov esi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], esi
jg 0x4e76dd
push 0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push 0xa
push ebx
call fcn.004dd7e0
add esp, 0x14
mov esi, eax
jmp 0x4e7710
mov edx, dword [esp + 0x44]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x30], edx
cmp dword [ebx + 0x70], edx
jg 0x4e7734
push 0
push dword [esp + 0x18]
push edi
push 0xc
push ebx
call fcn.004dd7e0
add esp, 0x14
mov dword [esp + 0x30], eax
jmp 0x4e7763
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4e777d
push 0
push esi
push 0
push 9
push ebx
call fcn.004dd7e0
add esp, 0x14
jmp 0x4e77ac
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x28]
movzx ebp, word [ebp + 2]
movsx ecx, bp
movzx edi, word [eax + 2]
movsx edx, di
cmp bp, di
jl 0x4e77e8
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x4e77ce
mov eax, ebp
jmp 0x4e780e
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x4e77da
lea eax, [ebp + 1]
jmp 0x4e780b
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, bp
jmp 0x4e780b
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x4e77f3
mov eax, edi
jmp 0x4e780e
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x4e77ff
lea eax, [edi + 1]
jmp 0x4e780b
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, di
movzx eax, ax
mov ecx, dword [esp + 0x9c]
mov word [ecx + 2], ax
mov edi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edi
jg 0x4e7865
push 0
push dword [esp + 0x30]
push dword [esp + 0x2c]
push 0xa
push ebx
call fcn.004dd7e0
add esp, 0x14
mov edi, eax
jmp 0x4e7898
mov ecx, dword [esp + 0x14]
mov esi, ecx
mov dword [esp + 0x30], ecx
cmp al, 0x89
jne 0x4e7819
mov eax, dword [esp + 0x28]
mov edi, esi
movzx eax, word [eax + 2]
cmp word [ebp + 2], ax
jle 0x4e785c
mov word [ebp + 2], ax
mov dword [esp + 0x30], ecx
jmp 0x4e7933
mov edx, dword [esp + 0x24]
lea eax, [edi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4e78b7
push 0
push dword [esp + 0x18]
push dword [esp + 0x28]
push 0xc
push ebx
call fcn.004dd7e0
add esp, 0x14
jmp 0x4e78ea
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
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 [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4e7904
push 0
push edi
push 0
push 9
push ebx
call fcn.004dd7e0
add esp, 0x14
jmp 0x4e7933
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebp, dword [ebx + 0x6c]
mov dword [esp + 0x18], ebp
cmp dword [ebx + 0x70], ebp
jg 0x4e795c
push 0
push dword [esp + 0x30]
push dword [esp + 0x2c]
push 0xa
push ebx
call fcn.004dd7e0
mov ebp, eax
add esp, 0x14
mov dword [esp + 0x18], ebp
jmp 0x4e7995
mov edx, dword [esp + 0x24]
lea eax, [ebp + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ebp*4]
mov eax, dword [ebx + 0x68]
add ecx, ebp
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4e79b1
push 0
push esi
push dword [esp + 0x28]
push 0xc
push ebx
call fcn.004dd7e0
add esp, 0x14
jmp 0x4e79e0
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xc
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
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4e79ff
mov eax, dword [esp + 0x14]
push 0
dec eax
push eax
push 0
push 9
push ebx
call fcn.004dd7e0
add esp, 0x14
jmp 0x4e7a37
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov ebp, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
mov dword [ebx + 0x6c], eax
dec edx
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 9
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 0x4e7a4b
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x24], ecx
jmp 0x4e7b13
cmp al, 0x89
jne 0x4e7a5f
mov eax, dword [ebx + 0x6c]
inc dword [esp + 0x18]
mov dword [esp + 0x24], eax
jmp 0x4e7b62
mov ebp, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ebp
jg 0x4e7a7d
push 0
push esi
push dword [esp + 0x28]
push 0xc
push ebx
call fcn.004dd7e0
add esp, 0x14
mov ebp, eax
jmp 0x4e7ab2
mov edx, dword [esp + 0x20]
lea eax, [ebp + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ebp*4]
mov eax, dword [ebx + 0x68]
add ecx, ebp
mov dword [eax + ecx*4], 0xc
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
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4e7ad1
mov eax, dword [esp + 0x14]
push 0
dec eax
push eax
push 0
push 9
push ebx
call fcn.004dd7e0
add esp, 0x14
jmp 0x4e7b05
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
dec edx
mov dword [eax + ecx*4], 9
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 [ebx + 0x6c]
mov dword [esp + 0x24], ecx
jne 0x4e7b62
cmp dword [ebx + 0x70], ecx
jg 0x4e7b2f
push 0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push 0xa
push ebx
call fcn.004dd7e0
add esp, 0x14
jmp 0x4e7b62
mov edx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
mov esi, dword [esp + 0x38]
cmp dword [ebx + 0x70], ecx
jg 0x4e7b7f
push 0
push edi
push esi
push 0xc
push ebx
call fcn.004dd7e0
add esp, 0x14
jmp 0x4e7baa
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4e7bc9
mov eax, dword [esp + 0x14]
push 0
dec eax
push eax
push 0
push 9
push ebx
call fcn.004dd7e0
add esp, 0x14
jmp 0x4e7c01
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x38]
lea ecx, [ecx + ecx*4]
mov dword [ebx + 0x6c], eax
dec edx
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 9
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 [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4e7c13
mov eax, 0x7937a8
jmp 0x4e7c20
mov eax, dword [esp + 0x4c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4e7c43
mov edx, dword [esp + 0x30]
push 0
push edx
push dword [esp + 0x28]
push 0xc
push ebx
call fcn.004dd7e0
add esp, 0x14
jmp 0x4e7c76
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
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 [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4e7c8f
push 0
push edi
push esi
push 0xc
push ebx
call fcn.004dd7e0
add esp, 0x14
jmp 0x4e7cba
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x14]
dec edx
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4e7cd9
push edx
push ebx
push ecx
call fcn.004f1810
add esp, 0xc
jmp 0x4e7ce2
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edx
jg 0x4e7cff
push 0
push 0
push 0
push 0x59
push ebx
call fcn.004dd7e0
add esp, 0x14
mov edx, eax
jmp 0x4e7d32
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x59
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 eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x4e7d4e
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4e7d84
push ecx
push eax
call fcn.00503150
add esp, 8
jmp 0x4e7d84
test edx, edx
jns 0x4e7d56
mov edx, dword [ebx + 0x6c]
dec edx
mov eax, dword [ebx + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x34]
je 0x4e7d79
push 0xfffffffffffffff2
push ecx
push eax
push ebx
call fcn.00546490
add esp, 0x10
jmp 0x4e7d84
test ecx, ecx
je 0x4e7d84
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf2
mov edx, dword [ebx + 0x6c]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x84]
cmp dword [ebx + 0x70], edx
jg 0x4e7dac
push dword [esp + 0x40]
push esi
push edi
push 0x5a
push ebx
call fcn.004dd7e0
add esp, 0x14
mov edx, eax
jmp 0x4e7ddb
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x50]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x4e7e07
cmp dword [eax + 0x210], 0
jne 0x4e7e3d
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4e7e3d
add dword [eax], 0xffffffff
jne 0x4e7e3d
push eax
push dword [eax + 0xc]
call fcn.00503150
add esp, 8
jmp 0x4e7e3d
test edx, edx
jns 0x4e7e0f
mov edx, dword [ebx + 0x6c]
dec edx
mov eax, dword [ebx + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x3c]
je 0x4e7e32
push 0xfffffffffffffff8
push ecx
push eax
push ebx
call fcn.00546490
add esp, 0x10
jmp 0x4e7e3d
test ecx, ecx
je 0x4e7e3d
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf8
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x4e7e54
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4e7e74
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x1c]
push ebp
push edx
push 0xe
push ebx
call fcn.004dd7e0
add esp, 0x14
jmp 0x4e7ea3
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x14]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4e7ec1
push edx
push ebx
push ecx
call fcn.004f1810
add esp, 0xc
jmp 0x4e7eca
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov ebp, dword [esp + 0x54]
mov ebx, dword [esp + 0x98]
mov esi, dword [ebp + 0x34]
test esi, esi
je 0x4e809d
mov eax, dword [ebx]
push 0
push 0xc
test eax, eax
je 0x4e7ef5
push eax
call fcn.00503030
add esp, 0xc
jmp 0x4e7efd
call fcn.00515c10
add esp, 8
mov ecx, eax
test ecx, ecx
je 0x4e7f20
mov eax, dword [ebx + 0x88]
mov dword [ecx], eax
mov dword [ebx + 0x88], ecx
mov dword [ecx + 4], esi
mov dword [ecx + 8], fcn.00524950
jmp 0x4e809d
mov edi, dword [ebx]
mov eax, dword [esi + 0x1c]
mov ebx, dword [esi + 0x34]
test eax, eax
je 0x4e7f36
push eax
push edi
call fcn.004d6580
add esp, 8
push dword [esi + 0x20]
push edi
call fcn.00525490
mov eax, dword [esi + 0x24]
add esp, 8
test eax, eax
je 0x4e7f53
push eax
push edi
call fcn.00508c00
add esp, 8
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4e7f64
push eax
push edi
call fcn.004d6580
add esp, 8
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4e7f75
push eax
push edi
call fcn.00508c00
add esp, 8
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4e7f86
push eax
push edi
call fcn.004d6580
add esp, 8
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4e7f97
push eax
push edi
call fcn.00508c00
add esp, 8
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4e7fa8
push eax
push edi
call fcn.00542440
add esp, 8
mov eax, dword [esi + 0x48]
test eax, eax
je 0x4e7fb9
push eax
push edi
call fcn.005415c0
add esp, 8
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x4e7fe7
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x4e7fe0
mov eax, dword [ecx + 0x24]
mov dword [edx], eax
mov edx, dword [ecx + 0x24]
test edx, edx
je 0x4e7fd9
mov eax, dword [ecx + 0x20]
mov dword [edx + 0x20], eax
mov dword [ecx + 0x20], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
jne 0x4e7fc0
cmp esi, dword [edi + 0x164]
jae 0x4e8022
cmp esi, dword [edi + 0x15c]
jb 0x4e800a
mov eax, dword [edi + 0x158]
mov dword [esi], eax
mov dword [edi + 0x158], esi
jmp 0x4e808c
cmp esi, dword [edi + 0x160]
jb 0x4e8022
mov eax, dword [edi + 0x150]
mov dword [esi], eax
mov dword [edi + 0x150], esi
jmp 0x4e808c
cmp dword [edi + 0x210], 0
je 0x4e8037
push esi
push edi
call fcn.004e5ae0
add esp, 8
jmp 0x4e808c
cmp dword [0x78d018], 0
je 0x4e8082
mov eax, dword [0x7935d8]
test eax, eax
je 0x4e8053
push eax
call dword [0x78d068]
add esp, 4
push esi
call dword [0x78d044]
sub dword [0x793570], eax
dec dword [0x793594]
push esi
call dword [0x78d03c]
mov eax, dword [0x7935d8]
add esp, 8
test eax, eax
je 0x4e808c
push eax
call dword [0x78d070]
jmp 0x4e8089
push esi
call dword [0x78d03c]
add esp, 4
mov esi, ebx
test ebx, ebx
jne 0x4e7f22
mov ebx, dword [esp + 0x98]
mov esi, dword [esp + 0x28]
mov dword [ebp + 0x34], esi
mov eax, dword [esi + 0x30]
mov dword [esi + 0x38], ebp
test eax, eax
je 0x4e80bb
push eax
push dword [esp + 0x20]
call fcn.004d6580
add esp, 8
mov dword [esi + 0x30], 0
mov ecx, dword [ebx + 0xe4]
test ecx, ecx
jne 0x4e80d0
xor eax, eax
jmp 0x4e80ee
mov edx, dword [ebx + 8]
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x4e80e2
mov eax, 0x7937a8
jmp 0x4e80eb
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [ebx + 0xe4], eax
xor eax, eax
cmp dword [ebx + 0x24], eax
pop edi
pop esi
pop ebp
setne al
pop ebx
add esp, 0x84
ret