Function at 0x418ed0
Capabilities:
Get hostname
Get memory capacity
Get session user name
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d5e5b
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x50f880]
xor eax, esp
mov dword [esp + 0x194], eax
push esi
push edi
mov eax, dword [0x50f880]
xor eax, esp
push eax
lea eax, [esp + 0x1a8]
mov dword fs:[0], eax
mov eax, dword [0x50f008]
mov edx, dword [eax + 0xc]
mov ecx, 0x50f008
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1b4], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
push 0
push 3
mov dword [esp + 0x20], 0
call edi
mov eax, dword [esp + 0x14]
test eax, eax
jns 0x418f5b
push 0x80070057
call fcn.0041b5f0
mov ecx, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub ecx, eax
or ecx, edx
jge 0x418f79
lea ecx, [esp + 0x10]
call fcn.0041b590
mov esi, dword [esp + 0x10]
cmp dword [esi - 4], 1
jle 0x418f91
mov ecx, dword [esi - 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.0041b4d0
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push esi
push 3
call edi
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00453fa1
add esp, 8
test eax, eax
js 0x418f51
cmp eax, dword [esi - 8]
jg 0x418f51
push esi
push str.Computer_name:__s_n
xor ecx, ecx
push str.DfLogger::HostLogger::LogSystemInfo
mov dword [esi - 0xc], eax
push 0x51a430
mov edx, 0x30f
mov word [esi + eax*2], cx
call fcn.00418eb0
mov edi, dword [sym.imp.ADVAPI32.dll_GetUserNameW]
add esp, 0x10
lea edx, [esp + 0x14]
push edx
push 0
mov dword [esp + 0x1c], 0
call edi
mov eax, dword [esp + 0x14]
test eax, eax
jns 0x419000
push 0x80070057
call fcn.0041b5f0
mov ecx, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub ecx, eax
or ecx, edx
jge 0x41901e
lea ecx, [esp + 0x10]
call fcn.0041b590
mov esi, dword [esp + 0x10]
cmp dword [esi - 4], 1
jle 0x419036
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0041b4d0
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push esi
call edi
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00453fa1
add esp, 8
test eax, eax
js 0x418f51
cmp eax, dword [esi - 8]
jg 0x418f51
push esi
push str.User_name:__s_n
xor ecx, ecx
push str.DfLogger::HostLogger::LogSystemInfo
mov dword [esi - 0xc], eax
push 0x51a430
mov edx, 0x316
mov word [esi + eax*2], cx
call fcn.00418eb0
lea eax, [esi - 0x10]
add esp, 0x10
mov dword [esp + 0x1b0], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4190a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0x18]
push edx
push str.OEM_ID:__u_n
push str.DfLogger::HostLogger::LogSystemInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x31e
call fcn.00418eb0
mov eax, dword [esp + 0x3c]
push eax
push str.Number_of_processors:__u_n
push str.DfLogger::HostLogger::LogSystemInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x31f
call fcn.00418eb0
mov ecx, dword [esp + 0x3c]
push ecx
push str.Page_size:__u_n
push str.DfLogger::HostLogger::LogSystemInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x320
call fcn.00418eb0
mov edx, dword [esp + 0x60]
push edx
push str.Processor_type:__u_n
push str.DfLogger::HostLogger::LogSystemInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x321
call fcn.00418eb0
mov eax, dword [esp + 0x60]
add esp, 0x40
push eax
push str.Minimum_application_address:__lx_n
push str.DfLogger::HostLogger::LogSystemInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x322
call fcn.00418eb0
mov ecx, dword [esp + 0x34]
push ecx
push str.Maximum_application_address:__lx_n
push str.DfLogger::HostLogger::LogSystemInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x323
call fcn.00418eb0
mov edx, dword [esp + 0x48]
push edx
push str.Active_processor_mask:__u_n
push str.DfLogger::HostLogger::LogSystemInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x324
call fcn.00418eb0
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
add esp, 0x30
push 0x43
call esi
push eax
push str.Clean_boot:__d
push str.DfLogger::HostLogger::LogSystemInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x327
call fcn.00418eb0
add esp, 0x10
push 0x4f
call esi
push eax
push 0x4e
call esi
push eax
push 0x4d
call esi
push eax
push 0x4c
call esi
push eax
push 1
call esi
push eax
push 0
call esi
push eax
push 0x50
call esi
push eax
push str.Monitors:__d__Display:__dx_d__Virtual:__dx_d__dx_d
push str.DfLogger::HostLogger::LogSystemInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x328
call fcn.00418eb0
push 0x118
lea eax, [esp + 0xac]
push 0
push eax
call fcn.00457de0
add esp, 0x34
lea ecx, [esp + 0x7c]
push ecx
mov dword [esp + 0x80], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4192e1
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x84]
push eax
push ecx
push edx
push str.Major:_0x_08x__Minor:_0x_08x__Build:__d__PlatformId:_0x_08x
push str.DfLogger::HostLogger::LogSystemInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x332
call fcn.00418eb0
movzx ecx, word [esp + 0x1ae]
movzx edx, word [esp + 0x1ac]
add esp, 0x1c
lea eax, [esp + 0x90]
push eax
push ecx
push edx
push str.SPMajor:_0x_04x__SPMinor:_0x_04x__CSDVersion:___s_
push str.DfLogger::HostLogger::LogSystemInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x333
call fcn.00418eb0
movzx eax, byte [esp + 0x1ae]
movzx ecx, word [esp + 0x1ac]
push eax
push ecx
push str.SuiteMask:_0x_08x__ProductType:_0x_08x
push str.DfLogger::HostLogger::LogSystemInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x334
call fcn.00418eb0
add esp, 0x2c
jmp 0x419302
call esi
push eax
push str.GetVersionEx_failed_with_error_code__d.
push str.DfLogger::HostLogger::LogSystemInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x338
call fcn.00418eb0
add esp, 0x10
push 0x3c
lea edx, [esp + 0x44]
push 0
push edx
call fcn.00457de0
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x419395
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x70]
push ecx
push edx
push eax
push str.Memory:_Load:__d__Physical:__I64d__I64d__PageFile:__I64d__I64d__Virtual:__I64d__I64d__Extended__I64d
push str.DfLogger::HostLogger::LogSystemInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x340
call fcn.00418eb0
add esp, 0x48
jmp 0x4193b6
call esi
push eax
push str.GlobalMemoryStatusEx_failed_with_error_code__d.
push str.DfLogger::HostLogger::LogSystemInfo
push 0x51a430
xor ecx, ecx
mov edx, 0x346
call fcn.00418eb0
add esp, 0x10
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00453be1
mov esp, ebp
pop ebp
ret