Function at 0x4eb500
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 0x4eb677
mov eax, dword [esp + 0x3c]
mov edi, 1
mov dword [esp + 0x18], edi
cmp byte [eax + 0x57], 0
jne 0x4eb673
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 0x4eb673
xor ecx, ecx
test edx, edx
jle 0x4eb5b7
mov esi, dword [esp + 0x48]
lea edx, [ebx + 0x18]
nop dword [eax]
movzx eax, word [edx]
cmp eax, edi
je 0x4eb5af
inc ecx
add edx, 0x14
cmp ecx, esi
jl 0x4eb5a0
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
cmp ecx, edx
jne 0x4eb660
mov ecx, dword [esp + 0x3c]
push 0
push 0x35
call fcn.00474ba0
mov edi, eax
add esp, 8
test edi, edi
je 0x4eb728
push 0x34
push 0
push edi
call fcn.00552ad0
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 0x4eb624
mov eax, dword [esp + 0x30]
mov edx, edi
mov ecx, dword [eax]
call fcn.004b2320
mov ebx, eax
mov dword [esp + 0x28], ebx
jmp 0x4eb649
mov eax, dword [ebx]
lea edx, [eax + 1]
cmp dword [ebx + 4], edx
jge 0x4eb6e1
mov eax, dword [esp + 0x30]
mov edx, ebx
push edi
mov ecx, dword [eax]
call fcn.004b2390
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 0x4eb706
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 0x4eb580
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
lea eax, [edx*4 + 4]
push 0
push eax
call fcn.00474ba0
add esp, 8
mov dword [esp + 0x58], eax
test eax, eax
je 0x4eb734
mov ecx, dword [esp + 0x48]
mov edx, 1
mov dword [eax], ecx
cmp ecx, edx
jl 0x4eb6cc
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 0x4eb6b5
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x34]
mov edx, edi
call fcn.004e9120
add esp, 4
mov dword [esp + 0x5c], eax
jmp 0x4eb73c
movups xmm0, xmmword [0x599d2c]
lea eax, [eax + eax*4]
mov dword [ebx], edx
lea ecx, [ebx + eax*4]
mov eax, dword [0x599d3c]
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 0x4eb660
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 0x4eb757
mov dword [esp + 0x44], 0
mov ecx, 1
jmp 0x4eb8ed
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 0x4eb796
push 0
push ebx
push 0
mov edx, 0x47
mov ecx, esi
call fcn.00499040
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x4eb7c9
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.00474ba0
mov ebx, dword [esp + 0x30]
mov ecx, eax
add esp, 8
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x4eb83a
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.00552ad0
mov eax, dword [esp + 0x40]
add esp, 0xc
jmp 0x4eb852
push dword [esp + 0x3c]
call fcn.00474e70
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
je 0x4eb8df
cmp dword [esp + 0x24], 0
jle 0x4eb8df
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 0x4eb892
push esi
mov edx, eax
mov ecx, ebx
call fcn.004e90d0
mov ecx, dword [esp + 0x30]
add esp, 4
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x4eb8b5
jmp 0x4eb894
xor eax, eax
mov ebx, dword [edi + 0x1c]
cmp esi, dword [ebx]
mov ebx, dword [esp + 0x30]
jge 0x4eb8b5
mov eax, dword [edi + 0x1c]
mov edx, dword [eax + ecx + 8]
mov ecx, ebx
call fcn.004afc90
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 0x4eb870
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
mov dl, byte [esp + 0x13]
mov ecx, 1
cmp dl, 0x86
jne 0x4eb92e
mov eax, dword [esp + 0x3c]
test dword [eax + 0x50], 0x200000
jne 0x4eb92e
cmp dword [edi + 0x34], 0
mov eax, edi
je 0x4eb92e
cmp byte [eax], dl
jne 0x4eb910
mov eax, dword [eax + 0x34]
inc ecx
cmp dword [eax + 0x34], 0
jne 0x4eb902
cmp ecx, 3
jle 0x4eb92e
lea eax, [ecx - 3]
mov edx, edi
shr eax, 1
inc eax
nop dword [eax]
mov edx, dword [edx + 0x34]
sub eax, 1
jne 0x4eb920
mov dword [esp + 0x54], edx
jmp 0x4eb934
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.004b1bb0
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.004aede0
mov eax, dword [esp + 0x2c]
mov ecx, ebx
push str.ORDER
mov edx, eax
push dword [eax + 0x30]
call fcn.004aede0
push dword [esp + 0x30]
mov edx, edi
mov ecx, ebx
call fcn.004e8d30
add esp, 0x14
cmp dword [edi + 8], 0
je 0x4eba79
cmp byte [esp + 0x13], 0x87
jne 0x4eba79
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 0x4eb9c9
inc eax
jmp 0x4eb9cc
mov eax, dword [edi + 8]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x78], ecx
jg 0x4eb9f1
push 0
push edx
push eax
mov edx, 0x4f
mov ecx, esi
call fcn.00499040
mov edx, dword [esp + 0x44]
add esp, 0xc
jmp 0x4eba24
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 0x4eba44
push 0
push dword [esp + 0x44]
mov ecx, esi
push edx
mov edx, 0x4f
call fcn.00499040
add esp, 0xc
jmp 0x4eba89
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 0x4eba89
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 0
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x4eba99
mov ecx, dword [esp + 0x3c]
call fcn.004b1450
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 0x4ebb48
sub eax, 1
je 0x4ebb41
sub eax, 1
je 0x4ebb3a
mov eax, str.UNION
jmp 0x4ebb4d
mov eax, str.INTERSECT
jmp 0x4ebb4d
mov eax, str.EXCEPT
jmp 0x4ebb4d
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
push ebx
call fcn.00499640
mov eax, dword [esi + 0x74]
add esp, 0x10
mov dword [esp + 0x4c], eax
lea edx, [eax + 1]
cmp dword [esi + 0x78], eax
jg 0x4ebb89
push edx
push 0
push dword [esp + 0x24]
mov edx, 0xd
mov ecx, esi
call fcn.00499040
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x4ebbb9
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.00499640
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x88]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.004efc00
mov ecx, dword [esi + 0x74]
add esp, 4
cmp dword [esi + 0x78], ecx
jg 0x4ebc0b
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x44
mov ecx, esi
call fcn.00499040
add esp, 0xc
jmp 0x4ebc3e
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 0x4ebc61
mov eax, 0x5d5a30
jmp 0x4ebc76
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 0x4ebca4
push edx
push 0
push dword [esp + 0x30]
mov edx, 0xd
mov ecx, esi
call fcn.00499040
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x4ebcd0
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.00499640
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x6c]
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push eax
call fcn.004efc00
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 0x4ebd3d
push 0
push 0
push dword [esp + 0x30]
mov edx, 0x44
mov ecx, esi
call fcn.00499040
add esp, 0xc
jmp 0x4ebd70
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.004eac50
mov dword [esp + 0x58], eax
add esp, 0x18
mov al, byte [esp + 0x13]
cmp al, 0x87
je 0x4ebdbc
cmp al, 0x86
jne 0x4ebde4
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.004eac50
add esp, 0x18
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4ebdfb
add dword [eax], 0xffffffff
jne 0x4ebdfb
mov ecx, dword [eax + 0xc]
mov edx, eax
call fcn.004747b0
mov cl, byte [esp + 0x13]
cmp cl, 0x88
je 0x4ebfd3
cmp cl, 0x89
je 0x4ebfd3
mov edx, dword [esi + 0x74]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x78], edx
jg 0x4ebe3c
push 0
push dword [esp + 0x54]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x20]
call fcn.00499040
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x4ebe6f
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 0x4ebe9a
push 0
push dword [esp + 0x24]
mov edx, 0xe
mov ecx, esi
push dword [esp + 0x30]
call fcn.00499040
add esp, 0xc
mov dword [esp + 0x34], eax
jmp 0x4ebecd
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 0x4ebeee
push 0
push dword [esp + 0x18]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.00499040
add esp, 0xc
jmp 0x4ebf21
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 0x4ebf68
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x4ebf4b
movzx eax, word [ebx + 2]
jmp 0x4ebfa2
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x4ebf59
movzx eax, word [ebx + 2]
inc eax
jmp 0x4ebf9f
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [ebx + 2]
jmp 0x4ebf9c
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x4ebf79
mov eax, dword [esp + 0x24]
movzx eax, word [eax + 2]
jmp 0x4ebfa2
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x4ebf8b
mov eax, dword [esp + 0x24]
movzx eax, word [eax + 2]
inc eax
jmp 0x4ebf9f
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 0x4ec009
push 0
push dword [esp + 0x44]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x34]
call fcn.00499040
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x44], ebx
jmp 0x4ec03c
mov edx, dword [esp + 0x20]
mov eax, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], edx
cmp cl, 0x89
jne 0x4ebfa6
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x44], eax
movzx ecx, word [ecx + 2]
cmp word [ebx + 2], cx
jle 0x4ebffc
mov word [ebx + 2], cx
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], eax
jmp 0x4ec0df
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 0x4ec05f
push 0
push dword [esp + 0x24]
mov edx, 0xe
mov ecx, esi
push dword [esp + 0x24]
call fcn.00499040
add esp, 0xc
jmp 0x4ec092
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 0x4ec0b0
push 0
push ebx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00499040
add esp, 0xc
jmp 0x4ec0df
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 0x4ec10c
push 0
push dword [esp + 0x44]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x34]
call fcn.00499040
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x38], ebx
jmp 0x4ec13f
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 0x4ec162
push 0
push dword [esp + 0x18]
mov edx, 0xe
mov ecx, esi
push dword [esp + 0x24]
call fcn.00499040
add esp, 0xc
jmp 0x4ec195
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 0x4ec1b8
mov eax, dword [esp + 0x20]
mov edx, 0xb
push 0
dec eax
mov ecx, esi
push eax
push 0
call fcn.00499040
add esp, 0xc
jmp 0x4ec1ec
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 0x4ec204
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], ecx
jmp 0x4ec2e0
cmp al, 0x89
jne 0x4ec21d
mov eax, dword [esi + 0x74]
mov dword [esp + 0x2c], ebx
inc ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], eax
jmp 0x4ec333
mov ebx, dword [esi + 0x74]
mov dword [esp + 0x2c], ebx
cmp dword [esi + 0x78], ebx
jg 0x4ec248
push 0
push dword [esp + 0x18]
mov edx, 0xe
mov ecx, esi
push dword [esp + 0x24]
call fcn.00499040
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x4ec27b
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 0x4ec29e
mov eax, dword [esp + 0x20]
mov edx, 0xb
push 0
dec eax
mov ecx, esi
push eax
push 0
call fcn.00499040
add esp, 0xc
jmp 0x4ec2d2
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 0x4ec333
cmp dword [esi + 0x78], ecx
jg 0x4ec300
push 0
push dword [esp + 0x54]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x20]
call fcn.00499040
add esp, 0xc
jmp 0x4ec333
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 0x4ec357
push 0
push ebx
push dword [esp + 0x30]
mov edx, 0xe
mov ecx, esi
call fcn.00499040
add esp, 0xc
jmp 0x4ec386
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 0x4ec3a9
mov eax, dword [esp + 0x20]
mov edx, 0xb
push 0
dec eax
mov ecx, esi
push eax
push 0
call fcn.00499040
add esp, 0xc
jmp 0x4ec3e1
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 0x4ec3f3
mov eax, 0x5d5a30
jmp 0x4ec408
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 0x4ec42f
mov edx, dword [esp + 0x34]
mov ecx, esi
push 0
push edx
push dword [esp + 0x24]
mov edx, 0xe
call fcn.00499040
add esp, 0xc
jmp 0x4ec462
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 0x4ec482
push 0
push ebx
push dword [esp + 0x30]
mov edx, 0xe
mov ecx, esi
call fcn.00499040
add esp, 0xc
jmp 0x4ec4b1
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 0x4ec4d0
push edx
mov edx, esi
call fcn.00499860
add esp, 4
jmp 0x4ec4d9
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 0x4ec4fa
push 0
push 0
push 0
mov edx, 0x58
mov ecx, esi
call fcn.00499040
add esp, 0xc
mov edx, eax
jmp 0x4ec52d
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 0x4ec548
push dword [esp + 0x58]
mov edx, 0xfffffff1
call fcn.00499b50
add esp, 4
jmp 0x4ec583
test edx, edx
jns 0x4ec550
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 0x4ec574
push 0xfffffffffffffff1
push dword [esp + 0x5c]
mov edx, eax
mov ecx, esi
call fcn.00499da0
add esp, 8
jmp 0x4ec583
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x4ec583
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 0x4ec5b3
push dword [esp + 0x48]
mov ecx, esi
push edx
push eax
mov edx, 0x59
call fcn.00499040
add esp, 0xc
mov ebx, eax
jmp 0x4ec5e6
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 0x4ec602
mov edx, dword [esp + 0x5c]
push edx
mov edx, 0xfffffff7
call fcn.00499b50
add esp, 4
jmp 0x4ec63a
test ebx, ebx
jns 0x4ec60a
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 0x4ec62f
push 0xfffffffffffffff7
push edx
mov edx, eax
mov ecx, esi
call fcn.00499da0
add esp, 8
jmp 0x4ec63a
test edx, edx
je 0x4ec63a
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4ec651
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 0x4ec679
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.00499040
add esp, 0xc
jmp 0x4ec6ac
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 0x4ec6ca
push edx
mov edx, esi
call fcn.00499860
add esp, 4
jmp 0x4ec6d3
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 0x4ec6ee
push 1
mov ecx, ebx
call fcn.004e4b70
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 0x4ec70a
mov ecx, ebx
call fcn.004b2770
mov eax, dword [esp + 0x24]
mov dword [eax + 0x30], 0
mov ecx, dword [edi + 0xdc]
test ecx, ecx
jne 0x4ec71f
xor eax, eax
jmp 0x4ec745
mov edx, dword [edi + 8]
test ecx, ecx
jns 0x4ec72a
mov ecx, dword [edx + 0x74]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x4ec739
mov eax, 0x5d5a30
jmp 0x4ec742
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