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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x48e560
push 0x480e70
mov eax, dword fs:[0]
push eax
sub esp, 0x544
mov eax, dword [0x5a7f20]
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 0x492265
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]
push ecx
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x11
lea eax, [ebp - 0x60]
push eax
call fcn.0048324b
mov dword [ebp - 0x54c], ebx
mov dword [ebp - 0x548], ebx
push 0x50
push ebx
lea ecx, [ebp - 0x544]
push ecx
call fcn.00481000
lea edx, [ebp - 0x54c]
push edx
call fcn.0045fef0
push 0x11
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x54c]
push ecx
call fcn.004600c0
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x54c]
push eax
call fcn.00460b70
add esp, 0x2c
mov eax, 0x10
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x4c]
cmp eax, 4
jb 0x49238b
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x492357
sub eax, 4
add ecx, 4
add edx, 4
jmp 0x492341
movzx eax, byte [edx]
movzx esi, byte [ecx]
sub eax, esi
jne 0x492383
movzx eax, byte [edx + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x492383
movzx eax, byte [edx + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x492383
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jmp 0x49238d
xor eax, eax
mov ecx, 0x10
lea edx, [ebp - 0x2c]
lea esi, [ebp - 0x4c]
cmp ecx, 4
jb 0x4923e2
mov edi, dword [esi]
cmp edi, dword [edx]
jne 0x4923ae
sub ecx, 4
add edx, 4
add esi, 4
jmp 0x492398
movzx edi, byte [edx]
movzx ecx, byte [esi]
sub ecx, edi
jne 0x4923da
movzx ecx, byte [esi + 1]
movzx edi, byte [edx + 1]
sub ecx, edi
jne 0x4923da
movzx ecx, byte [esi + 2]
movzx edi, byte [edx + 2]
sub ecx, edi
jne 0x4923da
movzx ecx, byte [esi + 3]
movzx edx, byte [edx + 3]
sub ecx, edx
sar ecx, 0x1f
or ecx, 1
jmp 0x4923e4
xor ecx, ecx
and eax, ecx
je 0x492585
push 0x401eb4
push 0x401ea0
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 0x401e90
mov esi, dword [ebp - 0x550]
push esi
call fcn.00483045
add esp, 0xc
test eax, eax
je 0x492551
call fcn.0046dd90
xor eax, eax
mov word [ebp - 0x2ec], ax
push 0x206
push ebx
lea ecx, [ebp - 0x2ea]
push ecx
call fcn.00481000
add esp, 0xc
lea edx, [ebp - 0x2ec]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x492565
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 0x492565
xor edx, edx
mov word [ebp - 0x4f4], dx
push 0x206
push ebx
lea eax, [ebp - 0x4f2]
push eax
call fcn.00481000
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x4f4]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x492565
push 0x40
push 0x5a8ef0
call fcn.00449690
add esp, 8
test eax, eax
je 0x492565
mov byte [ebp - 0xe4], bl
push 0x80
push ebx
lea edx, [ebp - 0xe3]
push edx
call fcn.00481000
mov dword [ebp - 0x550], 0x81
lea eax, [ebp - 0x550]
push eax
lea ecx, [ebp - 0xe4]
push ecx
push 0x40
push 0x5a8ef0
call fcn.004717e0
add esp, 0x1c
test eax, eax
je 0x492565
lea edx, [ebp - 0x2ec]
push edx
lea eax, [ebp - 0x4f4]
push eax
call fcn.00490fa0
add esp, 8
test eax, eax
je 0x492565
lea ecx, [ebp - 0xe4]
push ecx
lea edx, [ebp - 0x4f4]
push edx
lea eax, [ebp - 0x2ec]
push eax
call fcn.00443b20
add esp, 0xc
mov dword [ebp - 4], ebx
jmp 0x492585
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call fcn.00491e60
add esp, 4
mov dword [ebp - 4], ebx
jmp 0x492585
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.00480aee
mov esp, ebp
pop ebp
ret 0x10