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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415c04
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x41e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x228]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x218], 0
push 0x41baf8
movups xmmword [ebp - 0x228], xmm0
mov dword [ebp - 0x214], 0
call fcn.004018a0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x214]
mov eax, ecx
mov edi, dword [ebp - 0x218]
sub eax, edi
cmp eax, 0xd
jb 0x401a72
cmp ecx, 7
lea esi, [ebp - 0x228]
lea eax, [edi + 0xd]
cmova esi, dword [ebp - 0x228]
push 0x1a
mov dword [ebp - 0x218], eax
push str._user_info_u
lea eax, [esi + edi*2]
push eax
call fcn.004054d0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2 + 0x1a], ax
jmp 0x401a8c
push 0xd
push str._user_info_u
push dword [ebp - 0x234]
lea ecx, [ebp - 0x228]
push 0xd
call fcn.004022a0
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x100
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov dword [ebp - 0x23c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x24c]
movups xmmword [ebp - 0x24c], xmm0
test eax, eax
jne 0x401ada
push eax
push 0x41baf8
jmp 0x401ae9
mov eax, dword [ebp - 0x230]
dec eax
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004018a0
mov edi, dword [ebp - 0x24c]
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 2
mov ecx, edi
cmp dword [ebp - 0x238], 7
mov esi, dword [ebp - 0x218]
mov edx, dword [ebp - 0x23c]
cmovbe ecx, eax
mov eax, dword [ebp - 0x214]
sub eax, esi
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x22c], esi
cmp edx, eax
ja 0x401b7b
cmp dword [ebp - 0x214], 7
lea eax, [edx + esi]
mov dword [ebp - 0x218], eax
lea esi, [ebp - 0x228]
cmova esi, dword [ebp - 0x228]
mov eax, dword [ebp - 0x22c]
lea ecx, [esi + eax*2]
lea eax, [edx + edx]
push eax
push dword [ebp - 0x234]
push ecx
call fcn.004054d0
mov eax, dword [ebp - 0x23c]
add esp, 0xc
add eax, dword [ebp - 0x22c]
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x401b95
push edx
push ecx
push dword [ebp - 0x234]
lea ecx, [ebp - 0x228]
push edx
call fcn.004022a0
mov edi, dword [ebp - 0x24c]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x238]
cmp eax, 7
jbe 0x401bd3
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x401bc9
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402164
push ecx
push edi
call fcn.00403a52
add esp, 8
mov ecx, dword [ebp - 0x214]
mov eax, ecx
mov edi, dword [ebp - 0x218]
sub eax, edi
cmp eax, 3
jb 0x401c1d
cmp ecx, 7
lea esi, [ebp - 0x228]
lea eax, [edi + 3]
cmova esi, dword [ebp - 0x228]
push 6
mov dword [ebp - 0x218], eax
push 0x41bb30
lea eax, [esi + edi*2]
push eax
call fcn.004054d0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2 + 6], ax
jmp 0x401c37
push 3
push 0x41bb30
push dword [ebp - 0x234]
lea ecx, [ebp - 0x228]
push 3
call fcn.004022a0
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0x100
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov dword [ebp - 0x23c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x24c]
movups xmmword [ebp - 0x24c], xmm0
test eax, eax
jne 0x401c85
push eax
push 0x41baf8
jmp 0x401c92
push dword [ebp - 0x22c]
lea eax, [ebp - 0x210]
push eax
call fcn.004018a0
mov edi, dword [ebp - 0x24c]
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 3
mov ecx, edi
cmp dword [ebp - 0x238], 7
mov esi, dword [ebp - 0x218]
mov edx, dword [ebp - 0x23c]
cmovbe ecx, eax
mov eax, dword [ebp - 0x214]
sub eax, esi
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x230], esi
cmp edx, eax
ja 0x401d24
cmp dword [ebp - 0x214], 7
lea eax, [edx + esi]
mov dword [ebp - 0x218], eax
lea esi, [ebp - 0x228]
cmova esi, dword [ebp - 0x228]
mov eax, dword [ebp - 0x230]
lea ecx, [esi + eax*2]
lea eax, [edx + edx]
push eax
push dword [ebp - 0x234]
push ecx
call fcn.004054d0
mov eax, dword [ebp - 0x23c]
add esp, 0xc
add eax, dword [ebp - 0x230]
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x401d3e
push edx
push ecx
push dword [ebp - 0x234]
lea ecx, [ebp - 0x228]
push edx
call fcn.004022a0
mov edi, dword [ebp - 0x24c]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x238]
cmp eax, 7
jbe 0x401d7c
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x401d72
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402164
push ecx
push edi
call fcn.00403a52
add esp, 8
mov ecx, dword [ebp - 0x214]
mov eax, ecx
mov edi, dword [ebp - 0x218]
sub eax, edi
cmp eax, 0xc
jb 0x401dc6
cmp ecx, 7
lea esi, [ebp - 0x228]
lea eax, [edi + 0xc]
cmova esi, dword [ebp - 0x228]
push 0x18
mov dword [ebp - 0x218], eax
push str.aExeNative
lea eax, [esi + edi*2]
push eax
call fcn.004054d0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2 + 0x18], ax
jmp 0x401de0
push 0xc
push str.aExeNative
push dword [ebp - 0x234]
lea ecx, [ebp - 0x228]
push 0xc
call fcn.004022a0
mov ecx, dword [ebp - 0x214]
mov eax, ecx
mov edi, dword [ebp - 0x218]
sub eax, edi
cmp eax, 5
jb 0x401e2a
cmp ecx, 7
lea esi, [ebp - 0x228]
lea eax, [edi + 5]
cmova esi, dword [ebp - 0x228]
push 0xa
mov dword [ebp - 0x218], eax
push str.id1
lea eax, [esi + edi*2]
push eax
call fcn.004054d0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2 + 0xa], ax
jmp 0x401e44
push 5
push str.id1
push dword [ebp - 0x234]
lea ecx, [ebp - 0x228]
push 5
call fcn.004022a0
mov ecx, dword [ebp - 0x214]
mov eax, ecx
mov edi, dword [ebp - 0x218]
sub eax, edi
cmp eax, 0xc
jb 0x401e8e
cmp ecx, 7
lea esi, [ebp - 0x228]
lea eax, [edi + 0xc]
cmova esi, dword [ebp - 0x228]
push 0x18
mov dword [ebp - 0x218], eax
push str.srcflash_e
lea eax, [esi + edi*2]
push eax
call fcn.004054d0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2 + 0x18], ax
jmp 0x401ea8
push 0xc
push str.srcflash_e
push dword [ebp - 0x234]
lea ecx, [ebp - 0x228]
push 0xc
call fcn.004022a0
push 0
push ecx
mov edi, esp
mov dword [ebp - 0x234], edi
mov esi, dword [ebp - 0x218]
test esi, esi
je 0x401f62
cmp dword [ebp - 0x214], 7
lea edi, [ebp - 0x228]
cmova edi, dword [ebp - 0x228]
call fcn.00401670
mov ecx, eax
test ecx, ecx
je 0x402155
test edi, edi
jne 0x401ef0
test esi, esi
jne 0x40214b
mov eax, dword [ecx]
push 2
push esi
mov eax, dword [eax]
call eax
test eax, eax
je 0x402146
mov ecx, dword [ebp - 0x234]
add eax, 0x10
mov dword [ecx], eax
test esi, esi
js 0x40214b
cmp esi, dword [eax - 8]
jg 0x40214b
mov dword [eax - 0xc], esi
xor edx, edx
mov eax, dword [ecx]
add esi, esi
mov word [esi + eax], dx
mov eax, dword [ecx]
test esi, esi
je 0x401f85
test eax, eax
je 0x401f50
push esi
test edi, edi
je 0x401f45
push edi
push eax
call fcn.004054d0
add esp, 0xc
jmp 0x401f85
push 0
push eax
call fcn.00405330
add esp, 0xc
call fcn.004074eb
mov dword [eax], 0x16
call fcn.004073ed
jmp 0x401f85
mov byte [ebp - 4], 4
call fcn.00401670
mov ecx, eax
test ecx, ecx
je 0x402155
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov byte [ebp - 4], 1
mov dword [edi], eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00402550
mov byte [ebp - 4], 5
xorps xmm0, xmm0
mov eax, dword [eax]
mov dword [ebp - 0x23c], 0
movups xmmword [ebp - 0x24c], xmm0
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x401fcb
push ecx
push eax
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x238], 0
call fcn.004018a0
jmp 0x401fde
xor eax, eax
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
mov ecx, dword [ebp - 0x214]
cmp ecx, 7
jbe 0x40201e
mov edx, dword [ebp - 0x228]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402014
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40215f
push ecx
push edx
call fcn.00403a52
add esp, 8
movups xmm0, xmmword [ebp - 0x24c]
or eax, 0xffffffff
movups xmmword [ebp - 0x228], xmm0
movq xmm0, qword [ebp - 0x23c]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x22c]
movq qword [ebp - 0x218], xmm0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40205e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
sub esp, 0x18
lea eax, [ebp - 0x228]
mov ecx, esp
mov dword [ebp - 0x234], esp
push eax
call fcn.00402190
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402190
mov byte [ebp - 4], 1
call fcn.00401040
mov ecx, dword [ebp - 0x214]
cmp ecx, 7
jbe 0x4020d4
mov edx, dword [ebp - 0x228]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4020ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402164
push ecx
push edx
call fcn.00403a52
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
cmp ecx, 7
jbe 0x402127
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40211d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402164
push ecx
push edx
call fcn.00403a52
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00403a3a
mov esp, ebp
pop ebp
ret 0x18
call fcn.00402290
push 0x80070057
call fcn.00401540
push 0x80004005
call fcn.00401540
call fcn.004073fd
call fcn.004073fd
int3