Function at 0x4ea130
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 0x4ea2a7
mov eax, dword [esp + 0x3c]
mov edi, 1
mov dword [esp + 0x18], edi
cmp byte [eax + 0x57], 0
jne 0x4ea2a3
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 0x4ea2a3
xor ecx, ecx
test edx, edx
jle 0x4ea1e7
mov esi, dword [esp + 0x48]
lea edx, [ebx + 0x18]
nop dword [eax]
movzx eax, word [edx]
cmp eax, edi
je 0x4ea1df
inc ecx
add edx, 0x14
cmp ecx, esi
jl 0x4ea1d0
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
cmp ecx, edx
jne 0x4ea290
mov ecx, dword [esp + 0x3c]
push 0
push 0x35
call fcn.004737f0
mov edi, eax
add esp, 8
test edi, edi
je 0x4ea358
push 0x34
push 0
push edi
call fcn.005515a0
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 0x4ea254
mov eax, dword [esp + 0x30]
mov edx, edi
mov ecx, dword [eax]
call fcn.004b0f30
mov ebx, eax
mov dword [esp + 0x28], ebx
jmp 0x4ea279
mov eax, dword [ebx]
lea edx, [eax + 1]
cmp dword [ebx + 4], edx
jge 0x4ea311
mov eax, dword [esp + 0x30]
mov edx, ebx
push edi
mov ecx, dword [eax]
call fcn.004b0fa0
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 0x4ea336
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 0x4ea1b0
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
lea eax, [edx*4 + 4]
push 0
push eax
call fcn.004737f0
add esp, 8
mov dword [esp + 0x58], eax
test eax, eax
je 0x4ea364
mov ecx, dword [esp + 0x48]
mov edx, 1
mov dword [eax], ecx
cmp ecx, edx
jl 0x4ea2fc
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 0x4ea2e5
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x34]
mov edx, edi
call fcn.004e7d50
add esp, 4
mov dword [esp + 0x5c], eax
jmp 0x4ea36c
movups xmm0, xmmword [0x59897c]
lea eax, [eax + eax*4]
mov dword [ebx], edx
lea ecx, [ebx + eax*4]
mov eax, dword [0x59898c]
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 0x4ea290
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 0x4ea387
mov dword [esp + 0x44], 0
mov ecx, 1
jmp 0x4ea51d
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 0x4ea3c6
push 0
push ebx
push 0
mov edx, 0x47
mov ecx, esi
call fcn.00497c60
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x4ea3f9
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.004737f0
mov ebx, dword [esp + 0x30]
mov ecx, eax
add esp, 8
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x4ea46a
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.005515a0
mov eax, dword [esp + 0x40]
add esp, 0xc
jmp 0x4ea482
push dword [esp + 0x3c]
call fcn.00473ac0
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
je 0x4ea50f
cmp dword [esp + 0x24], 0
jle 0x4ea50f
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 0x4ea4c2
push esi
mov edx, eax
mov ecx, ebx
call fcn.004e7d00
mov ecx, dword [esp + 0x30]
add esp, 4
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x4ea4e5
jmp 0x4ea4c4
xor eax, eax
mov ebx, dword [edi + 0x1c]
cmp esi, dword [ebx]
mov ebx, dword [esp + 0x30]
jge 0x4ea4e5
mov eax, dword [edi + 0x1c]
mov edx, dword [eax + ecx + 8]
mov ecx, ebx
call fcn.004ae8a0
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 0x4ea4a0
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
mov dl, byte [esp + 0x13]
mov ecx, 1
cmp dl, 0x86
jne 0x4ea55e
mov eax, dword [esp + 0x3c]
test dword [eax + 0x50], 0x200000
jne 0x4ea55e
cmp dword [edi + 0x34], 0
mov eax, edi
je 0x4ea55e
cmp byte [eax], dl
jne 0x4ea540
mov eax, dword [eax + 0x34]
inc ecx
cmp dword [eax + 0x34], 0
jne 0x4ea532
cmp ecx, 3
jle 0x4ea55e
lea eax, [ecx - 3]
mov edx, edi
shr eax, 1
inc eax
nop dword [eax]
mov edx, dword [edx + 0x34]
sub eax, 1
jne 0x4ea550
mov dword [esp + 0x54], edx
jmp 0x4ea564
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.004b07c0
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.004ad9f0
mov eax, dword [esp + 0x2c]
mov ecx, ebx
push str.ORDER
mov edx, eax
push dword [eax + 0x30]
call fcn.004ad9f0
push dword [esp + 0x30]
mov edx, edi
mov ecx, ebx
call fcn.004e7960
add esp, 0x14
cmp dword [edi + 8], 0
je 0x4ea6a9
cmp byte [esp + 0x13], 0x87
jne 0x4ea6a9
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 0x4ea5f9
inc eax
jmp 0x4ea5fc
mov eax, dword [edi + 8]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x78], ecx
jg 0x4ea621
push 0
push edx
push eax
mov edx, 0x4f
mov ecx, esi
call fcn.00497c60
mov edx, dword [esp + 0x44]
add esp, 0xc
jmp 0x4ea654
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 0x4ea674
push 0
push dword [esp + 0x44]
mov ecx, esi
push edx
mov edx, 0x4f
call fcn.00497c60
add esp, 0xc
jmp 0x4ea6b9
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 0x4ea6b9
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 0
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x4ea6c9
mov ecx, dword [esp + 0x3c]
call fcn.004b0060
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 0x4ea778
sub eax, 1
je 0x4ea771
sub eax, 1
je 0x4ea76a
mov eax, str.UNION
jmp 0x4ea77d
mov eax, str.INTERSECT
jmp 0x4ea77d
mov eax, str.EXCEPT
jmp 0x4ea77d
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
push ebx
call fcn.00498260
mov eax, dword [esi + 0x74]
add esp, 0x10
mov dword [esp + 0x4c], eax
lea edx, [eax + 1]
cmp dword [esi + 0x78], eax
jg 0x4ea7b9
push edx
push 0
push dword [esp + 0x24]
mov edx, 0xd
mov ecx, esi
call fcn.00497c60
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x4ea7e9
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.00498260
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x88]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.004ee830
mov ecx, dword [esi + 0x74]
add esp, 4
cmp dword [esi + 0x78], ecx
jg 0x4ea83b
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x44
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4ea86e
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 0x4ea891
mov eax, 0x5d4b70
jmp 0x4ea8a6
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 0x4ea8d4
push edx
push 0
push dword [esp + 0x30]
mov edx, 0xd
mov ecx, esi
call fcn.00497c60
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x4ea900
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.00498260
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x6c]
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push eax
call fcn.004ee830
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 0x4ea96d
push 0
push 0
push dword [esp + 0x30]
mov edx, 0x44
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4ea9a0
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.004e9880
mov dword [esp + 0x58], eax
add esp, 0x18
mov al, byte [esp + 0x13]
cmp al, 0x87
je 0x4ea9ec
cmp al, 0x86
jne 0x4eaa14
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.004e9880
add esp, 0x18
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4eaa2b
add dword [eax], 0xffffffff
jne 0x4eaa2b
mov ecx, dword [eax + 0xc]
mov edx, eax
call fcn.00473400
mov cl, byte [esp + 0x13]
cmp cl, 0x88
je 0x4eac03
cmp cl, 0x89
je 0x4eac03
mov edx, dword [esi + 0x74]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x78], edx
jg 0x4eaa6c
push 0
push dword [esp + 0x54]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x20]
call fcn.00497c60
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x4eaa9f
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 0x4eaaca
push 0
push dword [esp + 0x24]
mov edx, 0xe
mov ecx, esi
push dword [esp + 0x30]
call fcn.00497c60
add esp, 0xc
mov dword [esp + 0x34], eax
jmp 0x4eaafd
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 0x4eab1e
push 0
push dword [esp + 0x18]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.00497c60
add esp, 0xc
jmp 0x4eab51
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 0x4eab98
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x4eab7b
movzx eax, word [ebx + 2]
jmp 0x4eabd2
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x4eab89
movzx eax, word [ebx + 2]
inc eax
jmp 0x4eabcf
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [ebx + 2]
jmp 0x4eabcc
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x4eaba9
mov eax, dword [esp + 0x24]
movzx eax, word [eax + 2]
jmp 0x4eabd2
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x4eabbb
mov eax, dword [esp + 0x24]
movzx eax, word [eax + 2]
inc eax
jmp 0x4eabcf
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 0x4eac39
push 0
push dword [esp + 0x44]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x34]
call fcn.00497c60
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x44], ebx
jmp 0x4eac6c
mov edx, dword [esp + 0x20]
mov eax, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], edx
cmp cl, 0x89
jne 0x4eabd6
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x44], eax
movzx ecx, word [ecx + 2]
cmp word [ebx + 2], cx
jle 0x4eac2c
mov word [ebx + 2], cx
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], eax
jmp 0x4ead0f
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 0x4eac8f
push 0
push dword [esp + 0x24]
mov edx, 0xe
mov ecx, esi
push dword [esp + 0x24]
call fcn.00497c60
add esp, 0xc
jmp 0x4eacc2
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 0x4eace0
push 0
push ebx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4ead0f
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 0x4ead3c
push 0
push dword [esp + 0x44]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x34]
call fcn.00497c60
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x38], ebx
jmp 0x4ead6f
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 0x4ead92
push 0
push dword [esp + 0x18]
mov edx, 0xe
mov ecx, esi
push dword [esp + 0x24]
call fcn.00497c60
add esp, 0xc
jmp 0x4eadc5
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 0x4eade8
mov eax, dword [esp + 0x20]
mov edx, 0xb
push 0
dec eax
mov ecx, esi
push eax
push 0
call fcn.00497c60
add esp, 0xc
jmp 0x4eae1c
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 0x4eae34
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], ecx
jmp 0x4eaf10
cmp al, 0x89
jne 0x4eae4d
mov eax, dword [esi + 0x74]
mov dword [esp + 0x2c], ebx
inc ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], eax
jmp 0x4eaf63
mov ebx, dword [esi + 0x74]
mov dword [esp + 0x2c], ebx
cmp dword [esi + 0x78], ebx
jg 0x4eae78
push 0
push dword [esp + 0x18]
mov edx, 0xe
mov ecx, esi
push dword [esp + 0x24]
call fcn.00497c60
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x4eaeab
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 0x4eaece
mov eax, dword [esp + 0x20]
mov edx, 0xb
push 0
dec eax
mov ecx, esi
push eax
push 0
call fcn.00497c60
add esp, 0xc
jmp 0x4eaf02
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 0x4eaf63
cmp dword [esi + 0x78], ecx
jg 0x4eaf30
push 0
push dword [esp + 0x54]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x20]
call fcn.00497c60
add esp, 0xc
jmp 0x4eaf63
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 0x4eaf87
push 0
push ebx
push dword [esp + 0x30]
mov edx, 0xe
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4eafb6
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 0x4eafd9
mov eax, dword [esp + 0x20]
mov edx, 0xb
push 0
dec eax
mov ecx, esi
push eax
push 0
call fcn.00497c60
add esp, 0xc
jmp 0x4eb011
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 0x4eb023
mov eax, 0x5d4b70
jmp 0x4eb038
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 0x4eb05f
mov edx, dword [esp + 0x34]
mov ecx, esi
push 0
push edx
push dword [esp + 0x24]
mov edx, 0xe
call fcn.00497c60
add esp, 0xc
jmp 0x4eb092
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 0x4eb0b2
push 0
push ebx
push dword [esp + 0x30]
mov edx, 0xe
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4eb0e1
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 0x4eb100
push edx
mov edx, esi
call fcn.00498480
add esp, 4
jmp 0x4eb109
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 0x4eb12a
push 0
push 0
push 0
mov edx, 0x58
mov ecx, esi
call fcn.00497c60
add esp, 0xc
mov edx, eax
jmp 0x4eb15d
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 0x4eb178
push dword [esp + 0x58]
mov edx, 0xfffffff1
call fcn.00498770
add esp, 4
jmp 0x4eb1b3
test edx, edx
jns 0x4eb180
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 0x4eb1a4
push 0xfffffffffffffff1
push dword [esp + 0x5c]
mov edx, eax
mov ecx, esi
call fcn.004989c0
add esp, 8
jmp 0x4eb1b3
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x4eb1b3
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 0x4eb1e3
push dword [esp + 0x48]
mov ecx, esi
push edx
push eax
mov edx, 0x59
call fcn.00497c60
add esp, 0xc
mov ebx, eax
jmp 0x4eb216
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 0x4eb232
mov edx, dword [esp + 0x5c]
push edx
mov edx, 0xfffffff7
call fcn.00498770
add esp, 4
jmp 0x4eb26a
test ebx, ebx
jns 0x4eb23a
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 0x4eb25f
push 0xfffffffffffffff7
push edx
mov edx, eax
mov ecx, esi
call fcn.004989c0
add esp, 8
jmp 0x4eb26a
test edx, edx
je 0x4eb26a
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4eb281
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 0x4eb2a9
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.00497c60
add esp, 0xc
jmp 0x4eb2dc
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 0x4eb2fa
push edx
mov edx, esi
call fcn.00498480
add esp, 4
jmp 0x4eb303
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 0x4eb31e
push 1
mov ecx, ebx
call fcn.004e37a0
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 0x4eb33a
mov ecx, ebx
call fcn.004b1380
mov eax, dword [esp + 0x24]
mov dword [eax + 0x30], 0
mov ecx, dword [edi + 0xdc]
test ecx, ecx
jne 0x4eb34f
xor eax, eax
jmp 0x4eb375
mov edx, dword [edi + 8]
test ecx, ecx
jns 0x4eb35a
mov ecx, dword [edx + 0x74]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x4eb369
mov eax, 0x5d4b70
jmp 0x4eb372
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