Function at 0x401000
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435e0a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x174]
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 8
call sub.MFC42D.DLL_Ordinal_492
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call sub.MFC42D.DLL_Ordinal_492
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call sub.MFC42D.DLL_Ordinal_492
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call sub.MFC42D.DLL_Ordinal_492
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call sub.MFC42D.DLL_Ordinal_492
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call sub.MFC42D.DLL_Ordinal_492
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call sub.MFC42D.DLL_Ordinal_492
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call sub.MFC42D.DLL_Ordinal_492
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call sub.MFC42D.DLL_Ordinal_492
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call sub.MFC42D.DLL_Ordinal_492
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call sub.MFC42D.DLL_Ordinal_492
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call sub.MFC42D.DLL_Ordinal_492
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call sub.MFC42D.DLL_Ordinal_492
mov byte [ebp - 4], 0xc
push 0
push 0
push 0
push 0
push 1
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x58
call sub.MFC42D.DLL_Ordinal_379
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call sub.MFC42D.DLL_Ordinal_313
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x10]
add ecx, 0x9c
call sub.MFC42D.DLL_Ordinal_313
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x10]
add ecx, 0xc0
call fcn.0040b080
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x43cc3c
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x6c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x54], 0
push str.IsRegistered
push str.FTP_Server_Setting
mov ecx, dword [ebp - 0x10]
call fcn.004049c0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
push str.nSubItem
push str.Main_Window_Placement
mov ecx, dword [ebp - 0x10]
call fcn.004049c0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], eax
push str.bAscending
push str.Main_Window_Placement
mov ecx, dword [ebp - 0x10]
call fcn.004049c0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x44], eax
push str.FtpServerAddress
push str.FTP_Server_Setting
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00404c20
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0xb8]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 8
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x68]
call sub.MFC42D.DLL_Ordinal_684
push str.FtpUsername
push str.FTP_Server_Setting
lea edx, [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00404c20
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0xc0]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x6c]
call sub.MFC42D.DLL_Ordinal_684
push str.FtpPassword
push str.FTP_Server_Setting
lea edx, [ebp - 0x70]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00404c20
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0xc8]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x70]
call sub.MFC42D.DLL_Ordinal_684
push str.Homepage
push str.FTP_Server_Setting
lea edx, [ebp - 0x74]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00404c20
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0xd0]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x74]
call sub.MFC42D.DLL_Ordinal_684
push str.FileSavePath
push str.FTP_Server_Setting
lea edx, [ebp - 0x78]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00404c20
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x78]
call sub.MFC42D.DLL_Ordinal_684
push str.NotifyFilename
push str.FTP_Server_Setting
lea edx, [ebp - 0x7c]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00404c20
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0xe0]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x7c]
call sub.MFC42D.DLL_Ordinal_684
push str.ConnectFilename
push str.FTP_Server_Setting
lea edx, [ebp - 0x80]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00404c20
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0xe8]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x80]
call sub.MFC42D.DLL_Ordinal_684
push str.ClientFilename
push str.FTP_Server_Setting
lea edx, [ebp - 0x84]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00404c20
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0xf0]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x84]
call sub.MFC42D.DLL_Ordinal_684
push str.DownloadFilename
push str.FTP_Server_Setting
lea edx, [ebp - 0x88]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00404c20
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0xf8]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x88]
call sub.MFC42D.DLL_Ordinal_684
push str.DataPassword
push str.FTP_Server_Setting
lea edx, [ebp - 0x8c]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00404c20
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x100]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x8c]
call sub.MFC42D.DLL_Ordinal_684
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_492
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x18]
call sub.MFC42D.DLL_Ordinal_492
mov byte [ebp - 4], 0x1c
push 0x43cb48
push 1
lea edx, [ebp - 0x94]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call sub.MFC42D.DLL_Ordinal_4405
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x108]
push ecx
call sub.MFC42D.DLL_Ordinal_813
mov byte [ebp - 0x90], al
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x94]
call sub.MFC42D.DLL_Ordinal_684
mov edx, dword [ebp - 0x90]
and edx, 0xff
test edx, edx
je 0x401576
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call sub.MFC42D.DLL_Ordinal_2640
sub eax, 1
push eax
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call sub.MFC42D.DLL_Ordinal_3403
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], ecx
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x110]
push edx
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x98]
call sub.MFC42D.DLL_Ordinal_684
jmp 0x401585
mov eax, dword [ebp - 0x10]
add eax, 0x14
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_734
push 0x43cb48
push 1
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call sub.MFC42D.DLL_Ordinal_4405
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x118], edx
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x118]
push eax
call sub.MFC42D.DLL_Ordinal_824
mov byte [ebp - 0x9c], al
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xa0]
call sub.MFC42D.DLL_Ordinal_684
mov ecx, dword [ebp - 0x9c]
and ecx, 0xff
test ecx, ecx
je 0x401633
push 0x43cb48
mov edx, dword [ebp - 0x10]
add edx, 0x18
push edx
lea eax, [ebp - 0xa4]
push eax
call sub.MFC42D.DLL_Ordinal_901
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x120], ecx
mov byte [ebp - 4], 0x20
mov edx, dword [ebp - 0x120]
push edx
lea ecx, [ebp - 0x18]
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xa4]
call sub.MFC42D.DLL_Ordinal_684
jmp 0x401642
mov eax, dword [ebp - 0x10]
add eax, 0x18
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42D.DLL_Ordinal_734
lea ecx, [ebp - 0x18]
call sub.MFC42D.DLL_Ordinal_2640
sub eax, 1
push eax
push 1
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x18]
call sub.MFC42D.DLL_Ordinal_3555
mov dword [ebp - 0x124], eax
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x128], edx
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x128]
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xa8]
call sub.MFC42D.DLL_Ordinal_684
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42D.DLL_Ordinal_899
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x20]
push eax
call sub.MFC42D.DLL_Ordinal_899
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x64]
call fcn.00405a80
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
push ecx
lea ecx, [ebp - 0x20]
call sub.MFC42D.DLL_Ordinal_2640
push eax
lea ecx, [ebp - 0x20]
call sub.MFC42D.DLL_Ordinal_2640
push eax
lea ecx, [ebp - 0x20]
call sub.MFC42D.DLL_Ordinal_2291
push eax
lea ecx, [ebp - 0x64]
call fcn.00406ed0
mov esi, esp
push 0x80
mov edx, dword [ebp - 0x10]
add edx, 0xe0
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
push ecx
mov esi, esp
mov dword [ebp - 0xac], esp
push str.IPAddress.dat
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00404350
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x130], ecx
mov byte [ebp - 4], 0x25
mov edx, dword [ebp - 0x130]
push edx
push esi
call sub.MFC42D.DLL_Ordinal_901
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xc0
call fcn.0040b180
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0xb0]
call sub.MFC42D.DLL_Ordinal_684
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x64]
call fcn.00405b40
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x20]
call sub.MFC42D.DLL_Ordinal_684
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x1c]
call sub.MFC42D.DLL_Ordinal_684
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x18]
call sub.MFC42D.DLL_Ordinal_684
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_684
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x174
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret