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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x38]
dec eax
mov dword [esp + 8], ecx
push ebx
mov ebx, dword [ecx + 8]
mov dword [esp + 8], eax
dec eax
mov dword [ecx + 0x38], eax
movzx eax, byte [edx + 4]
mov ecx, dword [edx + 0x34]
mov dword [esp + 0x20], ecx
mov dword [esp + 4], edx
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], eax
push esi
mov esi, dword [edx + 0x30]
push edi
mov ecx, dword [esi]
mov dword [esp + 0x20], ecx
cmp eax, 0x7c
je 0x491b40
mov eax, dword [esp + 0x24]
mov edi, 1
mov dword [esp + 0x40], edi
cmp byte [eax + 0x51], 0
jne 0x491b40
lea eax, [ecx + ecx*2]
shl eax, 3
mov dword [esp + 0x4c], eax
nop
mov eax, dword [edx]
cmp edi, dword [eax]
jg 0x491b40
xor edx, edx
test ecx, ecx
jle 0x491a1e
mov ebx, dword [esp + 0x20]
lea ecx, [esi + 0x18]
movzx eax, word [ecx]
cmp eax, edi
je 0x491a16
inc edx
add ecx, 0x18
cmp edx, ebx
jl 0x491a07
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
cmp edx, ecx
jne 0x491b29
mov ecx, dword [esp + 0x24]
push 0
push 0x35
mov dword [esp + 0x4c], 0
call fcn.00431410
mov edi, eax
add esp, 8
test edi, edi
je 0x491b9e
push 0x34
push 0
push edi
call fcn.005889a0
or eax, 0xffffffff
mov byte [edi], 0x8f
mov word [edi + 0x22], ax
add esp, 0xc
mov eax, dword [esp + 0x40]
mov byte [edi + 0x34], 0
or dword [edi + 4], 0x400
mov dword [edi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x18], 1
mov ecx, dword [eax]
mov dword [esp + 0x54], ecx
test esi, esi
jne 0x491a9f
push esi
push 0x1c
call fcn.00431410
mov esi, eax
add esp, 8
test esi, esi
je 0x491ac2
mov dword [esi], 0
jmp 0x491ae2
mov edx, dword [esi]
lea eax, [edx - 1]
test edx, eax
jne 0x491ae2
lea eax, [edx + edx*2]
mov edx, esi
shl eax, 4
add eax, 4
push 0
push eax
call fcn.004314b0
add esp, 8
test eax, eax
jne 0x491ae0
mov edx, edi
mov edi, dword [esp + 0x54]
mov ecx, edi
call fcn.00467ec0
test esi, esi
je 0x491adc
mov edx, esi
mov ecx, edi
call fcn.00469000
xor esi, esi
jmp 0x491b00
mov esi, eax
mov ecx, dword [esi]
xorps xmm0, xmm0
lea eax, [ecx + ecx*2]
lea edx, [esi + eax*8]
lea eax, [ecx + 1]
mov dword [esi], eax
movups xmmword [edx + 8], xmm0
mov dword [edx + 0x18], 0
mov dword [edx + 4], edi
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x40]
mov dword [edx + 0x30], esi
test esi, esi
je 0x491b23
mov ecx, dword [esp + 0x4c]
inc dword [esp + 0x20]
mov word [ecx + esi + 0x18], di
add ecx, 0x18
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x20]
jmp 0x491b2d
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
inc edi
mov dword [esp + 0x40], edi
cmp byte [eax + 0x51], 0
je 0x4919f0
lea eax, [ecx*4 + 4]
mov ecx, dword [esp + 0x24]
push 0
push eax
call fcn.00431410
add esp, 8
mov dword [esp + 0x48], eax
test eax, eax
je 0x491baa
mov edi, dword [esp + 0x20]
mov ecx, 1
mov dword [eax], edi
cmp edi, ecx
jl 0x491b85
lea edx, [esi + 0x18]
mov ebx, eax
movzx eax, word [edx]
lea edx, [edx + 0x18]
dec eax
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jle 0x491b72
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0xc]
mov edx, edi
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00490320
add esp, 4
mov dword [esp + 0x4c], eax
jmp 0x491bb6
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0xc]
mov dword [esp + 0x4c], 0
mov dword [edi + 0x30], esi
mov edx, esi
mov esi, dword [esp + 0x14]
push 0
mov ecx, dword [esi]
call fcn.00468570
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp dword [esp + 0x2c], 0x7c
mov dword [ecx + 0x30], eax
jne 0x491be6
mov dword [esp + 0x50], 0
jmp 0x491d4d
mov eax, dword [edi]
mov edi, dword [eax]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x54], edi
lea edx, [eax + 1]
inc eax
add eax, edi
mov dword [esp + 0x50], edx
mov dword [esi + 0x2c], eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x491c1c
push 0
push edx
push 0
mov edx, 0x46
mov ecx, ebx
call fcn.00451b20
add esp, 0xc
jmp 0x491c4b
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x46
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 + 0x24]
lea esi, [edi*4 + 1]
add esi, edi
push 0
lea eax, [esi + 0x18]
push eax
call fcn.00431410
mov ecx, eax
add esp, 8
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x491cac
mov edx, dword [esp + 0x24]
lea eax, [ecx + 0x18]
lea eax, [eax + edi*4]
mov word [ecx + 6], di
mov dword [ecx + 0x10], eax
lea eax, [edi + 1]
mov word [ecx + 8], ax
mov al, byte [edx + 0x4e]
push esi
mov byte [ecx + 4], al
lea eax, [ecx + 0x18]
push 0
push eax
mov dword [ecx + 0xc], edx
mov dword [ecx], 1
call fcn.005889a0
mov ecx, dword [esp + 0x40]
add esp, 0xc
jmp 0x491cd9
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x51], 0
jne 0x491cd9
cmp byte [eax + 0x52], 0
jne 0x491cd9
cmp dword [eax + 0xb8], 0
mov byte [eax + 0x51], 1
jle 0x491cd3
mov dword [eax + 0x108], 1
inc dword [eax + 0x110]
test ecx, ecx
je 0x491d4d
xor esi, esi
test edi, edi
jle 0x491d4d
mov ebx, dword [esp + 0x34]
xor edi, edi
add ecx, 0x14
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x34]
test edx, edx
je 0x491d12
mov ecx, dword [esp + 0x14]
push esi
call fcn.004902e0
mov ecx, dword [esp + 0x44]
add esp, 4
test eax, eax
jne 0x491d2f
jmp 0x491d14
xor eax, eax
mov edx, dword [esp + 0xc]
mov edx, dword [edx]
cmp esi, dword [edx]
jge 0x491d2f
mov edx, dword [edx + edi + 4]
mov ecx, dword [esp + 0x14]
call fcn.00466c30
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
add edi, 0x18
mov eax, dword [ebx + 0x10]
add ecx, 4
mov dword [esp + 0x40], ecx
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x54]
jl 0x491cf0
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0xc]
mov edx, esi
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
mov ecx, edi
push str.ORDER
mov dword [esi + 0x34], 0
mov dword [eax + 0x38], 0
push dword [esi + 0x30]
call fcn.00466090
mov eax, dword [esp + 0x30]
add esp, 8
cmp dword [eax + 0x34], 0
jne 0x491d99
push str.ORDER
push dword [eax + 0x30]
mov edx, eax
mov ecx, edi
call fcn.00466090
add esp, 8
push dword [esp + 0x10]
mov edx, esi
mov ecx, edi
call fcn.004901a0
add esp, 4
cmp dword [esi + 0xc], 0
je 0x491e7b
cmp dword [esp + 0x2c], 0x7c
jne 0x491e7b
mov edi, dword [edi + 0x2c]
mov eax, dword [esp + 0x14]
inc edi
lea esi, [edi + 1]
mov dword [eax + 0x2c], esi
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], esi
mov edx, dword [eax + 0x10]
test edx, edx
je 0x491dde
inc edx
jmp 0x491de1
mov edx, dword [eax + 0xc]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x491dfe
push 0
push edi
push edx
mov edx, 0x4e
mov ecx, ebx
call fcn.00451b20
add esp, 0xc
jmp 0x491e29
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x491e4a
push 0
push esi
push edi
mov edx, 0x4e
mov ecx, ebx
call fcn.00451b20
mov esi, dword [esp + 0x18]
add esp, 0xc
jmp 0x491e85
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x491e85
mov dword [esp + 0x44], 0
xor edi, edi
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x491e95
mov ecx, dword [esp + 0x24]
call fcn.00467ec0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x14]
mov dword [esi + 0x3c], 0
mov byte [esp + 0x70], 0xd
inc dword [eax + 0x2c]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x80], 0
lea edx, [ecx + 1]
mov dword [esp + 0x78], 0
lea eax, [edx + 2]
mov dword [esp + 0x18], edx
mov dword [esp + 0x38], eax
mov dword [ebx + 0x2c], eax
movzx eax, byte [esi + 4]
mov dword [esp + 0x7c], 0
mov byte [esp + 0x58], 0xd
mov dword [esp + 0x5c], edx
mov dword [esp + 0x68], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
sub eax, 0x7c
je 0x491f2c
sub eax, 1
je 0x491f25
sub eax, 1
je 0x491f1e
mov eax, str.UNION
jmp 0x491f31
mov eax, str.INTERSECT
jmp 0x491f31
mov eax, str.EXCEPT
jmp 0x491f31
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
push ebx
call fcn.00452050
mov ebx, dword [esp + 0x40]
add esp, 0x10
mov esi, dword [ebx + 0x6c]
lea edx, [esi + 1]
cmp dword [ebx + 0x70], esi
jg 0x491f6b
push edx
push 0
push dword [esp + 0x24]
mov edx, 0xd
mov ecx, ebx
call fcn.00451b20
add esp, 0xc
mov esi, eax
jmp 0x491f9a
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
mov dword [ebx + 0x6c], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
lea edx, [esi + 1]
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 eax, dword [esp + 0x28]
push str.LEFT
push 1
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0x1c]
push edi
call fcn.00452050
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x7c]
add esp, 0xc
mov ecx, edi
push eax
call fcn.004956e0
mov ecx, dword [ebx + 0x6c]
add esp, 4
cmp dword [ebx + 0x70], ecx
jg 0x491fe9
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x43
mov ecx, ebx
call fcn.00451b20
add esp, 0xc
jmp 0x49201c
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x43
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 + 0x6c]
test esi, esi
jns 0x492037
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x492046
mov eax, 0x6562ec
jmp 0x49204f
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x54], eax
lea esi, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x49207d
push esi
push 0
push dword [esp + 0x20]
mov edx, 0xd
mov ecx, ebx
call fcn.00451b20
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x4920a9
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x6c], esi
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x44]
push str.RIGHT
push 1
mov edi, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
push dword [esp + 0x1c]
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0
call fcn.00452050
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x20]
add esp, 0xc
push eax
call fcn.004956e0
mov eax, dword [esp + 0x10]
add esp, 4
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], esi
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x492114
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x43
mov ecx, ebx
call fcn.00451b20
add esp, 0xc
jmp 0x492147
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x43
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 + 0x10]
mov edi, dword [esp + 0x54]
push dword [esp + 0x38]
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
push edi
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x24]
inc eax
push eax
lea eax, [esp + 0x80]
push esi
push eax
call fcn.00491520
mov dword [esp + 0x58], eax
add esp, 0x18
mov eax, dword [esp + 0x2c]
cmp eax, 0x7c
je 0x492199
cmp eax, 0x7b
jne 0x4921c0
push dword [esp + 0x10]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x5c]
push dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
push edi
push dword [esp + 0x44]
push esi
push eax
call fcn.00491520
add esp, 0x18
mov dword [esp + 0x3c], eax
mov esi, dword [esp + 0x34]
test esi, esi
je 0x492269
add dword [esi], 0xffffffff
jne 0x492269
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x492211
cmp dword [ecx + 0x1e0], 0
je 0x4921f1
mov edx, esi
call fcn.00431090
jmp 0x492269
cmp esi, dword [ecx + 0x130]
jb 0x492211
cmp esi, dword [ecx + 0x134]
jae 0x492211
mov eax, dword [ecx + 0x12c]
mov dword [esi], eax
mov dword [ecx + 0x12c], esi
jmp 0x492269
cmp dword [0x64a418], 0
je 0x49225f
mov eax, dword [0x656138]
test eax, eax
je 0x49222d
push eax
call dword [0x64a474]
add esp, 4
push esi
call dword [0x64a450]
sub dword [0x656170], eax
add esp, 4
dec dword [0x656194]
push esi
call dword [0x64a448]
mov eax, dword [0x656138]
add esp, 4
test eax, eax
je 0x492269
push eax
call dword [0x64a47c]
jmp 0x492266
push esi
call dword [0x64a448]
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, 0x7d
je 0x492447
cmp eax, 0x7e
je 0x492447
mov edi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edi
jg 0x4922a4
push 0
push dword [esp + 0x40]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x40]
call fcn.00451b20
add esp, 0xc
mov edi, eax
jmp 0x4922d7
mov edx, dword [esp + 0x38]
lea eax, [edi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
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 + 0x6c]
mov dword [esp + 0x44], edx
cmp dword [ebx + 0x70], edx
jg 0x492302
push 0
push dword [esp + 0x14]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x20]
call fcn.00451b20
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x492335
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
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 + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x492353
push 0
push edi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.00451b20
add esp, 0xc
jmp 0x492382
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
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
mov eax, dword [esp + 0x28]
movzx ecx, word [eax + 6]
mov eax, dword [esp + 0xc]
movzx edx, word [eax + 6]
cmp dx, cx
jl 0x4923f2
movsx esi, cx
movsx ecx, dx
lea eax, [esi + 0x31]
cmp ecx, eax
jle 0x4923b7
mov ecx, dword [esp + 0xc]
mov eax, edx
mov word [ecx + 6], ax
mov eax, dword [esp + 0x2c]
jmp 0x492455
lea eax, [esi + 0x1f]
cmp ecx, eax
jle 0x4923d5
mov ecx, dword [esp + 0xc]
lea eax, [edx + 1]
movzx eax, ax
mov word [ecx + 6], ax
mov eax, dword [esp + 0x2c]
jmp 0x492455
sub ecx, esi
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
mov ecx, dword [esp + 0xc]
add ax, dx
movzx eax, ax
mov word [ecx + 6], ax
mov eax, dword [esp + 0x2c]
jmp 0x492455
movsx esi, dx
movsx edx, cx
lea eax, [esi + 0x31]
cmp edx, eax
jle 0x49240f
mov eax, ecx
mov ecx, dword [esp + 0xc]
mov word [ecx + 6], ax
mov eax, dword [esp + 0x2c]
jmp 0x492455
lea eax, [esi + 0x1f]
cmp edx, eax
jle 0x49242a
lea eax, [ecx + 1]
mov ecx, dword [esp + 0xc]
movzx eax, ax
mov word [ecx + 6], ax
mov eax, dword [esp + 0x2c]
jmp 0x492455
sub edx, esi
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, cx
mov ecx, dword [esp + 0xc]
movzx eax, ax
mov word [ecx + 6], ax
mov eax, dword [esp + 0x2c]
jmp 0x492455
mov ecx, dword [esp + 0x10]
mov edi, ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0xc]
cmp eax, 0x7e
jne 0x492477
mov eax, dword [esp + 0x28]
mov esi, edi
movzx eax, word [eax + 6]
cmp word [ecx + 6], ax
jle 0x492575
mov word [ecx + 6], ax
jmp 0x492575
mov esi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], esi
jg 0x49249e
mov eax, dword [esp + 0x18]
mov edx, 0xc
push 0
push dword [esp + 0x44]
inc eax
mov ecx, ebx
push eax
call fcn.00451b20
add esp, 0xc
mov esi, eax
jmp 0x4924d2
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
inc edx
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 [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4924f5
push 0
push dword [esp + 0x14]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x24]
call fcn.00451b20
add esp, 0xc
jmp 0x492528
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
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 + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x492546
push 0
push esi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.00451b20
add esp, 0xc
jmp 0x492575
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
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 edx, dword [ebx + 0x6c]
mov dword [esp + 0x34], edx
cmp dword [ebx + 0x70], edx
jg 0x4925a2
mov eax, dword [esp + 0x18]
mov edx, 0xc
push 0
push dword [esp + 0x44]
inc eax
mov ecx, ebx
push eax
call fcn.00451b20
add esp, 0xc
mov dword [esp + 0x34], eax
jmp 0x4925d6
lea eax, [edx + 1]
lea ecx, [edx + edx*4]
mov dword [ebx + 0x6c], eax
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x18]
inc edx
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 [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4925f6
push 0
push edi
push dword [esp + 0x24]
mov edx, 0xe
mov ecx, ebx
call fcn.00451b20
add esp, 0xc
jmp 0x492625
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x492648
mov eax, dword [esp + 0x10]
mov edx, 0xb
push 0
dec eax
mov ecx, ebx
push eax
push 0
call fcn.00451b20
add esp, 0xc
jmp 0x492680
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
dec edx
mov ebx, dword [esp + 0x30]
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 + 0x2c]
cmp eax, 0x7c
jne 0x492696
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], eax
jmp 0x49275b
cmp eax, 0x7e
jne 0x4926ad
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], eax
inc eax
mov dword [esp + 0x34], eax
jmp 0x49275b
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x40], edx
cmp dword [ebx + 0x70], edx
jg 0x4926d5
push 0
push edi
push dword [esp + 0x24]
mov edx, 0xe
mov ecx, ebx
call fcn.00451b20
add esp, 0xc
mov dword [esp + 0x40], eax
jmp 0x492704
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x492727
mov eax, dword [esp + 0x10]
mov edx, 0xb
push 0
dec eax
mov ecx, ebx
push eax
push 0
call fcn.00451b20
add esp, 0xc
jmp 0x49275b
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
dec edx
mov dword [eax + ecx*4], 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 + 0x2c]
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x50], ecx
cmp eax, 0x7c
je 0x492770
cmp eax, 0x7b
jne 0x4927c3
cmp dword [ebx + 0x70], ecx
jg 0x492790
push 0
push dword [esp + 0x40]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x40]
call fcn.00451b20
add esp, 0xc
jmp 0x4927c3
mov edx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
mov edi, dword [esp + 0x18]
cmp dword [ebx + 0x70], ecx
jg 0x4927e4
push 0
push esi
push edi
mov edx, 0xe
mov ecx, ebx
call fcn.00451b20
add esp, 0xc
jmp 0x49280f
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x492832
mov eax, dword [esp + 0x10]
mov edx, 0xb
push 0
dec eax
mov ecx, ebx
push eax
push 0
call fcn.00451b20
add esp, 0xc
jmp 0x49286a
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
mov dword [ebx + 0x6c], eax
dec edx
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 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 + 0x6c]
test ecx, ecx
jns 0x492878
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x492887
mov eax, 0x6562ec
jmp 0x492890
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4928b7
mov edx, dword [esp + 0x44]
mov ecx, ebx
push 0
push edx
push dword [esp + 0x24]
mov edx, 0xe
call fcn.00451b20
add esp, 0xc
jmp 0x4928ea
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
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 + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x492907
push 0
push esi
push edi
mov edx, 0xe
mov ecx, ebx
call fcn.00451b20
add esp, 0xc
jmp 0x492932
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edi
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 + 0xc]
mov edx, dword [esp + 0x10]
dec edx
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x492951
push edx
mov edx, ebx
call fcn.00452300
add esp, 4
jmp 0x49295a
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edx
jg 0x49297b
push 0
push 0
push 0
mov edx, 0x56
mov ecx, ebx
call fcn.00451b20
add esp, 0xc
mov edx, eax
jmp 0x4929ae
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x56
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 [ebx]
cmp byte [ecx + 0x51], 0
je 0x4929c9
push dword [esp + 0x48]
mov edx, 0xfffffff1
call fcn.00452860
add esp, 4
jmp 0x492a04
test edx, edx
jns 0x4929d1
mov edx, dword [ebx + 0x6c]
dec edx
mov eax, dword [ebx + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4929f5
push 0xfffffffffffffff1
push dword [esp + 0x4c]
mov edx, eax
mov ecx, ebx
call fcn.00452a40
add esp, 8
jmp 0x492a04
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x492a04
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf1
mov edx, dword [ebx + 0x6c]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x78]
cmp dword [ebx + 0x70], edx
jg 0x492a2d
push dword [esp + 0x20]
mov edx, 0x57
mov ecx, ebx
push esi
push edi
call fcn.00451b20
add esp, 0xc
mov edx, eax
jmp 0x492a5c
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x57
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx]
cmp byte [ecx + 0x51], 0
je 0x492a78
mov edx, dword [esp + 0x4c]
push edx
mov edx, 0xfffffff7
call fcn.00452860
add esp, 4
jmp 0x492ab0
test edx, edx
jns 0x492a80
mov edx, dword [ebx + 0x6c]
dec edx
mov eax, dword [ebx + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov edx, dword [esp + 0x4c]
je 0x492aa5
push 0xfffffffffffffff7
push edx
mov edx, eax
mov ecx, ebx
call fcn.00452a40
add esp, 8
jmp 0x492ab0
test edx, edx
je 0x492ab0
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x492ac7
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x492aee
mov edx, dword [esp + 0x50]
mov ecx, ebx
push edx
mov edx, dword [esp + 0x44]
push edx
push dword [esp + 0x3c]
mov edx, 0x10
call fcn.00451b20
add esp, 0xc
jmp 0x492b21
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x50]
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 + 0x10]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x492b3f
push edx
mov edx, ebx
call fcn.00452300
add esp, 4
jmp 0x492b48
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov ebx, dword [esp + 0xc]
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x492b61
mov ecx, dword [esp + 0x24]
push 1
call fcn.0048cae0
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x34], eax
mov dword [eax + 0x38], ebx
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 0xd0]
test ecx, ecx
jne 0x492b7d
xor eax, eax
jmp 0x492ba3
mov edx, dword [ebx + 8]
test ecx, ecx
jns 0x492b88
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x492b97
mov eax, 0x6562ec
jmp 0x492ba0
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [ebx + 0xd0], eax
xor eax, eax
cmp dword [ebx + 0x24], eax
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret