Function at 0x415540
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x45d839
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x479938]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x479938]
xor eax, esp
push eax
lea eax, [esp + 0x430]
mov dword fs:[0], eax
mov esi, dword [esp + 0x440]
mov ebp, dword [esp + 0x444]
xor edi, edi
mov ebx, 1
mov dword [esp + 0x24], edi
test byte [0x47ae78], bl
mov dword [esp + 0x438], edi
mov dword [esp + 0x28], esi
jne 0x4155d8
or dword [0x47ae78], ebx
push str._UserCanBeContacted_
mov ecx, 0x47ae74
mov dword [esp + 0x43c], ebx
call fcn.00401130
push 0x460920
call fcn.004438d5
add esp, 4
mov byte [esp + 0x438], 0
mov eax, 2
test byte [0x47ae78], al
jne 0x415616
or dword [0x47ae78], eax
push str._ComputerName_
mov ecx, 0x47ae70
mov dword [esp + 0x43c], eax
call fcn.00401130
push 0x4608f0
call fcn.004438d5
add esp, 4
mov byte [esp + 0x438], 0
test byte [0x47ae78], 4
jne 0x415655
or dword [0x47ae78], 4
push str._SerialNum_
mov ecx, 0x47ae6c
mov dword [esp + 0x43c], 3
call fcn.00401130
push 0x4608c0
call fcn.004438d5
add esp, 4
mov byte [esp + 0x438], 0
call fcn.0042b2d7
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41566f
push 0x80004005
call fcn.00409280
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
cmp dword [ebp + 0x168], ebx
mov dword [esp + 0x438], edi
mov dword [esp + 0x24], ebx
mov eax, 0x4636f8
je 0x41569a
mov eax, 0x4636f0
push eax
lea ecx, [esp + 0x24]
call fcn.00401130
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push 0x47ae74
push edx
mov dword [esp + 0x444], 4
call fcn.00404e60
push 0x4636ec
push eax
lea eax, [esp + 0x30]
mov bl, 5
push eax
mov byte [esp + 0x450], bl
call fcn.004032f0
add esp, 0x18
push eax
mov ecx, esi
mov byte [esp + 0x43c], 6
call fcn.00402dd0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x438], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415716
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x438], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41573e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp + 0x16f], 0
je 0x4157fd
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x30]
push edx
mov word [esp + 0x34], di
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
push 0x47ae70
push ecx
call fcn.004032f0
push 0x4636ec
push eax
lea edx, [esp + 0x30]
mov bl, 7
push edx
mov byte [esp + 0x450], bl
call fcn.004032f0
add esp, 0x18
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
mov byte [esp + 0x440], 8
call fcn.00402eb0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x438], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4157d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x438], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4157fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 0x12c
push ebp
lea ecx, [esp + 0x18]
push 0x47ae6c
push ecx
call fcn.00404e60
push 0x4636e4
push eax
lea edx, [esp + 0x2c]
mov bl, 9
push edx
mov byte [esp + 0x450], bl
call fcn.004032f0
add esp, 0x18
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
mov byte [esp + 0x440], 0xa
call fcn.00402eb0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x438], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41586c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x438], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415894
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x438], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4158bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x430]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.00442241
add esp, 0x428
ret 8