Function at 0x10024fdd
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x1002d0e4]
xor eax, ebp
mov dword [ebp - 4], eax
fldz
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x254], eax
xor edx, edx
mov ebx, ecx
mov ecx, dword [ebp + 0x18]
mov esi, edx
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x248], edx
fst dword [ebp - 0x244]
test ecx, ecx
jne 0x10025039
fstp st(0)
mov eax, 0x80070057
jmp 0x1002535f
mov dword [ecx], edx
test eax, eax
je 0x10025043
fstp dword [eax]
jmp 0x10025045
fstp st(0)
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x214], edx
test ebx, ebx
je 0x10025100
lea eax, [ebp - 0x250]
mov dword [ebp - 0x250], 0x104
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x100250ae
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x1002535f
movzx eax, ax
or eax, 0x80070000
jmp 0x1002535f
lea eax, [ebp - 0x210]
push eax
push ebx
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x100250fe
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x24c]
jne 0x100250c7
sub ecx, edx
sar ecx, 1
je 0x100250fe
xor edx, edx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x260], edx
lea esi, [ebp - 0x268]
mov dword [ebp - 0x268], edx
mov dword [ebp - 0x25c], edx
jmp 0x10025100
xor edx, edx
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 0x100062bc
push eax
push 3
push esi
push 0x14
push edx
push 0x1000660c
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x21c], 0x1000641c
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstanceEx]
mov edi, eax
test edi, edi
js 0x10025375
cmp dword [ebp - 0x22c], 0
jne 0x10025370
lea eax, [ebp - 0x238]
push eax
push 0x10005b3c
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoGetObjectContext]
test eax, eax
js 0x1002525b
mov eax, dword [ebp - 0x238]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x20]
mov ecx, esi
call dword [0x10030308]
call esi
mov ecx, dword [ebp - 0x238]
mov edi, eax
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x10030308]
call esi
xor ecx, ecx
mov dword [ebp - 0x238], ecx
test edi, edi
je 0x1002525b
lea eax, [ebp - 0x248]
push eax
push 0x10006068
push 3
push ecx
push 0x10006058
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x10025375
mov ecx, dword [ebp - 0x248]
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x23c]
push eax
push ebx
push ecx
mov ecx, esi
call dword [0x10030308]
call esi
mov edi, eax
test edi, edi
js 0x10025375
push ecx
push ecx
push dword [ebp - 0x23c]
lea ecx, [ebp - 0x234]
sub esp, 0xc
push dword [ebp - 0x240]
call fcn.100253a6
mov edi, eax
test edi, edi
js 0x10025375
mov ecx, dword [ebp - 0x230]
xor ebx, ebx
fld dword [0x10009374]
mov eax, dword [ecx]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x244]
push eax
push ebx
push ecx
push ecx
fstp dword [esp + 4]
fld dword [0x1000936c]
fstp dword [esp]
push ecx
mov ecx, esi
call dword [0x10030308]
call esi
mov edi, eax
test edi, edi
js 0x10025375
jmp 0x10025288
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x23c]
push eax
push ecx
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x234]
call fcn.100253ce
mov edi, eax
test edi, edi
js 0x10025375
xor ebx, ebx
mov edi, dword [ebp - 0x220]
test edi, edi
js 0x10025375
push 0x40
push 0xffffffffffffffff
push dword [ebp - 0x23c]
push 6
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x240]
push dword [ebp - 0x224]
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoSetProxyBlanket]
mov edi, eax
mov eax, dword [ebp - 0x254]
test eax, eax
je 0x100252cb
fld dword [ebp - 0x244]
fstp dword [eax]
test edi, edi
js 0x10025375
mov ecx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x224]
mov dword [ecx], eax
xor ebx, ebx
mov ecx, dword [ebp - 0x230]
test ecx, ecx
je 0x10025303
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10030308]
call esi
mov dword [ebp - 0x230], ebx
mov ecx, dword [ebp - 0x218]
test ecx, ecx
je 0x10025323
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10030308]
call esi
mov dword [ebp - 0x218], ebx
mov ecx, dword [ebp - 0x238]
test ecx, ecx
je 0x10025343
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10030308]
call esi
mov dword [ebp - 0x238], ebx
mov ecx, dword [ebp - 0x248]
test ecx, ecx
je 0x1002535d
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10030308]
call esi
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10027c70
leave
ret 0x14
mov edi, 0x8011042c
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x100252e1
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10030308]
call esi
xor ebx, ebx
mov dword [ebp - 0x224], ebx
jmp 0x100252e3