Function at 0x10063eb
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbcc
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.01004176
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, 0x1001261
lea eax, [esi + 0x118]
push ebx
push eax
mov dword [ebp - 0x18], 0x10
call edi
lea eax, [esi + 0x518]
push ebx
push eax
call edi
lea eax, [esi + 0x918]
push ebx
push eax
call edi
lea eax, [esi + 0xd18]
push ebx
push eax
call edi
lea eax, [esi + 0x1118]
push ebx
push eax
call edi
push ebx
lea eax, [esi + 0x1518]
push eax
call edi
lea eax, [esi + 0x191a]
push ebx
push eax
call edi
lea eax, [esi + 0x1d1a]
push ebx
push eax
call edi
push ebx
lea eax, [esi + 0x211a]
push eax
call edi
push 0x104
lea eax, [ebp - 0x12c]
xor ebx, ebx
push eax
push ebx
mov word [esi + 0x1918], bx
mov word [esi + 0x251a], bx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1006ae6
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x10064ac
cmp eax, ebx
je 0x10064b6
dec eax
cmp byte [ebp + eax - 0x12c], 0x5c
jne 0x10064a7
and byte [ebp + eax - 0x12c], 0
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x12c]
dec ecx
cmp byte [eax + ecx], 0x5c
lea eax, [ebp - 0x12c]
je 0x10064e5
push 0x1002584
jmp 0x10064ea
push 0x1002578
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x12c]
push eax
call ebx
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
lea eax, [ebp - 0x12c]
jne 0x100653f
push 0x1002570
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x12c]
push eax
call ebx
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
je 0x1006550
lea eax, [ebp - 0x12c]
mov ecx, esi
push eax
call fcn.01004301
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 1
push 0x100256c
lea ecx, [ebp - 0x10]
call fcn.01003f07
test eax, eax
je 0x10065c5
push 1
push 0x100256c
lea ecx, [ebp - 0x10]
call fcn.01003e54
test eax, eax
jne 0x1006585
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x1006ae9
push eax
lea eax, [ebp - 0x12c]
push eax
call edi
lea eax, [ebp - 0x7bc]
push eax
lea eax, [ebp - 0x12c]
push eax
call ebx
cmp eax, 0xffffffff
lea eax, [ebp - 0x12c]
push eax
je 0x100670a
mov ecx, esi
call fcn.01004301
cmp dword [ebp - 0x14], 0
je 0x10065c5
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor ebx, ebx
inc ebx
push ebx
push 0x1002568
lea ecx, [ebp - 0x10]
call fcn.01003f07
test eax, eax
jne 0x10065ec
push ebx
push 0x1002564
lea ecx, [ebp - 0x10]
call fcn.01003f07
test eax, eax
je 0x10065ee
mov dword [esi], ebx
push ebx
push 0x1001b58
lea ecx, [ebp - 0x10]
call fcn.01003f07
test eax, eax
jne 0x1006612
push ebx
push 0x1001b54
lea ecx, [ebp - 0x10]
call fcn.01003f07
test eax, eax
je 0x1006615
mov dword [esi + 4], ebx
push ebx
push 0x1002560
lea ecx, [ebp - 0x10]
call fcn.01003f07
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x1006649
push 1
push 0x100255c
lea ecx, [ebp - 0x10]
call fcn.01003f07
test eax, eax
jne 0x1006649
cmp dword [esi + 0x2d34], 1
jne 0x100668e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
mov dword [esi + 0x2d34], 1
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x100668e
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x191a]
push eax
call edi
lea eax, [esi + 0x191a]
push eax
push 0
push 0xc
push 0x3ed
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
push 1
push 0x1002558
lea ecx, [ebp - 0x10]
call fcn.01003f07
test eax, eax
jne 0x10066b4
push 1
push 0x1002554
lea ecx, [ebp - 0x10]
call fcn.01003f07
test eax, eax
je 0x10066be
mov dword [esi + 0x2d30], 1
push 1
push 0x1002550
lea ecx, [ebp - 0x10]
call fcn.01003f07
test eax, eax
jne 0x10066e4
push 1
push 0x100254c
lea ecx, [ebp - 0x10]
call fcn.01003f07
test eax, eax
je 0x10066eb
and dword [0x10134e4], 0
push 1
push 0x1002548
lea ecx, [ebp - 0x10]
call fcn.01003f07
test eax, eax
lea ecx, [ebp - 0x10]
push 1
je 0x100673a
push 0x1002548
jmp 0x1006752
lea eax, [ebp - 0xbcc]
push 0x1002518
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor esi, esi
push esi
push 0x1001b48
lea eax, [ebp - 0xbcc]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1006ae9
push 0x1002514
call fcn.01003f07
test eax, eax
je 0x100677d
push 1
push 0x1002514
lea ecx, [ebp - 0x10]
call fcn.01003e54
push eax
lea eax, [esi + 0x118]
push eax
call edi
lea eax, [esi + 0x118]
push eax
push 0
push 0xc
push 0x3e8
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
push 1
push 0x1002510
lea ecx, [ebp - 0x10]
call fcn.01003f07
test eax, eax
lea ecx, [ebp - 0x10]
push 1
je 0x100679c
push 0x1002510
jmp 0x10067b4
push 0x100250c
call fcn.01003f07
test eax, eax
je 0x10067df
push 1
push 0x100250c
lea ecx, [ebp - 0x10]
call fcn.01003e54
push eax
lea eax, [esi + 0x518]
push eax
call edi
lea eax, [esi + 0x518]
push eax
push 0
push 0xc
push 0x3e9
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
push 1
push 0x1002508
lea ecx, [ebp - 0x10]
call fcn.01003f07
test eax, eax
lea ecx, [ebp - 0x10]
push 1
je 0x10067fe
push 0x1002508
jmp 0x1006816
push 0x1002504
call fcn.01003f07
test eax, eax
je 0x1006841
push 1
push 0x1002504
lea ecx, [ebp - 0x10]
call fcn.01003e54
push eax
lea eax, [esi + 0x918]
push eax
call edi
lea eax, [esi + 0x918]
push eax
push 0
push 0xc
push 0x3ea
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
push 1
push 0x1002500
lea ecx, [ebp - 0x10]
call fcn.01003f07
test eax, eax
lea ecx, [ebp - 0x10]
push 1
je 0x1006860
push 0x1002500
jmp 0x1006878
push 0x10024fc
call fcn.01003f07
test eax, eax
je 0x10068a3
push 1
push 0x10024fc
lea ecx, [ebp - 0x10]
call fcn.01003e54
push eax
lea eax, [esi + 0xd18]
push eax
call edi
lea eax, [esi + 0xd18]
push eax
push 0
push 0xc
push 0x3eb
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
push 1
push 0x10024f8
lea ecx, [ebp - 0x10]
call fcn.01003f07
test eax, eax
lea ecx, [ebp - 0x10]
push 1
je 0x10068c2
push 0x10024f8
jmp 0x10068da
push 0x10024f4
call fcn.01003f07
test eax, eax
je 0x1006905
push 1
push 0x10024f4
lea ecx, [ebp - 0x10]
call fcn.01003e54
push eax
lea eax, [esi + 0x1118]
push eax
call edi
lea eax, [esi + 0x1118]
push eax
push 0
push 0xc
push 0x3ec
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
push 1
push 0x10024f0
lea ecx, [ebp - 0x10]
call fcn.01003f07
test eax, eax
lea ecx, [ebp - 0x10]
push 1
je 0x1006924
push 0x10024f0
jmp 0x100693c
push 0x10024ec
call fcn.01003f07
test eax, eax
je 0x100699a
push 1
push 0x10024ec
lea ecx, [ebp - 0x10]
call fcn.01003e54
push eax
lea eax, [ebp - 0x67c]
push eax
call edi
lea eax, [ebp - 0x67c]
push eax
call fcn.0100965c
mov word [esi + 0x1918], ax
pop ecx
movzx eax, ax
push 0
inc eax
push eax
push 0x14e
push 0x3f3
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
push 0x3f3
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 0x3f3
push 0x111
push dword [esi + 8]
call ebx
push 1
push 0x10024e8
lea ecx, [ebp - 0x10]
call fcn.01003f07
test eax, eax
je 0x10069bf
cmp dword [esi + 0x2d34], 0
jne 0x1006a10
push 1
push 0x10024e8
jmp 0x10069e2
push 1
push 0x10024e4
lea ecx, [ebp - 0x10]
call fcn.01003f07
test eax, eax
je 0x1006a10
cmp dword [esi + 0x2d34], 0
jne 0x1006a10
push 1
push 0x10024e4
lea ecx, [ebp - 0x10]
call fcn.01003e54
push eax
lea eax, [esi + 0x191a]
push eax
call edi
lea eax, [esi + 0x191a]
push eax
push 0
push 0xc
push 0x3ed
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
push 1
push 0x10024e0
lea ecx, [ebp - 0x10]
call fcn.01003f07
test eax, eax
lea ecx, [ebp - 0x10]
push 1
je 0x1006a2f
push 0x10024e0
jmp 0x1006a47
push 0x10024dc
call fcn.01003f07
test eax, eax
je 0x1006a72
push 1
push 0x10024dc
lea ecx, [ebp - 0x10]
call fcn.01003e54
push eax
lea eax, [esi + 0x1d1a]
push eax
call edi
lea eax, [esi + 0x1d1a]
push eax
push 0
push 0xc
push 0x3ee
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
push 1
push 0x10024d8
lea ecx, [ebp - 0x10]
call fcn.01003f07
test eax, eax
lea ecx, [ebp - 0x10]
push 1
je 0x1006ab7
push 0x10024d8
call fcn.01003e54
push eax
lea eax, [ebp - 0x67c]
push eax
call edi
lea eax, [ebp - 0x67c]
push eax
call fcn.0100965c
mov word [esi + 0x251a], ax
pop ecx
movzx eax, ax
jmp 0x1006acc
push 0x10024d4
call fcn.01003f07
test eax, eax
je 0x1006ae6
movzx eax, word [esi + 0x251a]
push 0
inc eax
push eax
push 0x14e
push 0x3f4
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
xor esi, esi
inc esi
lea ecx, [ebp - 0x10]
call fcn.01003cac
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret