Function at 0x4ea1a0
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 0x4ea2e2
mov eax, dword [esp + 0x24]
mov esi, 1
cmp byte [eax + 0x57], 0
jne 0x4ea2db
mov eax, dword [esp + 0x9c]
lea ebp, [edx + edx*4]
shl ebp, 2
mov eax, dword [eax + 0x1c]
cmp esi, dword [eax]
jg 0x4ea2db
xor ecx, ecx
test edx, edx
jle 0x4ea24f
mov ebx, dword [esp + 0x18]
lea edx, [edi + 0x18]
movzx eax, word [edx]
cmp eax, esi
je 0x4ea247
inc ecx
add edx, 0x14
cmp ecx, ebx
jl 0x4ea238
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x18]
cmp ecx, edx
jne 0x4ea2c5
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.005078d0
add esp, 0x10
test eax, eax
je 0x4ea33f
or dword [eax + 4], 0x400
push eax
push edi
push dword [esp + 0xa0]
mov dword [eax + 8], esi
call fcn.0050bad0
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 0x4ea2cc
inc edx
mov word [edi + ebp + 0x18], si
mov dword [esp + 0x18], edx
add ebp, 0x14
jmp 0x4ea2cc
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x24]
inc esi
cmp byte [ecx + 0x57], 0
je 0x4ea220
mov esi, dword [esp + 0x9c]
lea eax, [edx*4 + 4]
push 0
push eax
push dword [esp + 0x2c]
call fcn.00504e90
mov ebp, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x4c], eax
test eax, eax
je 0x4ea34f
mov ecx, 1
mov dword [eax], ebp
cmp ebp, ecx
jl 0x4ea327
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 0x4ea314
mov ebx, dword [esp + 0x48]
push 1
push esi
push dword [esp + 0xa0]
call fcn.004eb460
add esp, 0xc
mov dword [esp + 0x50], eax
jmp 0x4ea357
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 0x4ea373
mov dword [esp + 0x38], 0
mov edx, 1
jmp 0x4ea4f2
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 0x4ea3b1
push 0
push edi
push 0
push 0x47
push ebx
call fcn.004e2e80
mov edx, dword [esp + 0x24]
add esp, 0x14
jmp 0x4ea3e4
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.00504e90
mov edi, dword [esp + 0x38]
mov edx, eax
add esp, 0xc
mov dword [esp + 0x1c], edx
test edx, edx
je 0x4ea551
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 0x4ea4d8
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 0x4ea490
push esi
push eax
push dword [esp + 0xa0]
call fcn.004ea150
add esp, 0xc
test eax, eax
jne 0x4ea4ac
jmp 0x4ea492
xor eax, eax
mov ecx, dword [ebp + 0x1c]
cmp esi, dword [ecx]
jge 0x4ea4ac
push dword [ecx + ebx + 8]
push dword [esp + 0x9c]
call fcn.0050a660
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 0x4ea472
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 0x4ea5bd
mov eax, dword [esp + 0x24]
test dword [eax + 0x50], 0x200000
jne 0x4ea5bd
cmp dword [esi + 0x34], 0
lea ecx, [esi + 0x34]
mov eax, esi
je 0x4ea5bd
movzx eax, byte [eax]
cmp eax, dword [esp + 0x30]
jne 0x4ea527
mov eax, dword [ecx]
inc edx
cmp dword [eax + 0x34], 0
lea ecx, [eax + 0x34]
jne 0x4ea512
cmp edx, 3
jle 0x4ea5bd
mov ecx, esi
mov dword [esp + 0x40], ecx
cmp edx, 2
jle 0x4ea5c3
lea eax, [edx - 3]
shr eax, 1
inc eax
mov ecx, dword [ecx + 0x34]
dec eax
jne 0x4ea545
mov dword [esp + 0x40], ecx
jmp 0x4ea5c3
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x57], 0
jne 0x4ea5b0
cmp byte [eax + 0x58], 0
jne 0x4ea5b0
cmp dword [eax + 0xc8], 0
mov byte [eax + 0x57], 1
jle 0x4ea578
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 0x4ea5b0
push 0x56d030
push eax
call fcn.005071d0
mov eax, dword [esp + 0x2c]
add esp, 8
mov eax, dword [eax + 0x10c]
mov dword [eax + 0xc], 7
mov dword [esp + 0x1c], 0
jmp 0x4ea4df
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.0050be80
mov ecx, dword [esp + 0x48]
push str.ORDER
mov dword [ecx + 0x30], eax
push dword [esi + 0x30]
push esi
push edi
call fcn.00524180
mov eax, dword [esp + 0x58]
push str.ORDER
push dword [eax + 0x30]
push eax
push edi
call fcn.00524180
push dword [esp + 0x40]
push esi
push edi
call fcn.004c6160
add esp, 0x38
cmp dword [esi + 8], 0
je 0x4ea6fe
cmp dword [esp + 0x30], 0x87
jne 0x4ea6fe
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 0x4ea654
inc edi
jmp 0x4ea657
mov edi, dword [esi + 8]
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x4ea674
push 0
push edx
push edi
push 0x4f
push ebx
call fcn.004e2e80
mov edx, dword [esp + 0x48]
add esp, 0x14
jmp 0x4ea6a3
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 0x4ea6c6
push 0
push dword [esp + 0x14]
push edx
push 0x4f
push ebx
call fcn.004e2e80
mov edi, dword [esp + 0xac]
add esp, 0x14
jmp 0x4ea70e
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 0x4ea70e
mov dword [esp + 0x10], 0
mov dword [esp + 0x34], 0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4ea722
push eax
push dword [esp + 0x28]
call fcn.0050ac20
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 0x4ea7c7
dec eax
je 0x4ea7c0
dec eax
je 0x4ea7b9
mov eax, str.UNION
jmp 0x4ea7cc
mov eax, str.INTERSECT
jmp 0x4ea7cc
mov eax, str.EXCEPT
jmp 0x4ea7cc
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
push edi
call fcn.00536210
mov edi, dword [ebx + 0x74]
add esp, 0x10
lea edx, [edi + 1]
cmp dword [ebx + 0x78], edi
jg 0x4ea7fe
push edx
push 0
push dword [esp + 0x30]
push 0xd
push ebx
call fcn.004e2e80
add esp, 0x14
mov edi, eax
jmp 0x4ea82e
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.00536210
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x4c]
push dword [esp + 0xac]
call fcn.00525770
mov ecx, dword [ebx + 0x74]
add esp, 0x18
cmp dword [ebx + 0x78], ecx
jg 0x4ea884
push 0
push 0
push dword [esp + 0x30]
push 0x44
push ebx
call fcn.004e2e80
add esp, 0x14
jmp 0x4ea8b7
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 0x4ea8d2
lea edi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x4ea8e1
mov eax, 0x784c9c
jmp 0x4ea8ea
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 0x4ea914
push edx
push 0
push dword [esp + 0x28]
push 0xd
push ebx
call fcn.004e2e80
add esp, 0x14
mov dword [esp + 0x54], eax
jmp 0x4ea940
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.00536210
lea eax, [esp + 0x68]
push eax
push dword [esp + 0xac]
push dword [esp + 0xac]
call fcn.00525770
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 0x4ea9b5
push 0
push 0
push dword [esp + 0x28]
push 0x44
push ebx
call fcn.004e2e80
add esp, 0x14
jmp 0x4ea9e8
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.004e0870
mov dword [esp + 0x30], eax
add esp, 0x20
mov eax, dword [esp + 0x30]
cmp eax, 0x87
je 0x4eaa41
cmp eax, 0x86
jne 0x4eaa6b
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.004e0870
add esp, 0x20
mov dword [esp + 0x44], eax
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4eab2b
dec dword [esi]
jne 0x4eab2b
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4eaad6
cmp dword [ecx + 0x210], 0
je 0x4eaa9e
push esi
push ecx
call fcn.004e8fc0
add esp, 8
jmp 0x4eab2b
cmp esi, dword [ecx + 0x164]
jae 0x4eaad6
cmp esi, dword [ecx + 0x15c]
jb 0x4eaabe
mov eax, dword [ecx + 0x158]
mov dword [esi], eax
mov dword [ecx + 0x158], esi
jmp 0x4eab2b
cmp esi, dword [ecx + 0x160]
jb 0x4eaad6
mov eax, dword [ecx + 0x150]
mov dword [esi], eax
mov dword [ecx + 0x150], esi
jmp 0x4eab2b
cmp dword [0x77f9b8], 0
je 0x4eab21
mov eax, dword [0x784970]
test eax, eax
je 0x4eaaf2
push eax
call dword [0x77fa08]
add esp, 4
push esi
call dword [0x77f9e4]
sub dword [0x7848f8], eax
dec dword [0x78491c]
push esi
call dword [0x77f9dc]
mov eax, dword [0x784970]
add esp, 8
test eax, eax
je 0x4eab2b
push eax
call dword [0x77fa10]
jmp 0x4eab28
push esi
call dword [0x77f9dc]
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, 0x88
je 0x4ead05
cmp eax, 0x89
je 0x4ead05
mov esi, dword [ebx + 0x74]
mov dword [esp + 0x34], esi
cmp dword [ebx + 0x78], esi
jg 0x4eab6e
push 0
push dword [esp + 0x48]
push dword [esp + 0x34]
push 0xc
push ebx
call fcn.004e2e80
mov esi, eax
add esp, 0x14
mov dword [esp + 0x34], esi
jmp 0x4eaba1
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 0x4eabc8
push 0
push dword [esp + 0x18]
push dword [esp + 0x28]
push 0xe
push ebx
call fcn.004e2e80
add esp, 0x14
mov dword [esp + 0x38], eax
jmp 0x4eabfb
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 0x4eac15
push 0
push esi
push 0
push 0xb
push ebx
call fcn.004e2e80
add esp, 0x14
jmp 0x4eac44
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 0x4eacb0
movsx esi, cx
movsx ecx, dx
lea eax, [esi + 0x31]
cmp ecx, eax
jle 0x4eac75
mov esi, dword [esp + 0x34]
mov eax, edx
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x4ead0f
lea eax, [esi + 0x1f]
cmp ecx, eax
jle 0x4eac93
mov esi, dword [esp + 0x34]
lea eax, [edx + 1]
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x4ead0f
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 0x4ead0f
movsx esi, dx
movsx edx, cx
lea eax, [esi + 0x31]
cmp edx, eax
jle 0x4eaccd
mov esi, dword [esp + 0x34]
mov eax, ecx
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x4ead0f
lea eax, [esi + 0x1f]
cmp edx, eax
jle 0x4eace8
mov esi, dword [esp + 0x34]
lea eax, [ecx + 1]
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x4ead0f
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 0x4ead0f
mov ecx, dword [esp + 0x14]
mov esi, ecx
mov dword [esp + 0x38], ecx
cmp eax, 0x89
jne 0x4ead5a
mov eax, dword [esp + 0x3c]
movzx eax, word [eax + 2]
cmp word [edi + 2], ax
jle 0x4ead28
mov word [edi + 2], ax
mov edi, esi
mov edx, dword [ebx + 0x74]
mov dword [esp + 0x1c], edx
cmp dword [ebx + 0x78], edx
jg 0x4eae58
mov eax, dword [esp + 0x20]
push 0
push dword [esp + 0x14]
inc eax
push eax
push 0xc
push ebx
call fcn.004e2e80
add esp, 0x14
mov dword [esp + 0x1c], eax
jmp 0x4eae90
mov edi, dword [ebx + 0x74]
cmp dword [ebx + 0x78], edi
jg 0x4ead7d
mov eax, dword [esp + 0x20]
push 0
push dword [esp + 0x14]
inc eax
push eax
push 0xc
push ebx
call fcn.004e2e80
add esp, 0x14
mov edi, eax
jmp 0x4eadb5
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 0x4eadd4
push 0
push dword [esp + 0x18]
push dword [esp + 0x30]
push 0xe
push ebx
call fcn.004e2e80
add esp, 0x14
jmp 0x4eae07
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 0x4eae24
push 0
push edi
push 0
push 0xb
push ebx
call fcn.004e2e80
add esp, 0x14
jmp 0x4ead2a
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 0x4ead2a
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 0x4eaeac
push 0
push esi
push dword [esp + 0x30]
push 0xe
push ebx
call fcn.004e2e80
add esp, 0x14
jmp 0x4eaedb
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 0x4eaefa
mov eax, dword [esp + 0x14]
push 0
dec eax
push eax
push 0
push 0xb
push ebx
call fcn.004e2e80
add esp, 0x14
jmp 0x4eaf32
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 0x4eaf4a
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
jmp 0x4eb009
cmp eax, 0x89
jne 0x4eaf63
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
inc eax
mov dword [esp + 0x1c], eax
jmp 0x4eb009
mov edx, dword [ebx + 0x74]
mov dword [esp + 0x10], edx
cmp dword [ebx + 0x78], edx
jg 0x4eaf87
push 0
push esi
push dword [esp + 0x30]
push 0xe
push ebx
call fcn.004e2e80
add esp, 0x14
mov dword [esp + 0x10], eax
jmp 0x4eafb6
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 0x4eafd5
mov eax, dword [esp + 0x14]
push 0
dec eax
push eax
push 0
push 0xb
push ebx
call fcn.004e2e80
add esp, 0x14
jmp 0x4eb009
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 0x4eb022
cmp eax, 0x86
jne 0x4eb071
cmp dword [ebx + 0x78], ecx
jg 0x4eb03e
push 0
push dword [esp + 0x48]
push dword [esp + 0x34]
push 0xc
push ebx
call fcn.004e2e80
add esp, 0x14
jmp 0x4eb071
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 0x4eb08e
push 0
push edi
push esi
push 0xe
push ebx
call fcn.004e2e80
add esp, 0x14
jmp 0x4eb0b9
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 0x4eb0d8
mov eax, dword [esp + 0x14]
push 0
dec eax
push eax
push 0
push 0xb
push ebx
call fcn.004e2e80
add esp, 0x14
jmp 0x4eb110
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 0x4eb11e
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x4eb12d
mov eax, 0x784c9c
jmp 0x4eb136
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 0x4eb159
mov edx, dword [esp + 0x38]
push 0
push edx
push dword [esp + 0x30]
push 0xe
push ebx
call fcn.004e2e80
add esp, 0x14
jmp 0x4eb18c
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 0x4eb1a5
push 0
push edi
push esi
push 0xe
push ebx
call fcn.004e2e80
add esp, 0x14
jmp 0x4eb1d0
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 0x4eb1ef
push edx
push ebx
push ecx
call fcn.004f4f20
add esp, 0xc
jmp 0x4eb1f8
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 0x4eb215
push 0
push 0
push 0
push 0x58
push ebx
call fcn.004e2e80
add esp, 0x14
mov edx, eax
jmp 0x4eb248
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 0x4eb261
push dword [esp + 0x4c]
push 0xfffffffffffffff1
push eax
call fcn.004cfc50
add esp, 0xc
jmp 0x4eb29a
test edx, edx
jns 0x4eb269
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 0x4eb28b
push 0xfffffffffffffff1
push dword [esp + 0x50]
push eax
push ebx
call fcn.00547c80
add esp, 0x10
jmp 0x4eb29a
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x4eb29a
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 0x4eb2bf
push ebp
push esi
push edi
push 0x59
push ebx
call fcn.004e2e80
add esp, 0x14
mov edx, eax
jmp 0x4eb2ea
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 0x4eb304
mov ecx, dword [esp + 0x50]
push ecx
push 0xfffffffffffffff7
push eax
call fcn.004cfc50
add esp, 0xc
jmp 0x4eb33a
test edx, edx
jns 0x4eb30c
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 0x4eb32f
push 0xfffffffffffffff7
push ecx
push eax
push ebx
call fcn.00547c80
add esp, 0x10
jmp 0x4eb33a
test ecx, ecx
je 0x4eb33a
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf7
mov eax, dword [ebx + 0x74]
test eax, eax
jle 0x4eb351
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 0x4eb374
mov edx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x14]
push edx
push dword [esp + 0x24]
push 0x10
push ebx
call fcn.004e2e80
add esp, 0x14
jmp 0x4eb3a7
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 0x4eb3c5
push edx
push ebx
push ecx
call fcn.004f4f20
add esp, 0xc
jmp 0x4eb3ce
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 0x4eb3e9
push 1
push eax
push ebx
call fcn.004c3480
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 0x4eb404
push eax
push ebx
call fcn.004cc570
add esp, 8
mov ebx, dword [esp + 0x98]
mov dword [ebp + 0x30], 0
mov ecx, dword [ebx + 0xdc]
test ecx, ecx
jne 0x4eb420
xor eax, eax
jmp 0x4eb446
mov edx, dword [ebx + 8]
test ecx, ecx
jns 0x4eb42b
mov ecx, dword [edx + 0x74]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x4eb43a
mov eax, 0x784c9c
jmp 0x4eb443
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