Function at 0x407500
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfac
xor eax, eax
push ebx
xor ebx, ebx
push esi
push edi
mov byte [esp + 0x230], bl
mov ecx, 0x3f
lea edi, [esp + 0x231]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x638], bl
mov ecx, 0x3f
lea edi, [esp + 0x639]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x130], bl
mov ecx, 0x3f
lea edi, [esp + 0x131]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x330], bl
mov ecx, 0x3f
lea edi, [esp + 0x331]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
lea ecx, [esp + 0x430]
mov dword [esp + 0x21], eax
push ecx
mov word [esp + 0x29], ax
push 0x13
mov dword [esp + 0x14], ebx
mov byte [esp + 0x1c], bl
mov byte [esp + 0x2f], al
call fcn.0040f6b0
lea eax, [esp + 0x43c]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4075b8
sub eax, edx
cmp eax, 3
jl 0x4075d4
cmp byte [esp + 0x436], 0x30
je 0x407b00
lea edx, [esp + 0x430]
push edx
xor eax, eax
mov ecx, 0x42
lea edi, [esp + 0x2c]
push 0x1d
rep stosd dword es:[edi], eax
call fcn.0040f6b0
add esp, 8
test eax, eax
mov esi, 2
jne 0x40762a
cmp dword [esp + 0x430], esi
jne 0x40762a
cmp byte [esp + 0x434], bl
je 0x40762a
push 0xff
lea eax, [esp + 0x438]
push eax
lea ecx, [esp + 0x138]
push ecx
call fcn.00414960
jmp 0x407641
lea edx, [esp + 0x130]
push edx
push str.Server_Name
push str._SERVER_COMMUNICATIONS_
call fcn.004109d0
add esp, 0xc
lea eax, [esp + 0x230]
push eax
push str.User_Name
push str._SERVER_COMMUNICATIONS_
call fcn.004109d0
lea ecx, [esp + 0x33c]
push ecx
push str.Password
push str._SERVER_COMMUNICATIONS_
call fcn.004109d0
lea edx, [esp + 0x448]
push edx
push 7
call fcn.0040f6b0
add esp, 0x20
test eax, eax
jne 0x407acc
cmp dword [esp + 0x430], esi
jne 0x407acc
lea eax, [esp + 0x434]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4076a3
sub eax, edx
mov dword [esp + 0x10], eax
je 0x407acc
lea eax, [esp + 0x230]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4076c0
sub eax, edx
mov dword [esp + 0x10], eax
je 0x407acc
push 0xe
lea eax, [esp + 0x334]
push str.NewKaseyaAgent
push eax
call fcn.00414920
add esp, 0xc
test eax, eax
je 0x407acc
lea eax, [esp + 0x434]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x407700
sub eax, edx
mov edx, eax
lea eax, [esp + 0x230]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x407715
sub eax, esi
add eax, edx
cmp eax, 0x100
jae 0x407a72
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0x434]
mov byte [esp + eax + 0x330], cl
inc eax
cmp cl, bl
jne 0x407730
lea eax, [esp + 0x230]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x407750
lea edi, [esp + 0x330]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x407761
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x330]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x407783
lea ecx, [esp + 0x14]
sub eax, edx
push ecx
push eax
lea edx, [esp + 0x338]
push edx
call fcn.00403700
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x644]
rep stosd dword es:[edi], eax
push 0x14
lea eax, [esp + 0x648]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00409e30
lea eax, [esp + 0x248]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4077d0
sub eax, edx
mov edi, eax
lea eax, [esp + 0x638]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4077e5
sub eax, edx
mov edx, eax
lea eax, [esp + 0x130]
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x407800
sub eax, esi
add eax, edx
lea edx, [eax + edi + 0x28]
cmp edx, 0x100
jge 0x407a1a
lea eax, [esp + 0x230]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x407825
sub eax, edx
cmp eax, ebx
jle 0x407a1a
lea eax, [esp + 0x130]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x407840
sub eax, edx
cmp eax, ebx
jle 0x407a1a
mov edx, dword [str.http:__]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x407860
sub eax, esi
mov ecx, eax
shr ecx, 2
lea esi, [esp + 0x130]
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push edx
lea ecx, [esp + 0x2c]
push ecx
call fcn.0041f7a1
add esp, 8
test eax, eax
jne 0x4078a9
mov cl, byte [esp + eax + 0x130]
mov byte [esp + eax + 0x28], cl
inc eax
cmp cl, bl
jne 0x407894
jmp 0x407932
mov edx, dword [str.https:__]
xor eax, eax
mov ecx, 0x42
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4078c1
sub eax, esi
mov ecx, eax
shr ecx, 2
lea esi, [esp + 0x130]
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push edx
lea ecx, [esp + 0x2c]
push ecx
call fcn.0041f7a1
add esp, 8
test eax, eax
jne 0x407912
jmp 0x407900
mov cl, byte [esp + eax + 0x130]
mov byte [esp + eax + 0x28], cl
inc eax
cmp cl, bl
jne 0x407900
jmp 0x407932
mov eax, dword [str.http:__]
lea edx, [esp + 0x130]
push edx
push eax
lea ecx, [esp + 0x30]
push str._s_s
push ecx
call fcn.004142bd
add esp, 0x10
lea eax, [esp + 0x130]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x407940
sub eax, edx
cmp byte [esp + eax + 0x12f], 0x2f
je 0x40796a
lea edi, [esp + 0x28]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x407958
mov dx, word [0x4219d8]
mov word [edi], dx
lea edi, [esp + 0x28]
dec edi
nop
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x407970
mov eax, dword [str.dl.asp_un]
mov ecx, dword [0x4219d0]
mov dx, word [0x4219d4]
mov dword [edi], eax
mov al, byte [0x4219d6]
mov dword [edi + 4], ecx
mov word [edi + 8], dx
mov byte [edi + 0xa], al
lea eax, [esp + 0x230]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4079a4
lea edi, [esp + 0x28]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x4079b2
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x28]
dec edi
nop
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x4079d0
mov ecx, dword [str.pw]
mov dl, byte [0x4219c8]
mov dword [edi], ecx
lea eax, [esp + 0x638]
mov byte [edi + 4], dl
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4079f2
lea edi, [esp + 0x28]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x407a00
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x407a56
mov eax, dword [str.http:__www.kaseya.com]
mov ecx, dword [0x4219b0]
mov edx, dword [0x4219b4]
mov dword [esp + 0x28], eax
mov eax, dword [0x4219b8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x4219bc]
mov dword [esp + 0x30], edx
mov dx, word [0x4219c0]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov word [esp + 0x3c], dx
push 1
push ebx
push ebx
lea eax, [esp + 0x34]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0xc]
push ecx
push ebx
push 0x29d0
call fcn.0040aaa0
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp eax, ebx
lea edx, [esp + 0x738]
push 0x40
push edx
je 0x407ab6
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004143d6
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push str.This_Agent_does_not_have_a_valid_username_nand_or_password_to_use_to_contact_your_administrator._nThe_Agent_must_check_in_with_the_KServer_nbefore_you_can_use_this_feature_to_contact_your_administrator._n
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0xc]
push ecx
push ebx
push 0x29d1
call fcn.0040aaa0
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp eax, ebx
lea edx, [esp + 0x738]
push 0x40
push edx
jne 0x407a97
mov eax, dword [ebp + 8]
push str.This_Agent_must_register_with_the_KServer_to_get_a_valid_username_nand_password_before_you_can_use_this_feature_to_contact_your_administrator._n
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret