Function at 0x40447b
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x459695
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x182c
call fcn.00453380
and dword [esp + 4], 0
push ebx
push esi
push edi
push 0x3ff
lea eax, [esp + 0x35]
push 0
push eax
mov byte [esp + 0x3c], 0
call fcn.0044ded0
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
add esp, 0xc
push edi
push 0x45d25c
call esi
test eax, eax
je 0x4048c9
push edi
push str.lang
call esi
test eax, eax
je 0x4048c9
push edi
push str.btag1
call esi
test eax, eax
jne 0x404502
mov eax, dword [ebp + 0x14]
add eax, 0x1c
jmp 0x4048d1
push edi
push str.btag2
call esi
test eax, eax
jne 0x40451b
mov eax, dword [ebp + 0x14]
add eax, 0x21c
jmp 0x4048d1
push edi
push str.btag3
call esi
test eax, eax
jne 0x404534
mov eax, dword [ebp + 0x14]
add eax, 0x41c
jmp 0x4048d1
push edi
push str.btag4
call esi
test eax, eax
jne 0x40454d
mov eax, dword [ebp + 0x14]
add eax, 0x61c
jmp 0x4048d1
push edi
push str.btag5
call esi
test eax, eax
jne 0x404566
mov eax, dword [ebp + 0x14]
add eax, 0x81c
jmp 0x4048d1
push edi
push str.region
call esi
test eax, eax
jne 0x40457f
mov eax, dword [ebp + 0x14]
add eax, 0xf28
jmp 0x4048d1
push edi
push str.name
call esi
test eax, eax
jne 0x40459e
mov eax, dword [ebp + 0x14]
add eax, 0x89dc
push eax
push 0x45d298
jmp 0x4048d7
push edi
push str.local_machinename
call esi
test eax, eax
jne 0x4045c6
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
jmp 0x404690
push edi
push str.local_username
call esi
test eax, eax
jne 0x4045f3
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov eax, dword [esp + 0x10]
dec eax
jmp 0x4048e5
push edi
mov ebx, 0x45d2c0
push ebx
call esi
test eax, eax
jne 0x404645
mov eax, dword [ebp + 0x14]
add eax, 0x89dc
push eax
mov eax, str.SoftwareMGSThumperCasino
call fcn.00401d25
pop ecx
push 0
push ebx
mov esi, eax
push esi
call fcn.0040278e
add esp, 0xc
mov edi, eax
push edi
lea eax, [esp + 0x34]
push 0x45d298
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
mov dword [esp + 0x14], eax
call fcn.00444794
pop ecx
jmp 0x404689
push edi
mov ebx, 0x45cc6c
push ebx
call esi
test eax, eax
jne 0x404699
mov eax, dword [ebp + 0x14]
add eax, 0x89dc
push eax
mov eax, str.SoftwareMGSThumperCasino
call fcn.00401d25
pop ecx
mov esi, eax
push ebx
push esi
xor eax, eax
call fcn.00402922
push eax
lea eax, [esp + 0x3c]
push 0x45d2cc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov dword [esp + 0x10], eax
push esi
call fcn.00444794
pop ecx
mov eax, dword [esp + 0x10]
jmp 0x4048e5
push edi
mov ebx, str.userguid
push ebx
call esi
test eax, eax
je 0x40489b
push edi
push 0x45d2dc
call esi
test eax, eax
je 0x40489b
push edi
push str.hddid
call esi
test eax, eax
je 0x40483c
push edi
push 0x45d308
call esi
test eax, eax
je 0x40483c
push edi
push str.casinoid
call esi
test eax, eax
je 0x40482e
push edi
push str.serverid
call esi
test eax, eax
je 0x40482e
push edi
push str.pcmversion
call esi
test eax, eax
jne 0x404713
mov eax, dword [ebp + 0x14]
add eax, 0x8858
jmp 0x404593
push edi
push str.PCMGUID
call esi
test eax, eax
jne 0x40472c
mov eax, dword [ebp + 0x14]
add eax, 0x8758
jmp 0x404593
push edi
push str.RegistryPCMGUID
call esi
test eax, eax
jne 0x404745
mov eax, dword [ebp + 0x14]
add eax, 0x87d8
jmp 0x404593
push edi
push str.EmbeddedPCMGUID
call esi
test eax, eax
jne 0x404760
mov eax, dword [0x475e78]
add eax, 0xc1c
jmp 0x4048d1
push edi
push str.bytesDownloaded
call esi
test eax, eax
jne 0x4047a0
push 0xffffffffffffffff
push dword [0x475d64]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x404795
mov esi, dword [0x475d58]
push dword [0x475d64]
shr esi, 0xa
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
push 0x45d2cc
jmp 0x4048d7
push edi
push str.percentDownloaded
call esi
test eax, eax
jne 0x4047ce
push 0xffffffffffffffff
push dword [0x475720]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x404795
mov esi, dword [0x475d5c]
push dword [0x475720]
jmp 0x40478f
push edi
push str.PCMHardwareInfo
call esi
test eax, eax
jne 0x404811
xor esi, esi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], esi
call fcn.0040224f
test eax, eax
je 0x404800
push dword [ebp + 0x10]
mov eax, dword [esp + 0x18]
push dword [ebp + 0xc]
call fcn.004042c1
pop ecx
pop ecx
mov esi, eax
push dword [esp + 0x14]
call fcn.00444794
pop ecx
mov eax, esi
jmp 0x404905
mov eax, dword [ebp + 0x14]
lea ecx, [eax + 0x89dc]
push ecx
add eax, 0x8adc
call fcn.00401d25
pop ecx
push 0
push edi
jmp 0x404617
mov eax, dword [ebp + 0x14]
push dword [eax + 0x88d8]
jmp 0x404796
mov byte [esp + 0x14], 0
xor eax, eax
lea edi, [esp + 0x15]
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea esi, [esp + 0x14]
stosb byte es:[edi], al
call fcn.0040deca
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
xor eax, eax
mov byte [esp + 0x1c], 0
lea edi, [esp + 0x1d]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
lea ebx, [esp + 0x1c]
movzx eax, byte [esp + edi + 0x14]
push eax
push str._2.2X
push ebx
call esi
add esp, 0xc
inc edi
inc ebx
inc ebx
cmp edi, 8
jl 0x40486f
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x34]
push 0x45d298
push eax
call esi
jmp 0x4048e2
push SysReAllocStringLen
mov ecx, str.SoftwareMicrosoftMultimedia
lea eax, [esp + 0x434]
call fcn.0040dff2
and dword [esp + 0x1844], 0
push ebx
mov ecx, 0x45cbc7
call fcn.0040e16f
jmp 0x404593
mov eax, dword [ebp + 0x14]
add eax, 0xf40
push eax
push 0x45cc74
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
test eax, eax
je 0x404903
cmp byte [esp + 0x30], 0
je 0x404903
push dword [ebp + 0x10]
lea eax, [esp + 0x34]
push dword [ebp + 0xc]
call fcn.004042c1
pop ecx
pop ecx
jmp 0x404905
xor eax, eax
mov ecx, dword [esp + 0x183c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10