Function at 0x4e1038
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x48
push 0
push 0
dec ecx
jne 0x4e1041
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 1], cl
mov ebx, edx
mov eax, dword [ebp + 8]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x4e16ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0x80
mov eax, dword [ebp - 0xc]
call sub.rtl60.bpl__Sysutils_StrAlloc_qqrui
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push esi
call sub.kernel32.dll_GetComputerNameA
mov dword [ebp - 0xc], 0x80
mov eax, dword [ebp - 0xc]
call sub.rtl60.bpl__Sysutils_StrAlloc_qqrui
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_GetUserNameA
mov eax, dword [ebx]
mov edx, dword [eax]
call dword [edx + 0xc]
mov eax, dword [ebx]
mov ecx, 1
mov edx, 0x4e1708
mov edi, dword [eax]
call dword [edi + 0x24]
mov eax, dword [ebx]
mov edx, 0x4e1720
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebx]
mov ecx, 1
mov edx, 0x4e1738
mov edi, dword [eax]
call dword [edi + 0x24]
mov eax, dword [ebx]
mov ecx, 0x40
mov edx, 0x4e1750
mov edi, dword [eax]
call dword [edi + 0x24]
mov eax, dword [ebx]
mov edx, 0x4e1764
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebx]
mov edx, 0x4e1778
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebx]
mov edx, 0x4e1790
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebx]
mov ecx, 0x40
mov edx, 0x4e17a4
mov edi, dword [eax]
call dword [edi + 0x24]
mov eax, dword [ebx]
mov ecx, 1
mov edx, 0x4e17bc
mov edi, dword [eax]
call dword [edi + 0x24]
mov eax, dword [ebx]
mov ecx, 0x14
mov edx, 0x4e17d4
mov edi, dword [eax]
call dword [edi + 0x24]
mov eax, dword [ebx]
mov ecx, 0x20
mov edx, 0x4e17ec
mov edi, dword [eax]
call dword [edi + 0x24]
mov eax, dword [ebx]
mov ecx, 0x20
mov edx, 0x4e1808
mov edi, dword [eax]
call dword [edi + 0x24]
mov eax, dword [ebx]
mov ecx, 0x20
mov edx, 0x4e1824
mov edi, dword [eax]
call dword [edi + 0x24]
mov eax, dword [ebx]
mov ecx, 0x20
mov edx, 0x4e1840
mov edi, dword [eax]
call dword [edi + 0x24]
mov eax, dword [ebx]
mov ecx, 0x20
mov edx, 0x4e185c
mov edi, dword [eax]
call dword [edi + 0x24]
mov eax, dword [ebx]
mov ecx, 1
mov edx, 0x4e1878
mov edi, dword [eax]
call dword [edi + 0x24]
mov eax, dword [ebx]
mov ecx, pe_nt_image_headers32
mov edx, 0x4e188c
mov edi, dword [eax]
call dword [edi + 0x24]
lea eax, [ebp - 0x1c]
mov edx, 0x4e1708
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x1c]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 8]
push eax
lea eax, [ebp - 0x2c]
xor edx, edx
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x2c]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea eax, [ebp - 0x3c]
mov edx, 0x4e1720
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x3c]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 8]
push eax
lea eax, [ebp - 0x4c]
xor edx, edx
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x4c]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea eax, [ebp - 0x5c]
mov edx, 0x4e1738
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x5c]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 8]
push eax
lea eax, [ebp - 0x6c]
mov edx, dword [0x50848c]
mov edx, dword [edx]
mov edx, dword [edx + 0xf94]
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x6c]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea eax, [ebp - 0x7c]
mov edx, 0x4e1750
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x7c]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 8]
push eax
lea eax, [ebp - 0x8c]
mov edx, dword [0x50848c]
mov edx, dword [edx]
mov edx, dword [edx + 0xcfd]
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x8c]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea eax, [ebp - 0x9c]
mov edx, 0x4e1764
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x9c]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 8]
push eax
lea eax, [ebp - 0xac]
mov edx, 0x424
mov cl, 2
call sub.rtl60.bpl__System__OleVarFromInt_qqrr17System_OleVariantxixi
lea edx, [ebp - 0xac]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea eax, [ebp - 0xbc]
mov edx, 0x4e1778
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0xbc]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 8]
push eax
lea eax, [ebp - 0xcc]
mov edx, dword [0x50848c]
mov edx, dword [edx]
mov edx, dword [edx + 0xce4]
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0xcc]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea eax, [ebp - 0xdc]
mov edx, 0x4e1790
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0xdc]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 8]
push eax
lea eax, [ebp - 0xec]
mov edx, dword [0x50848c]
mov edx, dword [edx]
mov edx, dword [edx + 0xce0]
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0xec]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea eax, [ebp - 0xfc]
mov edx, 0x4e17a4
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0xfc]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 8]
push eax
lea eax, [ebp - 0x10c]
mov edx, dword [0x50848c]
mov edx, dword [edx]
mov edx, dword [edx + 0xcfd]
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x10c]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea eax, [ebp - 0x11c]
mov edx, 0x4e17bc
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x11c]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 8]
push eax
mov al, byte [ebp - 1]
mov byte [ebp - 0x12f], al
mov byte [ebp - 0x130], 1
lea eax, [ebp - 0x12c]
lea edx, [ebp - 0x130]
call sub.rtl60.bpl__System__OleVarFromPStr_qqrr17System_OleVariantrx28System__SmallString_iuc_255_
lea edx, [ebp - 0x12c]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x148]
xor eax, eax
call sub.rtl60.bpl__System_ParamStr_qqri
mov edx, dword [ebp - 0x148]
lea ecx, [ebp - 0x144]
mov eax, dword [0x433204]
call fcn.00434074
mov edx, dword [ebp - 0x144]
lea eax, [ebp - 0x140]
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x158]
mov edx, 0x4e17d4
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x158]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 8]
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea eax, [ebp - 0x168]
mov edx, 0x4e17ec
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x168]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 8]
push eax
lea edx, [ebp - 0x17c]
mov eax, dword [0x433204]
call fcn.0043a884
mov edx, dword [ebp - 0x17c]
lea eax, [ebp - 0x178]
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x178]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea eax, [ebp - 0x18c]
mov edx, 0x4e1808
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x18c]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 8]
push eax
lea eax, [ebp - 0x1a0]
mov edx, esi
call sub.rtl60.bpl__System__LStrFromPChar_qqrr17System_AnsiStringpc
mov edx, dword [ebp - 0x1a0]
lea eax, [ebp - 0x19c]
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x19c]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea eax, [ebp - 0x1b0]
mov edx, 0x4e1824
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x1b0]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 8]
push eax
lea eax, [ebp - 0x1c4]
mov edx, dword [ebp - 8]
call sub.rtl60.bpl__System__LStrFromPChar_qqrr17System_AnsiStringpc
mov edx, dword [ebp - 0x1c4]
lea eax, [ebp - 0x1c0]
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x1c0]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea eax, [ebp - 0x1d4]
mov edx, 0x4e1840
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x1d4]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 8]
push eax
lea eax, [ebp - 0x1e4]
mov edx, dword [0x50848c]
mov edx, dword [edx]
mov edx, dword [edx + 0xcf5]
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x1e4]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea eax, [ebp - 0x1f4]
mov edx, 0x4e185c
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x1f4]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 8]
push eax
lea eax, [ebp - 0x204]
mov edx, dword [0x50848c]
mov edx, dword [edx]
mov edx, dword [edx + 0xcf9]
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x204]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea eax, [ebp - 0x214]
mov edx, 0x4e1878
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x214]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 8]
push eax
mov al, byte [ebp + 0xc]
mov byte [ebp - 0x12f], al
mov byte [ebp - 0x130], 1
lea eax, [ebp - 0x224]
lea edx, [ebp - 0x130]
call sub.rtl60.bpl__System__OleVarFromPStr_qqrr17System_OleVariantrx28System__SmallString_iuc_255_
lea edx, [ebp - 0x224]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea eax, [ebp - 0x234]
mov edx, 0x4e188c
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x234]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 8]
push eax
lea eax, [ebp - 0x244]
mov edx, dword [ebp + 8]
call sub.rtl60.bpl__System__OleVarFromLStr_qqrr17System_OleVariantx17System_AnsiString
lea edx, [ebp - 0x244]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebx]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov eax, esi
call sub.rtl60.bpl__Sysutils_StrDispose_qqrpc
mov eax, dword [ebp - 8]
call sub.rtl60.bpl__Sysutils_StrDispose_qqrpc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e16f4
lea eax, [ebp - 0x244]
mov edx, dword [sym.imp.rtl60.bpl___xp_17System_OleVariant]
mov ecx, 8
call sub.rtl60.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp - 0x1c4]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x1c0]
mov edx, dword [sym.imp.rtl60.bpl___xp_17System_OleVariant]
mov ecx, 2
call sub.rtl60.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp - 0x1a0]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x19c]
mov edx, dword [sym.imp.rtl60.bpl___xp_17System_OleVariant]
mov ecx, 2
call sub.rtl60.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp - 0x17c]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x178]
mov edx, dword [sym.imp.rtl60.bpl___xp_17System_OleVariant]
mov ecx, 3
call sub.rtl60.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp - 0x148]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x140]
call sub.rtl60.bpl__System__VarClr_qqrr14System_Variant
lea eax, [ebp - 0x12c]
mov edx, dword [sym.imp.rtl60.bpl___xp_17System_OleVariant]
mov ecx, 0x12
call sub.rtl60.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp + 8]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret