Function at 0x407fb0
Capabilities:
Get hostname

Disassembly:
sub esp, 0x430
mov eax, dword [0x41b008]
xor eax, esp
mov dword [esp + 0x42c], eax
mov eax, dword [esp + 0x434]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.VCRUNTIME140.dll_wcschr]
push 0x3a
push eax
call edi
xor ebp, ebp
mov esi, eax
push 0x20a
lea eax, [esp + 0x24]
mov dword [esp + 0x20], ebp
push ebp
mov ebx, 1
push eax
mov dword [esp + 0x24], ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
test esi, esi
je 0x40800f
lea eax, [esi + 2]
push 0x3a
push eax
call edi
add esp, 8
mov esi, eax
push 0xb3c
call fcn.0040dfde
add esp, 4
mov dword [0x43fb54], eax
test esi, esi
je 0x408280
nop dword [eax]
cmp ebx, 1
jne 0x4081fd
add esi, 2
push 0x5c
push esi
call edi
mov ebp, eax
add esp, 8
xor eax, eax
mov word [esp + 0x18], ax
test ebp, ebp
je 0x4080c1
mov edi, ebp
sub edi, esi
sar edi, 1
cmp edi, 0x7ffffffe
jbe 0x40806b
mov ebx, 0x80070057
mov esi, ebp
jmp 0x408103
lea ecx, [esp + 0x18]
xor ebx, ebx
mov eax, ecx
add edi, 0xfffffefb
mov edx, 0x105
sub esi, eax
lea eax, [edi + edx]
test eax, eax
je 0x4080ac
movzx eax, word [esi + ecx]
test ax, ax
je 0x4080ac
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x408080
sub ecx, 2
mov ebx, 0x8007007a
xor eax, eax
mov esi, ebp
mov word [ecx], ax
jmp 0x408103
test edx, edx
jne 0x4080b8
sub ecx, 2
mov ebx, 0x8007007a
xor eax, eax
mov esi, ebp
mov word [ecx], ax
jmp 0x408103
lea ecx, [esp + 0x18]
xor ebx, ebx
mov eax, ecx
mov edx, 0x105
sub esi, eax
lea eax, [edx + 0x7ffffef9]
test eax, eax
je 0x4080f0
movzx eax, word [esi + ecx]
test ax, ax
je 0x4080f0
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4080d0
jmp 0x4080f4
test edx, edx
jne 0x4080fc
sub ecx, 2
mov ebx, 0x8007007a
xor eax, eax
xor esi, esi
mov word [ecx], ax
test ebx, ebx
jne 0x408264
mov ebp, dword [esp + 0x14]
cmp ebp, 5
ja case.default.0x408118
jmp dword [ebp*4 + 0x4082a8]
push 0x43f934
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.rpcrt4.dll_UuidFromStringW]
test eax, eax
je case.default.0x408118
push str.Transaction_guid_format_is_incorrect
call fcn.00407f10
xor ebx, ebx
mov dword [esp + 0x10], ebx
jmp 0x4081ea
mov ecx, 0x43f948
lea edi, [esp + 0x18]
xor ebx, ebx
mov edx, 0x105
sub edi, ecx
nop
lea eax, [edx + 0x7ffffef9]
test eax, eax
je 0x408180
movzx eax, word [edi + ecx]
test ax, ax
je 0x408180
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x408160
jmp 0x408184
test edx, edx
jne 0x40818c
sub ecx, 2
mov ebx, 0x8007007a
xor eax, eax
mov word [ecx], ax
test ebx, ebx
je case.default.0x408118
push str.Originator_format_is_incorrect
call fcn.00407f10
xor ebx, ebx
mov dword [esp + 0x10], ebx
jmp 0x4081ea
push 0x4204cc
push 0x4146dc
jmp 0x4081d9
push 0x43f944
push 0x4146e4
jmp 0x4081d9
mov eax, dword [0x43fb54]
add eax, 4
push eax
push 0x4146ec
jmp 0x4081d9
push 0x43f92c
push 0x4146f4
lea eax, [esp + 0x20]
push eax
call fcn.004014c0
add esp, 0xc
mov ebx, dword [esp + 0x10]
mov edi, dword [sym.imp.VCRUNTIME140.dll_wcschr]
inc ebp
mov dword [esp + 0x14], ebp
test esi, esi
jne 0x408030
test ebx, ebx
je 0x408206
cmp ebp, 6
jne 0x408280
push 0x20a
lea eax, [esp + 0x22c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x14], 0x104
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x22c]
push eax
call dword [sym.imp.kernel32.dll_GetComputerNameW]
test eax, eax
je 0x408272
lea eax, [esp + 0x228]
push eax
push 0x43f948
push str._s__s_
push 0x105
push 0x41fe62
call fcn.00401090
add esp, 0x14
mov eax, ebx
jmp 0x40828c
push str.Argument_for_remote_dump_invoke_is_incorrect
call fcn.00407f10
xor ebx, ebx
jmp 0x408206
push str.Cant_get_ComputerName
call fcn.00407f10
mov eax, ebx
jmp 0x40828c
push str.Wrong_number_of_parameters_in_remote_dump_invokation
call fcn.00407f10
xor eax, eax
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040e29f
add esp, 0x430
ret 4