Function at 0x403d30
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f703
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x44104c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
push 0
mov dword [ebp - 0x90], eax
call fcn.00416285
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa0], edx
call fcn.00416572
add esp, 4
lea ecx, [ebp - 0x154]
mov esi, eax
call fcn.004062d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x144]
mov eax, dword [esi + 0x14]
add eax, 0x76c
push eax
call fcn.00407730
mov ecx, eax
call fcn.0040b0a0
mov ecx, eax
mov eax, dword [esi + 0x10]
inc eax
push eax
call fcn.00407730
mov ecx, eax
call fcn.0040b0a0
push dword [esi + 0xc]
mov ecx, eax
call fcn.00407730
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x154]
call fcn.004061f0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x8c], 0x10
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
test eax, eax
je 0x403e41
lea ecx, [ebp - 0x50]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403e31
sub ecx, edx
lea eax, [ebp - 0x50]
push ecx
push eax
jmp 0x403e48
push 0
push 0x43ce9b
lea ecx, [ebp - 0x40]
call fcn.00409350
mov byte [ebp - 4], 2
call fcn.00415b1b
mov ecx, 0x3e7
cdq
idiv ecx
lea esi, [ebp - 0x13]
mov ecx, edx
add ecx, 1
jns 0x403e98
neg ecx
nop dword [eax]
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
shl al, 2
lea ebx, [eax + edx]
add bl, bl
sub cl, bl
add cl, 0x30
mov byte [esi], cl
mov ecx, edx
test ecx, ecx
jne 0x403e70
dec esi
mov byte [esi], 0x2d
jmp 0x403eba
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
shl al, 2
lea ebx, [eax + edx]
add bl, bl
sub cl, bl
add cl, 0x30
mov byte [esi], cl
mov ecx, edx
test ecx, ecx
jne 0x403e98
lea eax, [ebp - 0x13]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp esi, eax
je 0x403eef
sub eax, esi
lea ecx, [ebp - 0x88]
push eax
push esi
call fcn.00409350
mov byte [ebp - 4], 3
mov eax, 0x7fffffff
mov ecx, dword [ebp - 0x30]
sub eax, ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x9c], edx
cmp eax, edx
jb 0x40413a
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov ebx, dword [ebp - 0x40]
lea esi, [ebp - 0x70]
cmovae eax, ebx
mov dword [ebp - 0x58], 0
cmp dword [ebp - 0x5c], 0x10
lea edi, [ebp - 0x58]
mov dword [ebp - 0x98], eax
cmovae esi, dword [ebp - 0x70]
add edx, ecx
mov dword [ebp - 0x90], esi
mov esi, 0xf
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x8c], edx
cmp edx, esi
jbe 0x403fe1
mov esi, edx
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x403f9b
mov esi, 0x7fffffff
mov ecx, 0x80000023
push ecx
call fcn.0040ec01
add esp, 4
test eax, eax
je 0x404144
mov ecx, dword [ebp - 0x30]
lea edi, [eax + 0x23]
mov edx, dword [ebp - 0x8c]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x403fd8
mov eax, 0x16
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x1000
jb 0x403fbc
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x40413f
jmp 0x403f76
test eax, eax
je 0x403fd6
push eax
call fcn.0040ec01
mov ecx, dword [ebp - 0x30]
add esp, 4
mov edx, dword [ebp - 0x8c]
mov edi, eax
jmp 0x403fd8
xor edi, edi
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x58], edi
push ecx
push eax
push edi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], esi
call fcn.00410100
push dword [ebp - 0x9c]
mov eax, dword [ebp - 0x30]
push dword [ebp - 0x90]
add eax, edi
push eax
call fcn.00410100
mov eax, dword [ebp - 0x8c]
add esp, 0x18
mov byte [edi + eax], 0
mov esi, dword [ebp - 0x94]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x94]
mov ecx, esi
call fcn.0040c210
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x404069
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40405f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404144
push edx
push ecx
call fcn.0040ec31
add esp, 8
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x4040a0
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404096
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404144
push edx
push ecx
call fcn.0040ec31
add esp, 8
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x4040cf
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x4040c5
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404144
push ecx
push ebx
call fcn.0040ec31
add esp, 8
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x4040ff
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4040f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404144
push edx
push ecx
call fcn.0040ec31
add esp, 8
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.00404150
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ebee
mov esp, ebp
pop ebp
ret
call fcn.00401380
call fcn.004012e0
call fcn.00417025
int3