Function at 0x40b0f8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe34
push ebx
push esi
push edi
mov dword [ebp - 0xbc], eax
mov eax, 0x4b5704
call fcn.00497a7c
mov byte [ebp - 0xbd], 0
mov word [ebp - 0xa8], 8
lea eax, [ebp - 8]
call fcn.00402a14
inc dword [ebp - 0x9c]
mov word [ebp - 0xa8], 0x14
mov word [ebp - 0xa8], 0x20
lea eax, [ebp - 0xc]
call fcn.00402a14
inc dword [ebp - 0x9c]
mov word [ebp - 0xa8], 0x14
mov dword [ebp - 0xc8], 0xff
lea edx, [ebp - 0xc8]
push edx
lea ecx, [ebp - 0x1cc]
push ecx
call sub.kernel32.dll_GetComputerNameA
mov word [ebp - 0xa8], 0x2c
lea edx, [ebp - 0x1cc]
lea eax, [ebp - 0x10]
call fcn.00497bd0
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x10]
mov eax, 0x4d8718
call fcn.00497e50
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0xa8], 0x38
mov edx, 0x4b0eb3
lea eax, [ebp - 0x14]
call fcn.00497bd0
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x14]
mov eax, 0x4d8720
call fcn.00497e50
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0xa8], 0x44
lea eax, [ebp - 0x1c]
call fcn.00402a14
push eax
inc dword [ebp - 0x9c]
mov edx, 0x4b0eba
lea eax, [ebp - 0x18]
call fcn.00497bd0
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x18]
mov eax, 0x4d86f8
pop ecx
call fcn.00497e78
lea ecx, [ebp - 0x1c]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [sym.imp.rtl60.bpl__Inifiles_TIniFile_]
call fcn.00408550
mov dword [ebp - 0xcc], eax
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00497e20
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0xa8], 0x50
mov edx, 0x4b0ed7
lea eax, [ebp - 0x28]
call fcn.00497bd0
inc dword [ebp - 0x9c]
push dword [eax]
lea eax, [ebp - 0x2c]
call fcn.00402a14
push eax
inc dword [ebp - 0x9c]
mov edx, 0x4b0ecb
lea eax, [ebp - 0x24]
call fcn.00497bd0
inc dword [ebp - 0x9c]
push dword [eax]
mov edx, 0x4b0ec7
lea eax, [ebp - 0x20]
call fcn.00497bd0
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xcc]
pop ecx
mov ebx, dword [eax]
call dword [ebx]
lea edx, [ebp - 0x2c]
mov eax, 0x4be2d8
call fcn.00497e50
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00497e20
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00497e20
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00497e20
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00497e20
push 0x599
mov edx, 0x4b0ee4
lea eax, [ebp - 0x34]
call fcn.00497bd0
inc dword [ebp - 0x9c]
push dword [eax]
mov word [ebp - 0xa8], 0x5c
mov edx, 0x4b0ee0
lea eax, [ebp - 0x30]
call fcn.00497bd0
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xcc]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 8]
mov dword [0x4be2dc], eax
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00497e20
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00497e20
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 0
je 0x40b3c7
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
mov dword [ebp - 0x38], edx
mov word [ebp - 0xa8], 0x74
mov edx, 3
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0xa8], 0x68
mov word [ebp - 0xa8], pe_nt_image_headers32
lea eax, [ebp - 0x44]
call fcn.00402a14
push eax
inc dword [ebp - 0x9c]
mov edx, 0x4b0eec
lea eax, [ebp - 0x40]
call fcn.00497bd0
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xbc]
pop ecx
call fcn.0040bc64
lea edx, [ebp - 0x44]
mov eax, 0x4be2e0
call fcn.00497e50
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00497e20
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0xa8], 0x8c
lea eax, [ebp - 0x4c]
call fcn.00402a14
push eax
inc dword [ebp - 0x9c]
mov edx, 0x4b0ef5
lea eax, [ebp - 0x48]
call fcn.00497bd0
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xbc]
pop ecx
call fcn.0040bc64
lea edx, [ebp - 0x4c]
mov eax, 0x4d8714
call fcn.00497e50
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00497e20
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0xa8], 0x98
mov edx, 0x4b0f01
lea eax, [ebp - 0x50]
call fcn.00497bd0
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x50]
mov eax, 0x4be2e0
call fcn.00497f04
push eax
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00497e20
pop ecx
test cl, cl
je 0x40b51d
mov word [ebp - 0xa8], 0xa4
mov edx, 0x4b0f02
lea eax, [ebp - 0x54]
call fcn.00497bd0
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x54]
mov eax, 0x4be2e0
call fcn.00497e50
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0xa8], 0xb0
mov edx, 0x4b0f05
lea eax, [ebp - 0x58]
call fcn.00497bd0
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x58]
mov eax, 0x4be2e0
call fcn.00497f04
push eax
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.00497e20
pop ecx
test cl, cl
je 0x40b65e
mov eax, dword [sym.imp.vcl60.bpl__Forms_Application]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [0x4bf0f8]
call fcn.0042be04
mov dword [ebp - 0xc4], eax
mov word [ebp - 0xa8], 0xbc
push 0x30
mov ecx, 0x4b0f26
mov edx, 0x4b0f06
mov eax, dword [sym.imp.vcl60.bpl__Forms_Application]
mov eax, dword [eax]
call fcn.00497b24
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax]
call dword [edx + 0xe8]
mov ecx, dword [ebp - 0xc4]
cmp byte [ecx + 0x320], 0
jne 0x40b604
mov al, byte [ebp - 0xbd]
push eax
dec dword [ebp - 0x9c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00497e20
dec dword [ebp - 0x9c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00497e20
pop eax
push eax
xor edx, edx
mov dword [ebp - 0x9c], edx
lea ecx, [ebp - 0xb8]
push ecx
call sub.CC3260MT.DLL___Return_unwind
pop ecx
pop eax
jmp 0x40bc2a
mov byte [ebp - 0xbd], 1
mov word [ebp - 0xa8], 0x14
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x60], 0
je 0x40b64a
mov ecx, dword [ebp - 0x60]
mov eax, dword [ecx]
mov dword [ebp - 0x5c], eax
mov word [ebp - 0xa8], 0xd4
mov edx, 3
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0xa8], 0xc8
cmp word [ebp - 0xa6], 0
je 0x40bbef
ret
mov word [ebp - 0xa8], 0xe0
mov word [ebp - 0xa8], 0xec
lea eax, [ebp - 0x64]
call fcn.00402a14
inc dword [ebp - 0x9c]
mov word [ebp - 0xa8], 0xf8
mov word [ebp - 0xa8], 0x104
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x2f8]
call sub.dbrtl60.bpl__Db_TCustomConnection_Close_qqrv
mov word [ebp - 0xa8], 0x110
lea eax, [ebp - 0x68]
call fcn.00402a14
mov edx, eax
inc dword [ebp - 0x9c]
mov eax, dword [ebp - 0xbc]
call fcn.004136ac
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x6c]
call fcn.00499e08
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ecx + 0x2f8]
call sub.adortl60.bpl__Adodb_TADOConnection_SetConnectionString_qqrx17System_WideString
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.00499e7c
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.00497e20
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ecx + 0x2f8]
call fcn.0040693c
mov word [ebp - 0xa8], 0xf8
jmp 0x40bbb3
mov byte [ebp - 0xbd], 1
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0xa8], 0xe0
mov word [ebp - 0xa8], 0x14
jmp 0x40bbef
mov al, byte [ebp - 0xbd]
push eax
dec dword [ebp - 0x9c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00497e20
dec dword [ebp - 0x9c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00497e20
pop eax
mov edx, dword [ebp - 0xb8]
mov dword fs:[0], edx
mov edi, dword [ebp - 0x1d8]
mov esi, dword [ebp - 0x1d4]
mov ebx, dword [ebp - 0x1d0]
mov esp, ebp
pop ebp
ret