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

Disassembly:
sub esp, 0x80
mov ecx, dword [esp + 0x84]
push ebx
push ebp
push esi
mov eax, dword [ecx]
mov esi, dword [esp + 0x94]
mov ebx, dword [ecx + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x38]
dec eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x1c], eax
dec eax
mov dword [ecx + 0x38], eax
mov ecx, dword [esi + 0x34]
push edi
mov edi, dword [esi + 0x30]
mov dword [esp + 0x28], eax
movzx eax, byte [esi]
mov dword [esp + 0x30], 0
mov edx, dword [edi]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], edx
cmp eax, 0x85
je 0x494e3e
mov eax, dword [esp + 0x2c]
mov esi, 1
cmp byte [eax + 0x51], 0
jne 0x494e37
mov eax, dword [esp + 0x98]
lea ebp, [edx + edx*4]
shl ebp, 2
jmp 0x494d80
mov eax, dword [eax + 0x1c]
cmp esi, dword [eax]
jg 0x494e37
xor ecx, ecx
test edx, edx
jle 0x494daf
mov ebx, dword [esp + 0x10]
lea edx, [edi + 0x14]
movzx eax, word [edx]
cmp eax, esi
je 0x494da7
inc ecx
add edx, 0x14
cmp ecx, ebx
jl 0x494d98
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
cmp ecx, edx
jne 0x494e21
push 0
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0
push eax
push 0x98
push dword [esp + 0x38]
mov dword [esp + 0x64], 0
call fcn.004af800
add esp, 0x10
test eax, eax
je 0x494e9b
or dword [eax + 4], 0x400
push eax
push edi
push dword [esp + 0x9c]
mov dword [eax + 8], esi
call fcn.004b38b0
mov edx, dword [esp + 0x1c]
mov edi, eax
mov eax, dword [esp + 0xa4]
add esp, 0xc
mov dword [eax + 0x30], edi
test edi, edi
je 0x494e28
inc edx
mov word [edi + ebp + 0x14], si
mov dword [esp + 0x10], edx
add ebp, 0x14
jmp 0x494e28
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x2c]
inc esi
cmp byte [ecx + 0x51], 0
je 0x494d80
mov esi, dword [esp + 0x98]
lea eax, [edx*4 + 4]
push 0
push eax
push dword [esp + 0x34]
call fcn.004ad310
mov ebp, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x44], eax
test eax, eax
je 0x494eab
mov ecx, 1
mov dword [eax], ebp
cmp ebp, ecx
jl 0x494e83
lea edx, [edi + 0x14]
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 0x494e70
mov ebx, dword [esp + 0x48]
push 1
push esi
push dword [esp + 0x9c]
call fcn.00495e60
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x494eb3
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x80
ret
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x94]
push 0
mov dword [esi + 0x30], edi
push edi
push dword [eax]
call fcn.004b3ba0
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov edi, dword [esp + 0x1c]
mov dword [ecx + 0x30], eax
cmp edi, 0x85
jne 0x494eea
mov dword [esp + 0x40], 0
jmp 0x494ffd
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x94]
mov edi, dword [eax]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x50], edi
lea edx, [eax + 1]
inc eax
add eax, edi
mov dword [esp + 0x40], edx
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x494f24
push 0
push edx
push 0
push 0x45
push ebx
call fcn.00490570
add esp, 0x14
jmp 0x494f57
mov ebp, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x45
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
push 1
push edi
push dword [esp + 0x34]
call fcn.004c16f0
add esp, 0xc
mov dword [esp + 0x30], eax
test eax, eax
je 0x494ff9
xor esi, esi
test edi, edi
jle 0x494ff2
mov ebp, dword [esp + 0x50]
xor edi, edi
mov ebx, dword [esp + 0x98]
add eax, 0x14
mov dword [esp + 0x3c], eax
lea esp, [esp]
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x494fae
push esi
push eax
push dword [esp + 0x9c]
call fcn.00494ca0
add esp, 0xc
test eax, eax
jne 0x494fca
jmp 0x494fb0
xor eax, eax
mov ecx, dword [ebx + 0x1c]
cmp esi, dword [ecx]
jge 0x494fca
push dword [ecx + edi + 4]
push dword [esp + 0x98]
call fcn.004b24d0
add esp, 8
mov ecx, dword [esp + 0x3c]
add edi, 0x14
mov dword [ecx], eax
add ecx, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, ebp
jl 0x494f90
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push str.ORDER
mov dword [esi + 0x34], 0
mov dword [eax + 0x38], 0
push dword [esi + 0x30]
push esi
push dword [esp + 0xa0]
call fcn.004cac80
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp dword [eax + 0x34], 0
jne 0x495049
push str.ORDER
push dword [eax + 0x30]
push eax
push dword [esp + 0xa0]
call fcn.004cac80
add esp, 0x10
push dword [esp + 0x20]
push esi
push dword [esp + 0x9c]
call fcn.00474150
add esp, 0xc
cmp dword [esi + 8], 0
je 0x49512a
cmp edi, 0x85
jne 0x49512a
mov ecx, dword [esp + 0x94]
mov edi, dword [ecx + 0x2c]
inc edi
lea eax, [edi + 1]
mov dword [ecx + 0x2c], eax
mov edx, dword [esi + 0xc]
mov dword [esp + 0x3c], eax
test edx, edx
je 0x495092
inc edx
jmp 0x495095
mov edx, dword [esi + 8]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4950ae
push 0
push edi
push edx
push 0x4d
push ebx
call fcn.00490570
add esp, 0x14
jmp 0x4950dd
mov ebp, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x4d
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 0x4950f9
push 0
push dword [esp + 0x40]
push edi
push 0x4d
push ebx
call fcn.00490570
add esp, 0x14
jmp 0x495134
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x4d
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
jmp 0x495134
mov dword [esp + 0x3c], 0
xor edi, edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x495148
push eax
push dword [esp + 0x30]
call fcn.004b2a40
add esp, 8
mov ecx, dword [esp + 0x94]
mov dword [esi + 0x3c], 0
mov byte [esp + 0x74], 0xd
mov dword [esp + 0x7c], 0
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x88], 0
lea eax, [edx + 1]
mov dword [esp + 0x80], 0
mov dword [esp + 0x14], eax
add eax, 2
mov dword [esp + 0x34], eax
mov dword [ecx + 0x2c], eax
lea eax, [edx + 1]
mov dword [esp + 0x5c], eax
movzx eax, byte [esi]
mov dword [esp + 0x84], 0
mov byte [esp + 0x58], 0xd
mov dword [esp + 0x60], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
sub eax, 0x85
je 0x4951f4
dec eax
je 0x4951ed
dec eax
je 0x4951e6
mov eax, str.UNION
jmp 0x4951f9
mov eax, str.INTERSECT
jmp 0x4951f9
mov eax, str.EXCEPT
jmp 0x4951f9
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
push ecx
call fcn.004dc4f0
mov esi, dword [ebx + 0x6c]
add esp, 0x10
lea edx, [esi + 1]
cmp dword [ebx + 0x70], esi
jg 0x49522b
push edx
push 0
push dword [esp + 0x20]
push 0xd
push ebx
call fcn.00490570
add esp, 0x14
mov esi, eax
jmp 0x49525b
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
mov ebp, dword [esp + 0x18]
mov dword [ebx + 0x6c], edx
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x10]
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 + 0x24]
push str.LEFT
push 1
mov dword [eax + 8], edi
mov edi, dword [esp + 0x9c]
push edi
call fcn.004dc4f0
lea eax, [esp + 0x80]
push eax
push dword [esp + 0x34]
push edi
call fcn.004cc380
mov ecx, dword [ebx + 0x6c]
add esp, 0x18
cmp dword [ebx + 0x70], ecx
jg 0x4952a8
push 0
push 0
push dword [esp + 0x20]
push 0x42
push ebx
call fcn.00490570
add esp, 0x14
jmp 0x4952db
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], 0x42
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 0x4952f6
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x495305
mov eax, 0x530d04
jmp 0x49530e
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 + 0x50], eax
lea edx, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x495338
push edx
push 0
push dword [esp + 0x1c]
push 0xd
push ebx
call fcn.00490570
add esp, 0x14
mov dword [esp + 0x50], eax
jmp 0x495364
mov esi, dword [esp + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x6c], edx
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], esi
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 + 0x98]
mov ecx, dword [esp + 0x3c]
push str.RIGHT
push 1
mov edi, dword [eax + 8]
mov esi, dword [eax + 0xc]
push dword [esp + 0x9c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
call fcn.004dc4f0
lea eax, [esp + 0x64]
push eax
push dword [esp + 0xa8]
push dword [esp + 0xa8]
call fcn.004cc380
mov eax, dword [esp + 0xb0]
add esp, 0x18
mov dword [eax + 8], edi
mov edi, eax
mov dword [edi + 0xc], esi
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4953d9
push 0
push 0
push dword [esp + 0x1c]
push 0x42
push ebx
call fcn.00490570
add esp, 0x14
jmp 0x49540c
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x42
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 + 0x20]
mov esi, dword [esp + 0xa0]
push dword [esp + 0x34]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
push dword [esp + 0x48]
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x20]
inc eax
push eax
push esi
lea eax, [esp + 0x88]
push eax
push edi
push dword [esp + 0xb0]
call fcn.0048e100
mov dword [esp + 0x5c], eax
add esp, 0x20
mov eax, dword [esp + 0x1c]
cmp eax, 0x85
je 0x495465
cmp eax, 0x84
jne 0x49548f
push dword [esp + 0x20]
lea eax, [esp + 0x5c]
push dword [esp + 0x34]
push dword [esp + 0x48]
push dword [esp + 0x40]
push esi
push eax
push edi
push dword [esp + 0xb0]
call fcn.0048e100
add esp, 0x20
mov dword [esp + 0x38], eax
mov esi, dword [esp + 0x30]
test esi, esi
je 0x49554f
dec dword [esi]
jne 0x49554f
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4954fa
cmp dword [ecx + 0x1f8], 0
je 0x4954c2
push esi
push ecx
call fcn.00493c50
add esp, 8
jmp 0x49554f
cmp esi, dword [ecx + 0x14c]
jae 0x4954fa
cmp esi, dword [ecx + 0x144]
jb 0x4954e2
mov eax, dword [ecx + 0x140]
mov dword [esi], eax
mov dword [ecx + 0x140], esi
jmp 0x49554f
cmp esi, dword [ecx + 0x148]
jb 0x4954fa
mov eax, dword [ecx + 0x138]
mov dword [esi], eax
mov dword [ecx + 0x138], esi
jmp 0x49554f
cmp dword [0x52e2d8], 0
je 0x495545
mov eax, dword [0x530c58]
test eax, eax
je 0x495516
push eax
call dword [0x52e328]
add esp, 4
push esi
call dword [0x52e304]
sub dword [0x530be8], eax
dec dword [0x530c0c]
push esi
call dword [0x52e2fc]
mov eax, dword [0x530c58]
add esp, 8
test eax, eax
je 0x49554f
push eax
call dword [0x52e330]
jmp 0x49554c
push esi
call dword [0x52e2fc]
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, 0x86
je 0x495729
cmp eax, 0x87
je 0x495729
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x30], esi
cmp dword [ebx + 0x70], esi
jg 0x495592
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0xc
push ebx
call fcn.00490570
mov esi, eax
add esp, 0x14
mov dword [esp + 0x30], esi
jmp 0x4955c5
mov edx, dword [esp + 0x34]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
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 + 0x40], edx
cmp dword [ebx + 0x70], edx
jg 0x4955ec
push 0
push dword [esp + 0x24]
push dword [esp + 0x1c]
push 0xe
push ebx
call fcn.00490570
add esp, 0x14
mov dword [esp + 0x40], eax
jmp 0x49561f
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x14]
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 [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x495639
push 0
push esi
push 0
push 0xb
push ebx
call fcn.00490570
add esp, 0x14
jmp 0x495668
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 eax, dword [esp + 0x24]
movzx edx, word [edi + 2]
movzx ecx, word [eax + 2]
cmp dx, cx
jl 0x4956d4
movsx esi, cx
movsx ecx, dx
lea eax, [esi + 0x31]
cmp ecx, eax
jle 0x495699
mov esi, dword [esp + 0x30]
mov eax, edx
mov word [edi + 2], ax
mov eax, dword [esp + 0x1c]
jmp 0x495733
lea eax, [esi + 0x1f]
cmp ecx, eax
jle 0x4956b7
mov esi, dword [esp + 0x30]
lea eax, [edx + 1]
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x1c]
jmp 0x495733
sub ecx, esi
mov esi, dword [esp + 0x30]
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 + 0x1c]
jmp 0x495733
movsx esi, dx
movsx edx, cx
lea eax, [esi + 0x31]
cmp edx, eax
jle 0x4956f1
mov esi, dword [esp + 0x30]
mov eax, ecx
mov word [edi + 2], ax
mov eax, dword [esp + 0x1c]
jmp 0x495733
lea eax, [esi + 0x1f]
cmp edx, eax
jle 0x49570c
mov esi, dword [esp + 0x30]
lea eax, [ecx + 1]
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x1c]
jmp 0x495733
sub edx, esi
mov esi, dword [esp + 0x30]
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 + 0x1c]
jmp 0x495733
mov ecx, dword [esp + 0x20]
mov esi, ecx
mov dword [esp + 0x40], ecx
cmp eax, 0x87
jne 0x49577e
mov eax, dword [esp + 0x24]
movzx eax, word [eax + 2]
cmp word [edi + 2], ax
jle 0x49574c
mov word [edi + 2], ax
mov edi, esi
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x30], edx
cmp dword [ebx + 0x70], edx
jg 0x49587c
mov eax, dword [esp + 0x14]
push 0
push dword [esp + 0x40]
inc eax
push eax
push 0xc
push ebx
call fcn.00490570
add esp, 0x14
mov dword [esp + 0x30], eax
jmp 0x4958b4
mov edi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edi
jg 0x4957a1
mov eax, dword [esp + 0x14]
push 0
push dword [esp + 0x40]
inc eax
push eax
push 0xc
push ebx
call fcn.00490570
add esp, 0x14
mov edi, eax
jmp 0x4957d9
mov edx, dword [esp + 0x14]
lea eax, [edi + 1]
mov ebp, dword [esp + 0x10]
lea ecx, [edi + edi*4]
mov dword [ebx + 0x6c], eax
inc edx
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]
cmp dword [ebx + 0x70], ecx
jg 0x4957f8
push 0
push dword [esp + 0x24]
push dword [esp + 0x20]
push 0xe
push ebx
call fcn.00490570
add esp, 0x14
jmp 0x49582b
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 + 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 [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x495848
push 0
push edi
push 0
push 0xb
push ebx
call fcn.00490570
add esp, 0x14
jmp 0x49574e
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
jmp 0x49574e
mov ebp, dword [esp + 0x10]
lea eax, [edx + 1]
lea ecx, [edx + edx*4]
mov dword [ebx + 0x6c], eax
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x14]
inc edx
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]
cmp dword [ebx + 0x70], ecx
jg 0x4958d0
push 0
push esi
push dword [esp + 0x20]
push 0xe
push ebx
call fcn.00490570
add esp, 0x14
jmp 0x4958ff
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], 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 + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x49591c
push 0
push dword [esp + 0x2c]
push 0
push 0xb
push ebx
call fcn.00490570
add esp, 0x14
jmp 0x49594f
mov edx, dword [esp + 0x28]
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], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
cmp eax, 0x85
jne 0x495967
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
jmp 0x495a23
cmp eax, 0x87
jne 0x495980
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
inc eax
mov dword [esp + 0x30], eax
jmp 0x495a23
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x10], edx
cmp dword [ebx + 0x70], edx
jg 0x4959a4
push 0
push esi
push dword [esp + 0x20]
push 0xe
push ebx
call fcn.00490570
add esp, 0x14
mov dword [esp + 0x10], eax
jmp 0x4959d3
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], 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 + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4959f0
push 0
push dword [esp + 0x2c]
push 0
push 0xb
push ebx
call fcn.00490570
add esp, 0x14
jmp 0x495a23
mov edx, dword [esp + 0x28]
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], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x3c], ecx
cmp eax, 0x85
je 0x495a3c
cmp eax, 0x84
jne 0x495a8b
cmp dword [ebx + 0x70], ecx
jg 0x495a58
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0xc
push ebx
call fcn.00490570
add esp, 0x14
jmp 0x495a8b
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 + 0x38]
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 esi, dword [esp + 0x14]
cmp dword [ebx + 0x70], ecx
jg 0x495aa8
push 0
push edi
push esi
push 0xe
push ebx
call fcn.00490570
add esp, 0x14
jmp 0x495ad3
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], 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 + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x495af0
push 0
push dword [esp + 0x2c]
push 0
push 0xb
push ebx
call fcn.00490570
add esp, 0x14
jmp 0x495b23
mov edx, dword [esp + 0x28]
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], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x50]
mov edx, dword [ebx + 0x6c]
test ecx, ecx
jns 0x495b31
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x495b40
mov eax, 0x530d04
jmp 0x495b49
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 0x495b6c
mov edx, dword [esp + 0x40]
push 0
push edx
push dword [esp + 0x20]
push 0xe
push ebx
call fcn.00490570
add esp, 0x14
jmp 0x495b9f
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 + 4], edx
mov edx, dword [esp + 0x40]
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 0x495bb8
push 0
push edi
push esi
push 0xe
push ebx
call fcn.00490570
add esp, 0x14
jmp 0x495be3
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], 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 + 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x495c01
push edx
push ebx
push ecx
call fcn.0049f060
add esp, 0xc
jmp 0x495c0a
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 0x495c27
push 0
push 0
push 0
push 0x55
push ebx
call fcn.00490570
add esp, 0x14
mov edx, eax
jmp 0x495c5a
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x55
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 + 0x51], 0
je 0x495c73
push dword [esp + 0x44]
push 0xfffffffffffffff1
push eax
call fcn.0047d1f0
add esp, 0xc
jmp 0x495cac
test edx, edx
jns 0x495c7b
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 0x495c9d
push 0xfffffffffffffff1
push dword [esp + 0x48]
push eax
push ebx
call fcn.004ed1b0
add esp, 0x10
jmp 0x495cac
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x495cac
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf1
mov edx, dword [ebx + 0x6c]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x80]
cmp dword [ebx + 0x70], edx
jg 0x495cd1
push ebp
push esi
push edi
push 0x56
push ebx
call fcn.00490570
add esp, 0x14
mov edx, eax
jmp 0x495cfc
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x56
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 + 0x51], 0
je 0x495d16
mov ecx, dword [esp + 0x4c]
push ecx
push 0xfffffffffffffff7
push eax
call fcn.0047d1f0
add esp, 0xc
jmp 0x495d4c
test edx, edx
jns 0x495d1e
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 ecx, dword [esp + 0x4c]
je 0x495d41
push 0xfffffffffffffff7
push ecx
push eax
push ebx
call fcn.004ed1b0
add esp, 0x10
jmp 0x495d4c
test ecx, ecx
je 0x495d4c
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf7
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x495d63
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 0x495d86
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x14]
push edx
push dword [esp + 0x38]
push 0x10
push ebx
call fcn.00490570
add esp, 0x14
jmp 0x495db9
mov edx, dword [esp + 0x30]
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 + 8], edx
mov edx, dword [esp + 0x3c]
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 + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x495dd7
push edx
push ebx
push ecx
call fcn.0049f060
add esp, 0xc
jmp 0x495de0
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov ebx, dword [esp + 0x98]
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x495dfd
push 1
push eax
push dword [esp + 0x34]
call fcn.00471af0
add esp, 0xc
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x34], eax
mov dword [eax + 0x38], ebx
mov ebx, dword [esp + 0x94]
mov ecx, dword [ebx + 0xd8]
test ecx, ecx
jne 0x495e1c
xor eax, eax
jmp 0x495e42
mov edx, dword [ebx + 8]
test ecx, ecx
jns 0x495e27
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x495e36
mov eax, 0x530d04
jmp 0x495e3f
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [ebx + 0xd8], eax
xor eax, eax
cmp dword [ebx + 0x24], eax
pop edi
pop esi
pop ebp
setne al
pop ebx
add esp, 0x80
ret