Function at 0x1102a1f0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1117fc91
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x148], edi
mov dword [ebp - 0x150], 0x20
call dword [sym.imp.KeRneL32.DLl_GetComputerNameA]
lea edx, [ebp - 0x14c]
push edx
xor ebx, ebx
push edi
mov byte [ebp - 0x130], bl
mov dword [ebp - 0x14c], 0xffffffff
call fcn.110f70e0
add esp, 8
mov dword [ebp - 0x144], eax
mov dword [ebp - 4], ebx
cmp byte [eax], bl
je 0x1102a2b3
push edi
call fcn.110f7300
add esp, 4
cmp eax, ebx
je 0x1102a2a5
cmp byte [eax], bl
je 0x1102a2a5
lea esi, [ebp - 0x130]
mov ecx, eax
sub esi, eax
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
cmp dl, bl
jne 0x1102a295
mov esi, dword [ebp - 0x140]
push eax
call fcn.11162777
add esp, 4
jmp 0x1102a3ed
push 0x11199de8
call dword [sym.imp.KeRneL32.DLl_LoadLibraryA]
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x154], ebx
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x138], ebx
push 0x11199e08
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.KeRneL32.DLl_GetProcAddress]
mov dword [ebp - 0x160], eax
cmp eax, ebx
je 0x1102a3b5
lea edx, [ebp - 0x138]
push edx
lea ecx, [ebp - 0x13c]
push ecx
push 6
push edi
push ebx
call eax
cmp eax, ebx
je 0x1102a37c
mov edx, dword [ebp - 0x13c]
push 0xa
push 0x1119a704
push edx
call fcn.11164644
add esp, 0xc
test eax, eax
jne 0x1102a37c
mov eax, dword [ebp - 0x13c]
add eax, 0xa
push eax
call fcn.11163ca7
add esp, 4
mov eax, dword [ebp - 0x13c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x1102a3d9
mov edi, eax
mov eax, dword [ebp - 0x134]
cmp dword [eax + 0x14], ebx
lea esi, [eax + 0x14]
jne 0x1102a3aa
mov ecx, dword [eax]
push 0x11199df8
push ecx
call dword [sym.imp.KeRneL32.DLl_GetProcAddress]
mov dword [esi], eax
mov esi, dword [esi]
cmp esi, ebx
je 0x1102a3bf
push edi
call esi
jmp 0x1102a3c7
push 0x78
call dword [sym.imp.KeRneL32.DLl_SetLastError]
jmp 0x1102a37c
push 0x78
call dword [sym.imp.KeRneL32.DLl_SetLastError]
mov edi, dword [ebp - 0x148]
mov esi, dword [ebp - 0x140]
mov dword [ebp - 0x13c], ebx
mov eax, dword [ebp - 0x180]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x1102a3ed
push eax
call dword [sym.imp.KeRneL32.DLl_FreeLibrary]
cmp byte [0x111ee4a4], bl
jne 0x1102a407
push 0x11195264
push 0x111ee4a4
call fcn.1103d530
add esp, 8
cmp byte [ebp - 0x130], bl
je 0x1102a47c
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x130]
push eax
call fcn.11081e70
add esp, 8
test eax, eax
je 0x1102a47c
lea ecx, [ebp - 0x130]
push ecx
mov ecx, dword [0x111ee30c]
push edi
call fcn.111076e0
test eax, eax
lea eax, [ebp - 0x130]
je 0x1102a463
mov edx, esi
mov ecx, eax
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x1102a450
mov edx, dword [ebp - 0x144]
push edx
jmp 0x1102a4c9
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1102a466
sub eax, edx
cmp eax, 0xc
ja 0x1102a493
lea eax, [ebp - 0x130]
jmp 0x1102a498
lea eax, [ebp - 0x30]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1102a482
sub eax, edx
cmp eax, 0xc
lea eax, [ebp - 0x30]
jbe 0x1102a498
mov eax, 0x111ee4a4
push edi
cmp edi, 0x63
jg 0x1102a4b2
push 0x2e
push eax
push 0x1119a6f8
push esi
call dword [sym.imp.uSEr32.dll_wsprintfA]
add esp, 0x14
jmp 0x1102a4c2
push eax
push 0x1119a6f0
push esi
call dword [sym.imp.uSEr32.dll_wsprintfA]
add esp, 0x10
mov eax, dword [ebp - 0x144]
push eax
call fcn.11162777
mov eax, 1
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret