Function at 0x442480
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4b514b
push eax
mov eax, 0x2480
mov dword fs:[0], esp
call fcn.0047a5c0
mov ax, word [0x4d280c]
push ebx
push ebp
push esi
push edi
mov word [esp + 0x40], ax
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x42]
lea edx, [esp + 0x41]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0xfff
push ecx
push edx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [esp + 0x40]
push 0x3a
push eax
call fcn.004624b0
lea ecx, [esp + 0x49]
push ecx
call fcn.00462680
mov cl, byte [eax]
add esp, 0xc
test cl, cl
jne 0x44251a
mov edi, str._LOCAL
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x40]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4d2800
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x40]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [esp + 0x24a4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov ebp, dword [esp + 0x24a0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor esi, esi
repne scasb al, byte es:[edi]
mov eax, dword [ebp]
mov dword [esp + 0x10], esi
not ecx
dec ecx
mov dword [esp + 0x24], esi
mov edi, ecx
mov ecx, ebp
call dword [eax]
test al, al
jne 0x4425a3
mov eax, dword [ebp + 8]
jmp 0x4425ea
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x24]
push 0xffffffffffffffff
push eax
mov edx, dword [ecx]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
push eax
push edi
push 0x1001c
call dword [edx + 0x28]
mov esi, eax
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x4425d5
mov ecx, dword [ebp + 4]
push eax
call fcn.00459210
mov dword [ebp + 8], esi
mov eax, esi
mov dword [ebp + 0xc], 0xffffffff
mov dword [ebp + 0x10], 0
xor esi, esi
cmp eax, esi
jne 0x44276b
cmp dword [esp + 0x10], 4
jne 0x44276b
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x44276b
mov ecx, dword [eax]
cmp ecx, esi
mov dword [esp + 0x1c], ecx
je 0x44276b
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x1040]
push esi
push esi
push esi
push 1
push ebx
call fcn.00450ff0
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x2498], esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1040]
call fcn.004510e0
mov esi, eax
push 0x4008
mov dword [esp + 0x34], esi
mov dword [esp + 0x18], 0x32547698
call sub.MFC42.DLL_operatornew
mov edi, eax
mov eax, dword [esp + 0x20]
add esp, 4
test esi, esi
mov dword [edi], eax
jle 0x44278c
lea ebx, [edi + 8]
push 0x4000
push ebx
lea ecx, [esp + 0x1048]
call fcn.00451550
mov esi, eax
cmp esi, 1
jl 0x442788
mov ecx, dword [esp + 0x14]
mov dword [edi + 4], esi
push ecx
push esi
push ebx
call fcn.004627d0
mov edx, dword [ebp]
xor ebx, ebx
add esp, 0xc
mov ecx, ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ebx
call dword [edx]
test al, al
jne 0x4426dd
mov esi, dword [ebp + 8]
jmp 0x44271b
mov ecx, dword [ebp + 0x10]
lea edx, [esp + 0x20]
push 0xffffffffffffffff
push edx
mov eax, dword [ecx]
lea edx, [esp + 0x30]
push edx
add esi, 8
push edi
push esi
push 0x1001d
call dword [eax + 0x28]
mov esi, eax
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x44270e
mov ecx, dword [ebp + 4]
push eax
call fcn.00459210
mov dword [ebp + 0xc], 0xffffffff
mov dword [ebp + 0x10], ebx
mov dword [ebp + 8], esi
cmp esi, ebx
jne 0x442754
mov eax, dword [esp + 0x28]
cmp eax, 4
mov eax, dword [esp + 0x20]
jne 0x442738
cmp eax, ebx
je 0x442738
cmp dword [eax], ebx
je 0x442738
mov bl, 1
jmp 0x44273a
xor bl, bl
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
test bl, bl
jne 0x442691
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x2498], 0xffffffff
lea ecx, [esp + 0x1040]
call fcn.00450fe0
xor al, al
mov ecx, dword [esp + 0x2490]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x248c
ret 8
mov esi, dword [esp + 0x30]
push edi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov edx, dword [ebp]
mov dword [esp + 0x40], ecx
xor ebx, ebx
add esp, 4
mov ecx, ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x18], ebx
call dword [edx]
test al, al
jne 0x4427c2
mov ebp, dword [ebp + 8]
or edi, 0xffffffff
jmp 0x442801
mov ecx, dword [ebp + 0x10]
or edi, 0xffffffff
lea edx, [esp + 0x18]
push edi
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x40]
push edx
push 0xc
push 0x1001e
call dword [eax + 0x28]
mov esi, eax
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x4427f6
mov ecx, dword [ebp + 4]
push eax
call fcn.00459210
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x10], ebx
mov dword [ebp + 8], esi
mov ebp, esi
cmp ebp, ebx
je 0x442811
mov dword [esp + 0x2498], edi
jmp 0x44275f
mov eax, dword [esp + 0x10]
cmp eax, 4
mov eax, dword [esp + 0x18]
jne 0x44282a
cmp eax, ebx
je 0x44282a
cmp dword [eax], ebx
je 0x44282a
mov bl, 1
jmp 0x44282c
xor bl, bl
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x1040]
mov dword [esp + 0x2498], edi
call fcn.00450fe0
mov al, bl
jmp 0x44276d