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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, ecx
mov dword [esp + 0x38], 0
push ebx
push esi
push edi
mov ecx, dword [eax]
mov edi, edx
mov ebx, dword [eax + 8]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x38]
dec ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
dec ecx
mov dword [eax + 0x38], ecx
mov esi, dword [edi + 0x30]
mov al, byte [edi]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0x34]
mov edx, dword [esi]
mov dword [esp + 0x14], edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], ebx
mov byte [esp + 0x13], al
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x28], edx
cmp al, 0x85
je 0x4a56c1
mov eax, dword [esp + 0x34]
mov edi, 1
cmp byte [eax + 0x51], 0
jne 0x4a56bd
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
nop dword [eax + eax]
mov eax, dword [eax + 0x1c]
cmp edi, dword [eax]
jg 0x4a56bd
xor ecx, ecx
test edx, edx
jle 0x4a561f
lea edx, [esi + 0x14]
mov esi, dword [esp + 0x28]
movzx eax, word [edx]
cmp eax, edi
je 0x4a5617
inc ecx
add edx, 0x14
cmp ecx, esi
jl 0x4a5608
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x28]
cmp ecx, edx
jne 0x4a56aa
mov ecx, dword [esp + 0x34]
push 0
push 0x35
call fcn.0043b020
mov esi, eax
add esp, 8
test esi, esi
je 0x4a571f
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x60]
add esp, 0xc
mov ecx, dword [esp + 0x18]
or eax, 0xffffffff
mov byte [esi], 0x98
mov word [esi + 0x22], ax
mov byte [esi + 0x34], 0
or dword [esi + 4], 0x400
push esi
mov dword [esi + 0x18], 1
mov dword [esi + 8], edi
call fcn.004791b0
mov edx, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x54], esi
mov dword [eax + 0x30], esi
test esi, esi
je 0x4a56ae
mov ecx, dword [esp + 0x58]
inc edx
mov dword [esp + 0x28], edx
mov word [ecx + esi + 0x14], di
add ecx, 0x14
mov dword [esp + 0x58], ecx
jmp 0x4a56ae
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
inc edi
cmp byte [ecx + 0x51], 0
je 0x4a55f0
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
lea eax, [edx*4 + 4]
push 0
push eax
call fcn.0043b020
add esp, 8
mov dword [esp + 0x50], eax
test eax, eax
je 0x4a572b
mov edi, dword [esp + 0x28]
mov ecx, 1
mov dword [eax], edi
cmp edi, ecx
jl 0x4a5706
lea edx, [esi + 0x14]
mov ebx, eax
movzx eax, word [edx]
lea edx, [edx + 0x14]
dec eax
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jle 0x4a56f3
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
mov edx, edi
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004a40c0
add esp, 4
mov dword [esp + 0x54], eax
jmp 0x4a5733
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x18]
mov edx, esi
mov dword [edi + 0x30], esi
push 0
mov ecx, dword [eax]
call fcn.00478960
mov ecx, dword [esp + 0x30]
add esp, 4
cmp byte [esp + 0x13], 0x85
mov dword [ecx + 0x30], eax
jne 0x4a5761
xor esi, esi
mov dword [esp + 0x58], esi
jmp 0x4a5854
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + 0x18]
mov edi, dword [eax]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x5c], edi
lea esi, [eax + 1]
inc eax
add eax, edi
mov dword [esp + 0x58], esi
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4a579c
push 0
push esi
push 0
mov edx, 0x45
mov ecx, ebx
call fcn.004605f0
add esp, 0xc
jmp 0x4a57cb
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], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x34]
mov edx, edi
push 1
call fcn.004a2930
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
je 0x4a5850
xor esi, esi
test edi, edi
jle 0x4a5850
mov ebx, dword [esp + 0x14]
lea ecx, [eax + 0x14]
xor edi, edi
mov dword [esp + 0x48], ecx
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x4a5814
mov ecx, dword [esp + 0x18]
push esi
call fcn.004a4070
mov ecx, dword [esp + 0x4c]
add esp, 4
test eax, eax
jne 0x4a582e
jmp 0x4a5816
xor eax, eax
mov edx, dword [ebx + 0x1c]
cmp esi, dword [edx]
jge 0x4a582e
mov edx, dword [edx + edi + 4]
mov ecx, dword [esp + 0x18]
call fcn.00476e60
mov ecx, dword [esp + 0x48]
mov dword [ecx], eax
add edi, 0x14
mov eax, dword [esp + 0x3c]
add ecx, 4
mov dword [esp + 0x48], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x5c]
jl 0x4a57f6
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov edx, edi
mov esi, dword [esp + 0x18]
mov ecx, esi
mov dword [edi + 0x34], 0
push str.ORDER
mov dword [eax + 0x38], 0
push dword [edi + 0x30]
call fcn.00476190
mov eax, dword [esp + 0x34]
add esp, 8
cmp dword [eax + 0x34], 0
jne 0x4a589c
push str.ORDER
push dword [eax + 0x30]
mov edx, eax
mov ecx, esi
call fcn.00476190
add esp, 8
push dword [esp + 0x24]
mov edx, edi
mov ecx, esi
call fcn.004a3f30
add esp, 4
cmp dword [edi + 8], 0
je 0x4a597e
cmp byte [esp + 0x13], 0x85
jne 0x4a597e
mov esi, dword [esi + 0x2c]
mov eax, dword [esp + 0x18]
inc esi
lea edi, [esi + 1]
mov dword [eax + 0x2c], edi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], edi
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4a58e1
inc edx
jmp 0x4a58e4
mov edx, dword [eax + 8]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4a5901
push 0
push esi
push edx
mov edx, 0x4d
mov ecx, ebx
call fcn.004605f0
add esp, 0xc
jmp 0x4a592c
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], 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 0x4a594d
push 0
push edi
push esi
mov edx, 0x4d
mov ecx, ebx
call fcn.004605f0
mov edi, dword [esp + 0x20]
add esp, 0xc
jmp 0x4a5988
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], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a5988
mov dword [esp + 0x4c], 0
xor esi, esi
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x4a5998
mov ecx, dword [esp + 0x34]
call fcn.00478210
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x3c], 0
mov byte [esp + 0x78], 0xd
mov dword [esp + 0x88], 0
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], 0
lea edx, [eax + 1]
mov byte [esp + 0x60], 0xd
mov dword [esp + 0x1c], edx
add edx, 2
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
mov dword [ecx + 0x2c], edx
movzx eax, byte [edi]
mov dword [esp + 0x40], edx
mov dword [esp + 0x70], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
sub eax, 0x85
je 0x4a5a34
sub eax, 1
je 0x4a5a2d
sub eax, 1
je 0x4a5a26
mov eax, str.UNION
jmp 0x4a5a39
mov eax, str.INTERSECT
jmp 0x4a5a39
mov eax, str.EXCEPT
jmp 0x4a5a39
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
push ecx
call fcn.00460bd0
mov edi, dword [ebx + 0x6c]
add esp, 0x10
lea edx, [edi + 1]
cmp dword [ebx + 0x70], edi
jg 0x4a5a6f
push edx
push 0
push dword [esp + 0x28]
mov edx, 0xd
mov ecx, ebx
call fcn.004605f0
add esp, 0xc
mov edi, eax
jmp 0x4a5a9f
mov eax, dword [ebx + 0x68]
lea ecx, [edi + edi*4]
mov dword [ebx + 0x6c], edx
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x38]
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 + 0x2c]
push str.LEFT
push 1
mov dword [eax + 8], esi
mov esi, dword [esp + 0x20]
push esi
call fcn.00460bd0
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x84]
add esp, 0xc
mov ecx, esi
push eax
call fcn.004a9530
mov ecx, dword [ebx + 0x6c]
add esp, 4
cmp dword [ebx + 0x70], ecx
jg 0x4a5af1
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x42
mov ecx, ebx
call fcn.004605f0
add esp, 0xc
jmp 0x4a5b24
mov edx, dword [esp + 0x20]
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 eax, dword [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4a5b47
mov eax, 0x538670
jmp 0x4a5b58
test edi, edi
lea eax, [edx - 1]
cmovns eax, edi
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x5c], eax
lea esi, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x4a5b86
push esi
push 0
push dword [esp + 0x24]
mov edx, 0xd
mov ecx, ebx
call fcn.004605f0
add esp, 0xc
mov dword [esp + 0x5c], eax
jmp 0x4a5bb2
mov edx, dword [esp + 0x1c]
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 + 0x14]
mov eax, dword [esp + 0x4c]
push str.RIGHT
push 1
mov edi, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
push dword [esp + 0x20]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
call fcn.00460bd0
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x6c]
mov ecx, dword [esp + 0x24]
add esp, 0xc
push eax
call fcn.004a9530
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [eax + 8], edi
mov edi, eax
mov dword [edi + 0xc], esi
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4a5c1f
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x42
mov ecx, ebx
call fcn.004605f0
add esp, 0xc
jmp 0x4a5c52
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], 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 edx, edi
push dword [esp + 0x24]
mov esi, dword [ebp + 8]
push dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
push dword [esp + 0x60]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x28]
inc eax
push eax
lea eax, [esp + 0x88]
push esi
push eax
call fcn.004a5190
mov dword [esp + 0x60], eax
add esp, 0x18
mov al, byte [esp + 0x13]
cmp al, 0x85
je 0x4a5c9f
cmp al, 0x84
jne 0x4a5cc7
push dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x64]
push dword [esp + 0x40]
mov edx, edi
push dword [esp + 0x60]
push dword [esp + 0x4c]
push esi
push eax
call fcn.004a5190
add esp, 0x18
mov dword [esp + 0x44], eax
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x4a5d88
add dword [esi], 0xffffffff
jne 0x4a5d88
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4a5d30
cmp dword [ecx + 0x1f8], 0
je 0x4a5cf8
mov edx, esi
call fcn.0043ac60
jmp 0x4a5d88
cmp esi, dword [ecx + 0x14c]
jae 0x4a5d30
cmp esi, dword [ecx + 0x144]
jb 0x4a5d18
mov eax, dword [ecx + 0x140]
mov dword [esi], eax
mov dword [ecx + 0x140], esi
jmp 0x4a5d88
cmp esi, dword [ecx + 0x148]
jb 0x4a5d30
mov eax, dword [ecx + 0x138]
mov dword [esi], eax
mov dword [ecx + 0x138], esi
jmp 0x4a5d88
cmp dword [0x535068], 0
je 0x4a5d7e
mov eax, dword [0x538818]
test eax, eax
je 0x4a5d4c
push eax
call dword [0x5350b8]
add esp, 4
push esi
call dword [0x535094]
sub dword [0x538620], eax
add esp, 4
dec dword [0x538644]
push esi
call dword [0x53508c]
mov eax, dword [0x538818]
add esp, 4
test eax, eax
je 0x4a5d88
push eax
call dword [0x5350c0]
jmp 0x4a5d85
push esi
call dword [0x53508c]
add esp, 4
mov al, byte [esp + 0x13]
cmp al, 0x86
je 0x4a5f3b
cmp al, 0x87
je 0x4a5f3b
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x58], esi
cmp dword [ebx + 0x70], esi
jg 0x4a5dc9
push 0
push dword [esp + 0x48]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x48]
call fcn.004605f0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x58], esi
jmp 0x4a5dfc
mov edx, dword [esp + 0x40]
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 + 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 + 0x6c]
mov dword [esp + 0x4c], edx
cmp dword [ebx + 0x70], edx
jg 0x4a5e27
push 0
push dword [esp + 0x28]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x24]
call fcn.004605f0
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x4a5e5a
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 + 4], edx
mov edx, dword [esp + 0x24]
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 0x4a5e78
push 0
push esi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.004605f0
add esp, 0xc
jmp 0x4a5ea7
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 + 0x2c]
movzx edi, word [edi + 2]
movsx ecx, di
movzx esi, word [eax + 2]
movsx edx, si
cmp di, si
jl 0x4a5ef3
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x4a5ed9
mov esi, dword [esp + 0x58]
mov eax, edi
mov edi, dword [esp + 0x14]
mov word [edi + 2], ax
mov al, byte [esp + 0x13]
jmp 0x4a5f45
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x4a5ee5
lea eax, [edi + 1]
jmp 0x4a5f26
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, di
jmp 0x4a5f26
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x4a5f0e
mov edi, dword [esp + 0x14]
mov eax, esi
mov esi, dword [esp + 0x58]
mov word [edi + 2], ax
mov al, byte [esp + 0x13]
jmp 0x4a5f45
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x4a5f1a
lea eax, [esi + 1]
jmp 0x4a5f26
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, si
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x58]
movzx eax, ax
mov word [edi + 2], ax
mov al, byte [esp + 0x13]
jmp 0x4a5f45
mov ecx, dword [esp + 0x24]
mov esi, ecx
mov dword [esp + 0x4c], ecx
cmp al, 0x87
jne 0x4a5f91
mov eax, dword [esp + 0x2c]
movzx eax, word [eax + 2]
cmp word [edi + 2], ax
jle 0x4a5f5b
mov word [edi + 2], ax
mov edi, esi
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x3c], edx
cmp dword [ebx + 0x70], edx
jg 0x4a609b
mov eax, dword [esp + 0x1c]
mov edx, 0xc
push 0
push dword [esp + 0x4c]
inc eax
mov ecx, ebx
push eax
call fcn.004605f0
add esp, 0xc
mov dword [esp + 0x3c], eax
jmp 0x4a60d3
mov edi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edi
jg 0x4a5fb8
mov eax, dword [esp + 0x1c]
mov edx, 0xc
push 0
push dword [esp + 0x4c]
inc eax
mov ecx, ebx
push eax
call fcn.004605f0
add esp, 0xc
mov edi, eax
jmp 0x4a5ff0
mov edx, dword [esp + 0x1c]
lea eax, [edi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [ebx + 0x68]
inc edx
mov ebx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
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 0x4a6013
push 0
push dword [esp + 0x28]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x28]
call fcn.004605f0
add esp, 0xc
jmp 0x4a6046
mov edx, dword [esp + 0x20]
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 + 0x24]
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 0x4a6067
push 0
push edi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.004605f0
add esp, 0xc
jmp 0x4a5f5d
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 0x4a5f5d
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 ebx, dword [esp + 0x38]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
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 0x4a60f3
push 0
push esi
push dword [esp + 0x28]
mov edx, 0xe
mov ecx, ebx
call fcn.004605f0
add esp, 0xc
jmp 0x4a6122
mov edx, dword [esp + 0x20]
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 0x4a6143
push 0
push dword [esp + 0x34]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.004605f0
add esp, 0xc
jmp 0x4a6176
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], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [esp + 0x13]
cmp al, 0x85
jne 0x4a618b
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
jmp 0x4a624c
cmp al, 0x87
jne 0x4a61a1
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
inc eax
mov dword [esp + 0x3c], eax
jmp 0x4a624c
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x48], edx
cmp dword [ebx + 0x70], edx
jg 0x4a61c9
push 0
push esi
push dword [esp + 0x28]
mov edx, 0xe
mov ecx, ebx
call fcn.004605f0
add esp, 0xc
mov dword [esp + 0x48], eax
jmp 0x4a61f8
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x20]
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 0x4a6219
push 0
push dword [esp + 0x34]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.004605f0
add esp, 0xc
jmp 0x4a624c
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], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [esp + 0x13]
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x58], ecx
cmp al, 0x85
je 0x4a625f
cmp al, 0x84
jne 0x4a62b2
cmp dword [ebx + 0x70], ecx
jg 0x4a627f
push 0
push dword [esp + 0x48]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x48]
call fcn.004605f0
add esp, 0xc
jmp 0x4a62b2
mov edx, dword [esp + 0x40]
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], 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 + 0x1c]
cmp dword [ebx + 0x70], ecx
jg 0x4a62d3
push 0
push edi
push esi
mov edx, 0xe
mov ecx, ebx
call fcn.004605f0
add esp, 0xc
jmp 0x4a62fe
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 0x4a631f
push 0
push dword [esp + 0x34]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.004605f0
add esp, 0xc
jmp 0x4a6352
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], 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 [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4a6364
mov eax, 0x538670
jmp 0x4a6379
mov ecx, dword [esp + 0x5c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4a63a0
mov edx, dword [esp + 0x4c]
mov ecx, ebx
push 0
push edx
push dword [esp + 0x28]
mov edx, 0xe
call fcn.004605f0
add esp, 0xc
jmp 0x4a63d3
mov edx, dword [esp + 0x20]
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 + 0x4c]
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 0x4a63f0
push 0
push edi
push esi
mov edx, 0xe
mov ecx, ebx
call fcn.004605f0
add esp, 0xc
jmp 0x4a641b
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 + 0x30]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4a6439
push edx
mov edx, ebx
call fcn.00460e00
add esp, 4
jmp 0x4a6442
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 0x4a6463
push 0
push 0
push 0
mov edx, 0x55
mov ecx, ebx
call fcn.004605f0
add esp, 0xc
mov edx, eax
jmp 0x4a6496
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 ecx, dword [ebx]
cmp byte [ecx + 0x51], 0
je 0x4a64b1
push dword [esp + 0x50]
mov edx, 0xfffffff1
call fcn.00461360
add esp, 4
jmp 0x4a64ec
test edx, edx
jns 0x4a64b9
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 0x4a64dd
push 0xfffffffffffffff1
push dword [esp + 0x54]
mov edx, eax
mov ecx, ebx
call fcn.00461570
add esp, 8
jmp 0x4a64ec
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x4a64ec
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf1
mov edx, dword [ebx + 0x6c]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x80]
cmp dword [ebx + 0x70], edx
jg 0x4a6518
push dword [esp + 0x28]
mov edx, 0x56
mov ecx, ebx
push esi
push edi
call fcn.004605f0
add esp, 0xc
mov edx, eax
jmp 0x4a6547
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x56
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 0x4a6563
mov edx, dword [esp + 0x54]
push edx
mov edx, 0xfffffff7
call fcn.00461360
add esp, 4
jmp 0x4a659b
test edx, edx
jns 0x4a656b
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 + 0x54]
je 0x4a6590
push 0xfffffffffffffff7
push edx
mov edx, eax
mov ecx, ebx
call fcn.00461570
add esp, 8
jmp 0x4a659b
test edx, edx
je 0x4a659b
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov ecx, dword [ebx + 0x6c]
test ecx, ecx
jle 0x4a65b5
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
mov edx, 1
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4a65d9
mov edx, dword [esp + 0x58]
mov ecx, ebx
push edx
mov edx, dword [esp + 0x4c]
push edx
push dword [esp + 0x44]
mov edx, 0x10
call fcn.004605f0
add esp, 0xc
jmp 0x4a660c
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 + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x58]
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 + 0x24]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4a662a
push edx
mov edx, ebx
call fcn.00460e00
add esp, 4
jmp 0x4a6633
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov ebx, dword [esp + 0x14]
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x4a664c
mov ecx, dword [esp + 0x34]
push 1
call fcn.004a0c10
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x34], eax
mov dword [eax + 0x38], ebx
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx + 0xd4]
test ecx, ecx
jne 0x4a6668
xor eax, eax
jmp 0x4a668e
mov edx, dword [ebx + 8]
test ecx, ecx
jns 0x4a6673
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x4a6682
mov eax, 0x538670
jmp 0x4a668b
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [ebx + 0xd4], eax
xor eax, eax
cmp dword [ebx + 0x24], eax
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret