Function at 0x44e96c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe34
push ebx
mov dword [ebp - 0xc0], eax
mov eax, 0x5bd078
call fcn.0057c5c8
mov edx, dword [sym.SDERPServer.exe__DMServer]
push dword [edx]
call fcn.00437c7c
pop ecx
test al, al
jne 0x44e9ac
mov ecx, dword [ebp - 0xbc]
mov dword fs:[0], ecx
mov eax, ecx
jmp 0x44f1ed
mov word [ebp - 0xac], 0x14
lea eax, [ebp - 0x10]
call fcn.004025f4
mov edx, eax
inc dword [ebp - 0xa0]
mov ecx, dword [sym.imp.vcl60.bpl__Forms_Application]
mov eax, dword [ecx]
call sub.vcl60.bpl__Forms_TApplication_GetExeName_qqrv
lea edx, [ebp - 0x10]
push dword [edx]
lea eax, [ebp - 0x14]
call fcn.004025f4
mov edx, eax
inc dword [ebp - 0xa0]
pop eax
call sub.rtl60.bpl__Sysutils_ExtractFilePath_qqrx17System_AnsiString
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 4]
call fcn.004025f4
push eax
inc dword [ebp - 0xa0]
mov edx, 0x5b6e5a
lea eax, [ebp - 0x18]
call fcn.0058f82c
inc dword [ebp - 0xa0]
lea edx, [ebp - 0x18]
pop ecx
pop eax
call fcn.0058fb5c
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0058fb04
mov word [ebp - 0xac], 8
mov dl, 1
mov eax, dword [sym.imp.rtl60.bpl__Classes_TStringList_]
call fcn.004054a8
mov dword [ebp - 0xc4], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea eax, [ebp - 0x20]
call fcn.004025f4
push eax
inc dword [ebp - 0xa0]
call fcn.0042d2e4
pop ecx
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x24]
call fcn.005913fc
inc dword [ebp - 0xa0]
push dword [eax]
push dword [ebp - 0xc0]
lea eax, [ebp - 0x28]
call fcn.004025f4
push eax
inc dword [ebp - 0xa0]
call fcn.0044f1f4
add esp, 0xc
lea edx, [ebp - 0x28]
push dword [edx]
mov word [ebp - 0xac], 0x20
mov edx, 0x5b6e94
lea eax, [ebp - 0x1c]
call fcn.0058f82c
inc dword [ebp - 0xa0]
mov edx, dword [eax]
mov eax, dword [ebp - 0xc4]
pop ecx
call sub.rtl60.bpl__Classes_TStrings_SetValue_qqrx17System_AnsiStringt1
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00591470
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0058fb04
lea eax, [ebp - 0x30]
call fcn.004025f4
push eax
inc dword [ebp - 0xa0]
call fcn.0042d24c
pop ecx
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x34]
call fcn.005913fc
inc dword [ebp - 0xa0]
push dword [eax]
push dword [ebp - 0xc0]
lea eax, [ebp - 0x38]
call fcn.004025f4
push eax
inc dword [ebp - 0xa0]
call fcn.0044f1f4
add esp, 0xc
lea edx, [ebp - 0x38]
push dword [edx]
mov word [ebp - 0xac], 0x2c
mov edx, 0x5b6ea0
lea eax, [ebp - 0x2c]
call fcn.0058f82c
inc dword [ebp - 0xa0]
mov edx, dword [eax]
mov eax, dword [ebp - 0xc4]
pop ecx
call sub.rtl60.bpl__Classes_TStrings_SetValue_qqrx17System_AnsiStringt1
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00591470
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0058fb04
mov dl, 1
mov eax, dword [sym.imp.rtl60.bpl__Classes_TMemoryStream_]
call fcn.00419cb4
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x40]
call fcn.004025f4
push eax
inc dword [ebp - 0xa0]
call fcn.0042d298
pop ecx
lea eax, [ebp - 0x40]
call fcn.00406cfc
push eax
mov word [ebp - 0xac], 0x38
lea eax, [ebp - 0x3c]
call fcn.004025f4
push eax
inc dword [ebp - 0xa0]
call fcn.0042d298
pop ecx
lea eax, [ebp - 0x3c]
call fcn.00404af8
mov edx, eax
mov eax, dword [ebp - 0xc8]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0xc]
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.0058fb04
mov word [ebp - 0xac], 0x44
mov edx, 0x5b6ea9
lea eax, [ebp - 0x44]
call fcn.0058f82c
inc dword [ebp - 0xa0]
push dword [eax]
push dword [ebp - 0xc8]
call fcn.00419b44
add esp, 8
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0058fb04
mov word [ebp - 0xac], 0x50
push dword [ebp - 0xc8]
lea eax, [ebp - 8]
call fcn.004025f4
push eax
inc dword [ebp - 0xa0]
call fcn.00419730
add esp, 8
mov word [ebp - 0xac], 8
push 0
push 0
mov eax, dword [ebp - 0xc8]
call sub.rtl60.bpl__Classes_TStream_SetPosition_qqrxj
lea eax, [ebp - 8]
call fcn.00406cfc
push eax
lea eax, [ebp - 8]
call fcn.00404af8
mov edx, eax
mov eax, dword [ebp - 0xc8]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov word [ebp - 0xac], 0x5c
mov edx, 0x5b6eb3
lea eax, [ebp - 0x48]
call fcn.0058f82c
inc dword [ebp - 0xa0]
push dword [eax]
push dword [ebp - 0xc8]
call fcn.00419b44
add esp, 8
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0058fb04
mov word [ebp - 0xac], 0x68
push dword [ebp - 0xc8]
lea eax, [ebp - 0x4c]
call fcn.004025f4
push eax
inc dword [ebp - 0xa0]
call fcn.00419730
add esp, 8
lea edx, [ebp - 0x4c]
lea eax, [ebp - 8]
call fcn.0058fb34
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.0058fb04
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x54], ecx
cmp dword [ebp - 0x54], 0
je 0x44edde
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
mov dword [ebp - 0x50], edx
mov word [ebp - 0xac], pe_nt_image_headers32
mov edx, 3
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0xac], 0x74
lea eax, [ebp - 0x5c]
call fcn.004025f4
mov edx, eax
inc dword [ebp - 0xa0]
mov eax, dword [ebp - 8]
call sub.rtl60.bpl__System_AnsiToUtf8_qqrx17System_AnsiString
lea edx, [ebp - 0x5c]
push dword [edx]
mov word [ebp - 0xac], 0x8c
mov edx, 0x5b6ebd
lea eax, [ebp - 0x58]
call fcn.0058f82c
inc dword [ebp - 0xa0]
mov edx, dword [eax]
mov eax, dword [ebp - 0xc4]
pop ecx
call sub.rtl60.bpl__Classes_TStrings_SetValue_qqrx17System_AnsiStringt1
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.0058fb04
lea eax, [ebp - 0x64]
call fcn.004025f4
push eax
inc dword [ebp - 0xa0]
call fcn.0042d330
pop edx
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
lea ecx, [ebp - 0x64]
push dword [ecx]
mov word [ebp - 0xac], 0x98
mov edx, 0x5b6ec6
lea eax, [ebp - 0x60]
call fcn.0058f82c
inc dword [ebp - 0xa0]
mov edx, dword [eax]
mov eax, dword [ebp - 0xc4]
pop ecx
call sub.rtl60.bpl__Classes_TStrings_SetValue_qqrx17System_AnsiStringt1
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.0058fb04
lea eax, [ebp - 0x6c]
call fcn.004025f4
push eax
inc dword [ebp - 0xa0]
call fcn.0042f0a0
pop edx
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
lea ecx, [ebp - 0x6c]
push dword [ecx]
mov word [ebp - 0xac], 0xa4
mov edx, 0x5b6ecb
lea eax, [ebp - 0x68]
call fcn.0058f82c
inc dword [ebp - 0xa0]
mov edx, dword [eax]
mov eax, dword [ebp - 0xc4]
pop ecx
call sub.rtl60.bpl__Classes_TStrings_SetValue_qqrx17System_AnsiStringt1
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.0058fb04
lea eax, [ebp - 0x74]
call fcn.004025f4
push eax
inc dword [ebp - 0xa0]
call fcn.0042f620
pop ecx
lea edx, [ebp - 0x74]
lea eax, [ebp - 0x78]
call fcn.005913fc
inc dword [ebp - 0xa0]
push dword [eax]
push dword [ebp - 0xc0]
lea eax, [ebp - 0x7c]
call fcn.004025f4
push eax
inc dword [ebp - 0xa0]
call fcn.0044f1f4
add esp, 0xc
lea edx, [ebp - 0x7c]
push dword [edx]
mov word [ebp - 0xac], 0xb0
mov edx, 0x5b6ed5
lea eax, [ebp - 0x70]
call fcn.0058f82c
inc dword [ebp - 0xa0]
mov edx, dword [eax]
mov eax, dword [ebp - 0xc4]
pop ecx
call sub.rtl60.bpl__Classes_TStrings_SetValue_qqrx17System_AnsiStringt1
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.00591470
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0058fb04
lea eax, [ebp - 0x84]
call fcn.004025f4
push eax
inc dword [ebp - 0xa0]
call fcn.0042d1a4
movzx eax, ax
pop edx
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
lea ecx, [ebp - 0x84]
push dword [ecx]
mov word [ebp - 0xac], 0xbc
mov edx, 0x5b6ee1
lea eax, [ebp - 0x80]
call fcn.0058f82c
inc dword [ebp - 0xa0]
mov edx, dword [eax]
mov eax, dword [ebp - 0xc4]
pop ecx
call sub.rtl60.bpl__Classes_TStrings_SetValue_qqrx17System_AnsiStringt1
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.0058fb04
mov dword [ebp - 0xcc], 0xff
lea ecx, [ebp - 0xcc]
push ecx
lea eax, [ebp - 0x1cc]
push eax
call sub.kernel32.dll_GetComputerNameA
mov word [ebp - 0xac], 0xc8
lea edx, [ebp - 0x1cc]
lea eax, [ebp - 0xc]
call fcn.0058f82c
inc dword [ebp - 0xa0]
mov word [ebp - 0xac], 8
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x8c]
call fcn.005913fc
inc dword [ebp - 0xa0]
push dword [eax]
push dword [ebp - 0xc0]
lea eax, [ebp - 0x90]
call fcn.004025f4
push eax
inc dword [ebp - 0xa0]
call fcn.0044f1f4
add esp, 0xc
lea edx, [ebp - 0x90]
push dword [edx]
mov word [ebp - 0xac], 0xd4
mov edx, 0x5b6eed
lea eax, [ebp - 0x88]
call fcn.0058f82c
inc dword [ebp - 0xa0]
mov edx, dword [eax]
mov eax, dword [ebp - 0xc4]
pop ecx
call sub.rtl60.bpl__Classes_TStrings_SetValue_qqrx17System_AnsiStringt1
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x88]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x90]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.00591470
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x44f1a7
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx]
mov dword [ebp - 0x94], ecx
mov word [ebp - 0xac], 0xec
mov edx, 3
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0xac], 0xe0
dec dword [ebp - 0xa0]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xa0]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0xa0]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0058fb04
mov ecx, dword [ebp - 0xbc]
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret