Function at 0x4e9fa0
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]
mov esi, dword [esp + 0x98]
mov ebx, dword [ecx + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x38]
dec eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x10], eax
dec eax
mov dword [ecx + 0x38], eax
movzx eax, byte [esi]
mov dword [esp + 0x18], 0
mov dword [esp + 0x44], ebx
mov dword [esp + 0x2c], eax
push edi
mov edi, dword [esi + 0x30]
mov dword [esp + 0x2c], edi
mov edx, dword [edi]
mov dword [esp + 0x18], edx
cmp eax, 0x87
je 0x4ea0e2
mov eax, dword [esp + 0x24]
mov esi, 1
cmp byte [eax + 0x57], 0
jne 0x4ea0db
mov eax, dword [esp + 0x9c]
lea ebp, [edx + edx*4]
shl ebp, 2
mov eax, dword [eax + 0x1c]
cmp esi, dword [eax]
jg 0x4ea0db
xor ecx, ecx
test edx, edx
jle 0x4ea04f
mov ebx, dword [esp + 0x18]
lea edx, [edi + 0x18]
movzx eax, word [edx]
cmp eax, esi
je 0x4ea047
inc ecx
add edx, 0x14
cmp ecx, ebx
jl 0x4ea038
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x18]
cmp ecx, edx
jne 0x4ea0c5
push 0
lea eax, [esp + 0x58]
mov dword [esp + 0x58], 0
push eax
push 0x9b
push dword [esp + 0x30]
mov dword [esp + 0x68], 0
call fcn.005076d0
add esp, 0x10
test eax, eax
je 0x4ea13f
or dword [eax + 4], 0x400
push eax
push edi
push dword [esp + 0xa0]
mov dword [eax + 8], esi
call fcn.0050b8d0
mov edx, dword [esp + 0x24]
mov edi, eax
mov eax, dword [esp + 0xa8]
add esp, 0xc
mov dword [esp + 0x2c], edi
mov dword [eax + 0x30], edi
test edi, edi
je 0x4ea0cc
inc edx
mov word [edi + ebp + 0x18], si
mov dword [esp + 0x18], edx
add ebp, 0x14
jmp 0x4ea0cc
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x24]
inc esi
cmp byte [ecx + 0x57], 0
je 0x4ea020
mov esi, dword [esp + 0x9c]
lea eax, [edx*4 + 4]
push 0
push eax
push dword [esp + 0x2c]
call fcn.00504c90
mov ebp, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x4c], eax
test eax, eax
je 0x4ea14f
mov ecx, 1
mov dword [eax], ebp
cmp ebp, ecx
jl 0x4ea127
lea edx, [edi + 0x18]
mov ebx, eax
movzx eax, word [edx]
lea edx, [edx + 0x14]
dec eax
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, ebp
jle 0x4ea114
mov ebx, dword [esp + 0x48]
push 1
push esi
push dword [esp + 0xa0]
call fcn.004eb260
add esp, 0xc
mov dword [esp + 0x50], eax
jmp 0x4ea157
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x84
ret
mov dword [esp + 0x50], 0
cmp dword [esp + 0x30], 0x87
jne 0x4ea173
mov dword [esp + 0x38], 0
mov edx, 1
jmp 0x4ea2f2
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x98]
mov edx, dword [eax]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x10], edx
lea edi, [eax + 1]
inc eax
add eax, edx
mov dword [esp + 0x38], edi
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x4ea1b1
push 0
push edi
push 0
push 0x47
push ebx
call fcn.004e2c80
mov edx, dword [esp + 0x24]
add esp, 0x14
jmp 0x4ea1e4
mov ebp, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0x47
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
lea edx, [edx + 5]
lea eax, [edx + edx*4]
push 0
push eax
push dword [esp + 0x2c]
call fcn.00504c90
mov edi, dword [esp + 0x38]
mov edx, eax
add esp, 0xc
mov dword [esp + 0x1c], edx
test edx, edx
je 0x4ea351
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov word [edx + 6], cx
lea eax, [ecx + 6]
lea eax, [edx + eax*4]
mov dword [edx + 0x10], eax
lea eax, [ecx + 1]
mov word [edx + 8], ax
mov al, byte [esi + 0x54]
mov byte [edx + 4], al
lea eax, [ecx*4 + 1]
add eax, ecx
mov dword [edx + 0xc], esi
push eax
lea eax, [edx + 0x18]
mov dword [edx], 1
push 0
push eax
call sub.MSVCRT.dll_memset
xor esi, esi
add esp, 0xc
cmp dword [esp + 0x10], esi
jle 0x4ea2d8
mov eax, dword [esp + 0x1c]
xor ebx, ebx
mov ebp, dword [esp + 0x9c]
add eax, 0x14
mov edi, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x4ea290
push esi
push eax
push dword [esp + 0xa0]
call fcn.004e9f50
add esp, 0xc
test eax, eax
jne 0x4ea2ac
jmp 0x4ea292
xor eax, eax
mov ecx, dword [ebp + 0x1c]
cmp esi, dword [ecx]
jge 0x4ea2ac
push dword [ecx + ebx + 8]
push dword [esp + 0x9c]
call fcn.0050a460
add esp, 8
mov ecx, dword [esp + 0x40]
add ebx, 0x14
mov dword [ecx], eax
add ecx, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x40], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, edi
jl 0x4ea272
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x9c]
cmp dword [esp + 0x30], 0x86
mov edx, 1
jne 0x4ea3bd
mov eax, dword [esp + 0x24]
test dword [eax + 0x50], 0x200000
jne 0x4ea3bd
cmp dword [esi + 0x34], 0
lea ecx, [esi + 0x34]
mov eax, esi
je 0x4ea3bd
movzx eax, byte [eax]
cmp eax, dword [esp + 0x30]
jne 0x4ea327
mov eax, dword [ecx]
inc edx
cmp dword [eax + 0x34], 0
lea ecx, [eax + 0x34]
jne 0x4ea312
cmp edx, 3
jle 0x4ea3bd
mov ecx, esi
mov dword [esp + 0x40], ecx
cmp edx, 2
jle 0x4ea3c3
lea eax, [edx - 3]
shr eax, 1
inc eax
mov ecx, dword [ecx + 0x34]
dec eax
jne 0x4ea345
mov dword [esp + 0x40], ecx
jmp 0x4ea3c3
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x57], 0
jne 0x4ea3b0
cmp byte [eax + 0x58], 0
jne 0x4ea3b0
cmp dword [eax + 0xc8], 0
mov byte [eax + 0x57], 1
jle 0x4ea378
mov dword [eax + 0x128], 1
inc dword [eax + 0x130]
xor ecx, ecx
mov word [eax + 0x134], cx
mov eax, dword [eax + 0x10c]
test eax, eax
je 0x4ea3b0
push 0x56d030
push eax
call fcn.00506fd0
mov eax, dword [esp + 0x2c]
add esp, 8
mov eax, dword [eax + 0x10c]
mov dword [eax + 0xc], 7
mov dword [esp + 0x1c], 0
jmp 0x4ea2df
mov ecx, esi
mov dword [esp + 0x40], esi
mov eax, dword [ecx + 0x34]
push 0
push edi
mov edi, dword [esp + 0xa0]
mov dword [ecx + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [esp + 0x44], eax
push dword [edi]
call fcn.0050bc80
mov ecx, dword [esp + 0x48]
push str.ORDER
mov dword [ecx + 0x30], eax
push dword [esi + 0x30]
push esi
push edi
call fcn.00523f80
mov eax, dword [esp + 0x58]
push str.ORDER
push dword [eax + 0x30]
push eax
push edi
call fcn.00523f80
push dword [esp + 0x40]
push esi
push edi
call fcn.004c5f60
add esp, 0x38
cmp dword [esi + 8], 0
je 0x4ea4fe
cmp dword [esp + 0x30], 0x87
jne 0x4ea4fe
mov edx, dword [edi + 0x2c]
inc edx
mov dword [esp + 0x34], edx
lea eax, [edx + 1]
mov dword [edi + 0x2c], eax
mov edi, dword [esi + 0xc]
mov dword [esp + 0x10], eax
test edi, edi
je 0x4ea454
inc edi
jmp 0x4ea457
mov edi, dword [esi + 8]
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x4ea474
push 0
push edx
push edi
push 0x4f
push ebx
call fcn.004e2c80
mov edx, dword [esp + 0x48]
add esp, 0x14
jmp 0x4ea4a3
mov ebp, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0x4f
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 + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x4ea4c6
push 0
push dword [esp + 0x14]
push edx
push 0x4f
push ebx
call fcn.004e2c80
mov edi, dword [esp + 0xac]
add esp, 0x14
jmp 0x4ea50e
mov edi, dword [esp + 0x98]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
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 0x4ea50e
mov dword [esp + 0x10], 0
mov dword [esp + 0x34], 0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4ea522
push eax
push dword [esp + 0x28]
call fcn.0050aa20
add esp, 8
mov dword [esi + 0x3c], 0
inc dword [edi + 0x2c]
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x28], ecx
mov byte [esp + 0x78], 0xd
mov dword [esp + 0x7c], ecx
lea edx, [ecx + 1]
mov dword [esp + 0x80], 0
lea eax, [edx + 2]
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], eax
mov dword [edi + 0x2c], eax
movzx eax, byte [esi]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x84], 0
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 0x4ea5c7
dec eax
je 0x4ea5c0
dec eax
je 0x4ea5b9
mov eax, str.UNION
jmp 0x4ea5cc
mov eax, str.INTERSECT
jmp 0x4ea5cc
mov eax, str.EXCEPT
jmp 0x4ea5cc
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
push edi
call fcn.00536010
mov edi, dword [ebx + 0x74]
add esp, 0x10
lea edx, [edi + 1]
cmp dword [ebx + 0x78], edi
jg 0x4ea5fe
push edx
push 0
push dword [esp + 0x30]
push 0xd
push ebx
call fcn.004e2c80
add esp, 0x14
mov edi, eax
jmp 0x4ea62e
mov eax, dword [ebx + 0x70]
lea ecx, [edi + edi*4]
mov ebp, dword [esp + 0x28]
mov dword [ebx + 0x74], edx
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x18]
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 ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
push str.LEFT
push 1
push dword [esp + 0xa0]
mov dword [ecx + 8], eax
call fcn.00536010
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x4c]
push dword [esp + 0xac]
call fcn.00525570
mov ecx, dword [ebx + 0x74]
add esp, 0x18
cmp dword [ebx + 0x78], ecx
jg 0x4ea684
push 0
push 0
push dword [esp + 0x30]
push 0x44
push ebx
call fcn.004e2c80
add esp, 0x14
jmp 0x4ea6b7
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 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 [ebx + 0xc]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x1c], 0
mov edx, dword [ebx + 0x74]
test edi, edi
jns 0x4ea6d2
lea edi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x4ea6e1
mov eax, 0x74c854
jmp 0x4ea6ea
mov eax, dword [ebx + 0x70]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x74]
mov dword [esp + 0x54], eax
lea edx, [eax + 1]
cmp dword [ebx + 0x78], eax
jg 0x4ea714
push edx
push 0
push dword [esp + 0x28]
push 0xd
push ebx
call fcn.004e2c80
add esp, 0x14
mov dword [esp + 0x54], eax
jmp 0x4ea740
mov edi, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x70]
mov dword [ebx + 0x74], edx
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edi
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 + 0x9c]
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
push str.RIGHT
push 1
push dword [esp + 0xa0]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
call fcn.00536010
lea eax, [esp + 0x68]
push eax
push dword [esp + 0xac]
push dword [esp + 0xac]
call fcn.00525570
mov eax, dword [esp + 0xb4]
add esp, 0x18
mov dword [eax + 8], edi
mov edi, eax
mov dword [edi + 0xc], esi
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x4ea7b5
push 0
push 0
push dword [esp + 0x28]
push 0x44
push ebx
call fcn.004e2c80
add esp, 0x14
jmp 0x4ea7e8
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 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 [ebx + 0xc]
push dword [esp + 0x14]
mov esi, dword [esp + 0xa4]
push dword [esp + 0x20]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
push dword [esp + 0x40]
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x2c]
inc eax
push eax
push esi
lea eax, [esp + 0x8c]
push eax
push edi
push dword [esp + 0xb4]
call fcn.004e0670
mov dword [esp + 0x30], eax
add esp, 0x20
mov eax, dword [esp + 0x30]
cmp eax, 0x87
je 0x4ea841
cmp eax, 0x86
jne 0x4ea86b
push dword [esp + 0x14]
lea eax, [esp + 0x60]
push dword [esp + 0x20]
push dword [esp + 0x40]
push dword [esp + 0x38]
push esi
push eax
push edi
push dword [esp + 0xb4]
call fcn.004e0670
add esp, 0x20
mov dword [esp + 0x44], eax
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4ea92b
dec dword [esi]
jne 0x4ea92b
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4ea8d6
cmp dword [ecx + 0x210], 0
je 0x4ea89e
push esi
push ecx
call fcn.004e8dc0
add esp, 8
jmp 0x4ea92b
cmp esi, dword [ecx + 0x164]
jae 0x4ea8d6
cmp esi, dword [ecx + 0x15c]
jb 0x4ea8be
mov eax, dword [ecx + 0x158]
mov dword [esi], eax
mov dword [ecx + 0x158], esi
jmp 0x4ea92b
cmp esi, dword [ecx + 0x160]
jb 0x4ea8d6
mov eax, dword [ecx + 0x150]
mov dword [esi], eax
mov dword [ecx + 0x150], esi
jmp 0x4ea92b
cmp dword [0x7475d8], 0
je 0x4ea921
mov eax, dword [0x74c528]
test eax, eax
je 0x4ea8f2
push eax
call dword [0x747628]
add esp, 4
push esi
call dword [0x747604]
sub dword [0x74c4b0], eax
dec dword [0x74c4d4]
push esi
call dword [0x7475fc]
mov eax, dword [0x74c528]
add esp, 8
test eax, eax
je 0x4ea92b
push eax
call dword [0x747630]
jmp 0x4ea928
push esi
call dword [0x7475fc]
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, 0x88
je 0x4eab05
cmp eax, 0x89
je 0x4eab05
mov esi, dword [ebx + 0x74]
mov dword [esp + 0x34], esi
cmp dword [ebx + 0x78], esi
jg 0x4ea96e
push 0
push dword [esp + 0x48]
push dword [esp + 0x34]
push 0xc
push ebx
call fcn.004e2c80
mov esi, eax
add esp, 0x14
mov dword [esp + 0x34], esi
jmp 0x4ea9a1
mov edx, dword [esp + 0x2c]
lea eax, [esi + 1]
mov dword [ebx + 0x74], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
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 [ebx + 0x74]
mov dword [esp + 0x38], edx
cmp dword [ebx + 0x78], edx
jg 0x4ea9c8
push 0
push dword [esp + 0x18]
push dword [esp + 0x28]
push 0xe
push ebx
call fcn.004e2c80
add esp, 0x14
mov dword [esp + 0x38], eax
jmp 0x4ea9fb
lea eax, [edx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x70]
mov edx, dword [esp + 0x20]
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 [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x4eaa15
push 0
push esi
push 0
push 0xb
push ebx
call fcn.004e2c80
add esp, 0x14
jmp 0x4eaa44
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0xb
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 + 0x3c]
movzx edx, word [edi + 2]
movzx ecx, word [eax + 2]
cmp dx, cx
jl 0x4eaab0
movsx esi, cx
movsx ecx, dx
lea eax, [esi + 0x31]
cmp ecx, eax
jle 0x4eaa75
mov esi, dword [esp + 0x34]
mov eax, edx
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x4eab0f
lea eax, [esi + 0x1f]
cmp ecx, eax
jle 0x4eaa93
mov esi, dword [esp + 0x34]
lea eax, [edx + 1]
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x4eab0f
sub ecx, esi
mov esi, dword [esp + 0x34]
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, dx
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x4eab0f
movsx esi, dx
movsx edx, cx
lea eax, [esi + 0x31]
cmp edx, eax
jle 0x4eaacd
mov esi, dword [esp + 0x34]
mov eax, ecx
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x4eab0f
lea eax, [esi + 0x1f]
cmp edx, eax
jle 0x4eaae8
mov esi, dword [esp + 0x34]
lea eax, [ecx + 1]
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x4eab0f
sub edx, esi
mov esi, dword [esp + 0x34]
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, cx
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x4eab0f
mov ecx, dword [esp + 0x14]
mov esi, ecx
mov dword [esp + 0x38], ecx
cmp eax, 0x89
jne 0x4eab5a
mov eax, dword [esp + 0x3c]
movzx eax, word [eax + 2]
cmp word [edi + 2], ax
jle 0x4eab28
mov word [edi + 2], ax
mov edi, esi
mov edx, dword [ebx + 0x74]
mov dword [esp + 0x1c], edx
cmp dword [ebx + 0x78], edx
jg 0x4eac58
mov eax, dword [esp + 0x20]
push 0
push dword [esp + 0x14]
inc eax
push eax
push 0xc
push ebx
call fcn.004e2c80
add esp, 0x14
mov dword [esp + 0x1c], eax
jmp 0x4eac90
mov edi, dword [ebx + 0x74]
cmp dword [ebx + 0x78], edi
jg 0x4eab7d
mov eax, dword [esp + 0x20]
push 0
push dword [esp + 0x14]
inc eax
push eax
push 0xc
push ebx
call fcn.004e2c80
add esp, 0x14
mov edi, eax
jmp 0x4eabb5
mov edx, dword [esp + 0x20]
lea eax, [edi + 1]
mov ebp, dword [esp + 0x18]
lea ecx, [edi + edi*4]
mov dword [ebx + 0x74], eax
inc edx
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
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 + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x4eabd4
push 0
push dword [esp + 0x18]
push dword [esp + 0x30]
push 0xe
push ebx
call fcn.004e2c80
add esp, 0x14
jmp 0x4eac07
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 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 [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x4eac24
push 0
push edi
push 0
push 0xb
push ebx
call fcn.004e2c80
add esp, 0x14
jmp 0x4eab2a
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0xb
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
jmp 0x4eab2a
mov ebp, dword [esp + 0x18]
lea eax, [edx + 1]
lea ecx, [edx + edx*4]
mov dword [ebx + 0x74], eax
mov eax, dword [ebx + 0x70]
mov edx, dword [esp + 0x20]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
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 + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x4eacac
push 0
push esi
push dword [esp + 0x30]
push 0xe
push ebx
call fcn.004e2c80
add esp, 0x14
jmp 0x4eacdb
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0xe
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 + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x4eacfa
mov eax, dword [esp + 0x14]
push 0
dec eax
push eax
push 0
push 0xb
push ebx
call fcn.004e2c80
add esp, 0x14
jmp 0x4ead32
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov ebp, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
mov dword [ebx + 0x74], eax
dec edx
mov eax, dword [ebx + 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 + 0x30]
cmp eax, 0x87
jne 0x4ead4a
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
jmp 0x4eae09
cmp eax, 0x89
jne 0x4ead63
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
inc eax
mov dword [esp + 0x1c], eax
jmp 0x4eae09
mov edx, dword [ebx + 0x74]
mov dword [esp + 0x10], edx
cmp dword [ebx + 0x78], edx
jg 0x4ead87
push 0
push esi
push dword [esp + 0x30]
push 0xe
push ebx
call fcn.004e2c80
add esp, 0x14
mov dword [esp + 0x10], eax
jmp 0x4eadb6
lea eax, [edx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x70]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0xe
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 + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x4eadd5
mov eax, dword [esp + 0x14]
push 0
dec eax
push eax
push 0
push 0xb
push ebx
call fcn.004e2c80
add esp, 0x14
jmp 0x4eae09
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 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 eax, dword [esp + 0x30]
mov ecx, dword [ebx + 0x74]
mov dword [esp + 0x34], ecx
cmp eax, 0x87
je 0x4eae22
cmp eax, 0x86
jne 0x4eae71
cmp dword [ebx + 0x78], ecx
jg 0x4eae3e
push 0
push dword [esp + 0x48]
push dword [esp + 0x34]
push 0xc
push ebx
call fcn.004e2c80
add esp, 0x14
jmp 0x4eae71
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
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 + 0x74]
mov esi, dword [esp + 0x20]
cmp dword [ebx + 0x78], ecx
jg 0x4eae8e
push 0
push edi
push esi
push 0xe
push ebx
call fcn.004e2c80
add esp, 0x14
jmp 0x4eaeb9
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0xe
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 + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x4eaed8
mov eax, dword [esp + 0x14]
push 0
dec eax
push eax
push 0
push 0xb
push ebx
call fcn.004e2c80
add esp, 0x14
jmp 0x4eaf10
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov ebp, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
mov dword [ebx + 0x74], eax
dec edx
mov eax, dword [ebx + 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 ecx, dword [esp + 0x54]
mov edx, dword [ebx + 0x74]
test ecx, ecx
jns 0x4eaf1e
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x4eaf2d
mov eax, 0x74c854
jmp 0x4eaf36
mov eax, dword [ebx + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x4eaf59
mov edx, dword [esp + 0x38]
push 0
push edx
push dword [esp + 0x30]
push 0xe
push ebx
call fcn.004e2c80
add esp, 0x14
jmp 0x4eaf8c
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
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 [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x4eafa5
push 0
push edi
push esi
push 0xe
push ebx
call fcn.004e2c80
add esp, 0x14
jmp 0x4eafd0
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0xe
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 0x4eafef
push edx
push ebx
push ecx
call fcn.004f4d20
add esp, 0xc
jmp 0x4eaff8
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x74]
mov dword [ecx + edx*4], eax
mov edx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], edx
jg 0x4eb015
push 0
push 0
push 0
push 0x58
push ebx
call fcn.004e2c80
add esp, 0x14
mov edx, eax
jmp 0x4eb048
lea eax, [edx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 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 eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x4eb061
push dword [esp + 0x4c]
push 0xfffffffffffffff1
push eax
call fcn.004cfa50
add esp, 0xc
jmp 0x4eb09a
test edx, edx
jns 0x4eb069
mov edx, dword [ebx + 0x74]
dec edx
mov eax, dword [ebx + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4eb08b
push 0xfffffffffffffff1
push dword [esp + 0x50]
push eax
push ebx
call fcn.00547a80
add esp, 0x10
jmp 0x4eb09a
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x4eb09a
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf1
mov edx, dword [ebx + 0x74]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x84]
cmp dword [ebx + 0x78], edx
jg 0x4eb0bf
push ebp
push esi
push edi
push 0x59
push ebx
call fcn.004e2c80
add esp, 0x14
mov edx, eax
jmp 0x4eb0ea
lea eax, [edx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x70]
mov ebx, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x59
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], ebp
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x4eb104
mov ecx, dword [esp + 0x50]
push ecx
push 0xfffffffffffffff7
push eax
call fcn.004cfa50
add esp, 0xc
jmp 0x4eb13a
test edx, edx
jns 0x4eb10c
mov edx, dword [ebx + 0x74]
dec edx
mov eax, dword [ebx + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x50]
je 0x4eb12f
push 0xfffffffffffffff7
push ecx
push eax
push ebx
call fcn.00547a80
add esp, 0x10
jmp 0x4eb13a
test ecx, ecx
je 0x4eb13a
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf7
mov eax, dword [ebx + 0x74]
test eax, eax
jle 0x4eb151
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [ebx + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x4eb174
mov edx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x14]
push edx
push dword [esp + 0x24]
push 0x10
push ebx
call fcn.004e2c80
add esp, 0x14
jmp 0x4eb1a7
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x10
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 0x4eb1c5
push edx
push ebx
push ecx
call fcn.004f4d20
add esp, 0xc
jmp 0x4eb1ce
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x74]
mov dword [ecx + edx*4], eax
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
mov eax, dword [esi + 0x34]
test eax, eax
je 0x4eb1e9
push 1
push eax
push ebx
call fcn.004c3280
add esp, 0xc
mov ebp, dword [esp + 0x3c]
mov dword [esi + 0x34], ebp
mov eax, dword [ebp + 0x30]
mov dword [ebp + 0x38], esi
test eax, eax
je 0x4eb204
push eax
push ebx
call fcn.004cc370
add esp, 8
mov ebx, dword [esp + 0x98]
mov dword [ebp + 0x30], 0
mov ecx, dword [ebx + 0xdc]
test ecx, ecx
jne 0x4eb220
xor eax, eax
jmp 0x4eb246
mov edx, dword [ebx + 8]
test ecx, ecx
jns 0x4eb22b
mov ecx, dword [edx + 0x74]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x4eb23a
mov eax, 0x74c854
jmp 0x4eb243
mov eax, dword [edx + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [ebx + 0xdc], eax
xor eax, eax
cmp dword [ebx + 0x24], eax
pop edi
pop esi
pop ebp
setne al
pop ebx
add esp, 0x84
ret