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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x66a7ae
sub esp, 0xb4
mov eax, 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov byte [esp + 0x2f], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
movzx eax, byte [esp + 0xc8]
mov byte [esp + 8], al
call fcn.00669eb0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test ecx, ecx
jne 0x66a78d
mov dword [esp + 0x38], eax
nop
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x242
mov dword [esp + 0xc], 0x1b6
call fcn.004c8950
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test eax, eax
je 0x66a405
movzx ebp, byte [esp + 0xc8]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x66a3f0
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], ebx
lea edi, [esp + 0x84]
xor eax, eax
call fcn.00464426
lea ecx, [0x68de40]
mov dword [esp + 0x84], ecx
lea edx, [0x7301d8]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
lea edx, [0x7301e0]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0xb8]
mov dword [esp], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 4], edx
call fcn.00409640
mov ecx, dword [esp + 8]
lea edx, [0x68de40]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
lea ecx, [0x730218]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x66a372
mov ecx, dword [ecx + 4]
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa8], eax
mov ecx, dword [0x8c0938]
lea edx, [0x730b84]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x84]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 5
mov dword [esp + 0x10], 5
call fcn.004cef70
nop
mov eax, dword [0x8c0938]
lea ecx, [0x730b84]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004cef70
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], edx
add esp, 0xb4
ret
mov dword [esp + 0x30], ebp
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea eax, [0x66a810]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ebp
lea eax, [esp + 0x48]
mov dword [esp + 0xb0], eax
mov byte [esp + 0x2f], 1
mov eax, dword [str.https:__github.com_amidaware_rmmagent_releases_download_v2.6.1_tacticalagent_v2.6.1_windows_386.exe]
mov ecx, dword [0x8bb6b4]
mov edx, dword [esp + 0x38]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0060f010
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test ecx, ecx
je 0x66a531
movzx eax, byte [esp + 0xc8]
test al, al
je 0x66a50c
mov dword [esp + 0x40], ebp
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x68de40]
mov dword [esp + 0x74], eax
lea eax, [0x730220]
mov dword [esp + 0x78], eax
test edx, edx
je 0x66a4c5
mov edx, dword [edx + 4]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ebx
mov eax, dword [0x8c0938]
lea ecx, [0x730b84]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cef70
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xd0], ebx
mov byte [esp + 0x2f], 0
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
call eax
add esp, 0xb4
ret
mov ecx, dword [eax + 0x20]
test byte [ecx], al
mov edx, dword [eax + 0x24]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea ebx, [0x66a7c0]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
lea ecx, [esp + 0x58]
mov dword [esp + 0xac], ecx
mov byte [esp + 0x2f], 3
cmp dword [eax + 8], 0xc8
jne 0x66a6ef
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x34], eax
lea edx, [0x6960a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00409740
lea eax, [0x730b84]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0046d510
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
test eax, eax
je 0x66a6b2
movzx eax, byte [esp + 0xc8]
test al, al
je 0x66a67d
mov dword [esp + 0x40], ebx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [0x68de40]
mov dword [esp + 0x64], eax
lea eax, [0x730228]
mov dword [esp + 0x68], eax
test ecx, ecx
je 0x66a639
mov ecx, dword [ecx + 4]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov eax, dword [0x8c0938]
lea ecx, [0x730b84]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cef70
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], edx
mov byte [esp + 0x2f], 1
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2f], 0
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
call eax
add esp, 0xb4
ret
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov byte [esp + 0x2f], 1
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2f], 0
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
call eax
add esp, 0xb4
ret
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409640
mov eax, dword [esp + 8]
lea ecx, [0x68de40]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [0x6cbd89]
mov dword [esp], eax
mov dword [esp + 4], 0x10
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cbfe0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
mov byte [esp + 0x2f], 1
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2f], 0
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
call eax
add esp, 0xb4
ret
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], ebx
add esp, 0xb4
ret
call fcn.00462d80
jmp fcn.0066a1f0