Function at 0x1043531
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x1076530]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
push 0xab
push 0x1007d08
lea ecx, [ebp - 0x48]
call fcn.01055826
xor esi, esi
push 0xa4
lea eax, [ebp - 0x138]
push esi
push eax
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x13c], esi
call sub.msvcrt.dll_memset
add esp, 0xc
xor eax, eax
mov word [ebp - 0x24], ax
push 7
pop ecx
lea edi, [ebp - 0x22]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, 0x1010420
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x58], eax
xor eax, eax
inc eax
push ebx
mov dword [ebp - 0x94], 0x10
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x84], esi
call fcn.010408b4
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0xbc
jge 0x10435fc
mov word [ebp - 0x42], ax
jmp 0x1043c29
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x5c]
push eax
push 0x100ec84
push 1
push esi
push 0x100ecb4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0xc3
jl 0x10435f3
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
lea edx, [ebp - 0x13c]
push edx
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0xc6
jl 0x10435f3
mov edx, dword [ebp - 0x120]
mov word [ebp - 0x44], ax
cmp edx, esi
jne 0x104365d
mov dword [ebp - 0x48], 0x81000036
add eax, 2
jmp 0x10435f3
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x124]
mov dword [ebp - 0x78], eax
push esi
mov eax, 0xcb
lea edi, [ebx + 0xc]
push esi
mov ecx, edi
mov dword [ebp - 0x48], esi
mov word [ebp - 0x44], ax
call fcn.01064650
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0xcc
jl 0x10435f3
mov edx, dword [ebp - 0x120]
lea ecx, [ebx + 0x30]
mov word [ebp - 0x44], ax
call fcn.0106470b
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0xcd
jl 0x10435f3
mov edx, dword [ebp - 0x120]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea ecx, [ebx + 0x18]
push esi
mov word [ebp - 0x44], ax
call fcn.01064650
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0xce
jl 0x10435f3
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x104370d
call fcn.0105d3b8
mov dword [ebp - 0x48], eax
mov eax, 0xd1
jmp 0x10435f3
mov eax, 0xd1
lea edx, [ebp - 0x24]
mov ecx, ebx
mov dword [ebp - 0x48], esi
mov word [ebp - 0x44], ax
call fcn.0106470b
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0xd2
jl 0x10435f3
mov edx, dword [edi]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
mov word [ebp - 0x44], ax
push esi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebx + 0x24]
call fcn.01064650
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0xd3
jl 0x10435f3
cmp dword [ebp - 0x108], 7
mov word [ebp - 0x44], ax
je 0x1043a05
mov dword [ebx + 0x84], esi
cmp dword [ebp - 0x124], esi
je 0x1043922
lea ecx, [ebp - 0x68]
call fcn.010635d7
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x124]
push dword [ebp - 0x11c]
call fcn.010306c3
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0xe2
jl 0x10435f3
lea edx, [ebx + 0x30]
lea ecx, [ebp - 0x68]
mov word [ebp - 0x44], ax
call fcn.01063925
mov edx, dword [ebp - 0x120]
lea ecx, [ebp - 0x90]
call fcn.0106470b
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0xe5
jl 0x10435f3
push 0x5c
pop edx
lea ecx, [ebp - 0x90]
mov word [ebp - 0x44], ax
call fcn.0106469a
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0xe6
jl 0x10435f3
lea edx, [eax + 0x1f]
lea ecx, [ebp - 0x58]
mov word [ebp - 0x44], ax
call fcn.01063a55
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0xe7
jl 0x10435f3
push dword [ebp - 0x50]
mov word [ebp - 0x44], ax
push dword [ebp - 0x58]
push dword [ebp - 0x90]
call fcn.0105c333
mov edx, dword [ebp - 0x50]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
call fcn.010635ee
cmp dword [ebp - 0x48], esi
jge 0x1043888
mov eax, dword [0x1075318]
cmp eax, 0x1075318
je 0x1043870
test dword [eax + 0x1c], 0x2000000
je 0x1043870
push dword [ebp - 0x48]
push 0x10077c8
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010111c5
mov dword [ebp - 0x48], 1
mov eax, 0xf0
mov dword [ebx + 0x7c], esi
mov word [ebp - 0x44], ax
jmp 0x1043c29
mov eax, dword [0x1075318]
cmp eax, 0x1075318
je 0x10438b2
test dword [eax + 0x1c], 0x8000000
je 0x10438b2
push dword [ebp - 0x58]
push 0x10077c8
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01016f01
push 0x5c
pop edx
lea ecx, [ebp - 0x58]
call fcn.01063962
cmp dword [ebp - 0x54], esi
je 0x10438e9
mov edx, dword [ebp - 0x58]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
mov ecx, edi
call fcn.01064650
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0xf9
jl 0x10435f3
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x68]
call fcn.010635d7
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x58]
push dword [ebp - 0x11c]
call fcn.010306c3
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0xfe
jl 0x10435f3
lea edx, [ebx + 0x30]
lea ecx, [ebp - 0x68]
mov word [ebp - 0x44], ax
call fcn.01063925
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x120]
push ebx
call fcn.01041b5b
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0x103
jl 0x10435f3
mov word [ebp - 0x44], ax
cmp dword [ebp - 0x4c], esi
jne 0x104397f
mov eax, dword [0x1075318]
cmp eax, 0x1075318
je 0x1043972
test dword [eax + 0x1c], 0x8000000
je 0x1043972
push 0x10077c8
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01016edb
mov dword [ebp - 0x48], esi
mov eax, 0x108
jmp 0x104387c
cmp dword [ebp - 0x108], 0xb
je 0x1043995
cmp dword [ebp - 0x108], 6
jne 0x1043b0f
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x120]
call fcn.0105d2d7
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0x10f
jl 0x10435f3
mov word [ebp - 0x44], ax
cmp dword [ebp - 0x84], esi
je 0x1043b0f
mov eax, dword [0x1075318]
cmp eax, 0x1075318
je 0x10439ee
test dword [eax + 0x1c], 0x8000000
je 0x10439ee
push 0x10077c8
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01016edb
mov dword [ebx + 0x80], 1
mov dword [ebp - 0x48], esi
mov eax, 0x114
jmp 0x104387f
mov edx, dword [ebp - 0x120]
lea ecx, [ebp - 0x74]
mov dword [ebx + 0x90], esi
mov dword [ebx + 0x7c], esi
call fcn.0106470b
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0x120
jl 0x10435f3
push dword [ebp - 0x74]
mov word [ebp - 0x44], ax
call fcn.01056930
test eax, eax
jne 0x1043a44
lea ecx, [ebp - 0x74]
call fcn.010636cf
mov edx, dword [ebp - 0x74]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
mov ecx, edi
call fcn.01064650
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0x126
jl 0x10435f3
mov edx, dword [ebp - 0x74]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea ecx, [ebx + 0x30]
mov word [ebp - 0x44], ax
call fcn.01064650
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0x127
jl 0x10435f3
mov edx, dword [ebp - 0x74]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea ecx, [ebx + 0x18]
mov word [ebp - 0x44], ax
call fcn.01064650
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0x128
jl 0x10435f3
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x4c]
mov word [ebp - 0x44], ax
mov eax, dword [ebx + 0x30]
push ecx
push eax
push ebx
mov dword [ebx + 0x78], 1
call fcn.01041c45
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0x12c
jl 0x10435f3
mov word [ebp - 0x44], ax
cmp dword [ebp - 0x4c], esi
jne 0x1043b0f
cmp dword [ebp - 0x7c], esi
je 0x1043afc
mov dword [ebx + 0x8c], 1
mov dword [ebx + 0x84], esi
mov dword [ebp - 0x48], esi
mov eax, 0x135
jmp 0x104387f
mov eax, dword [ebp - 0xa4]
shr eax, 1
lea ecx, [ebx + 0x60]
push ecx
and eax, 1
lea edx, [ebx + 0x40]
push edx
mov dword [ebx + 0x88], eax
mov eax, dword [edi]
push esi
push eax
call fcn.0105cdf1
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0x13d
jl 0x10435f3
mov word [ebp - 0x44], ax
push esi
lea eax, [ebx + 0x48]
push eax
push ebx
call fcn.01040935
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0x142
jl 0x10435f3
mov word [ebp - 0x44], ax
lea eax, [ebx + 0x50]
push eax
push ebx
call fcn.01042a1e
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0x143
jl 0x10435f3
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x80]
push eax
push ebx
call fcn.01041a69
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0x146
jl 0x10435f3
mov word [ebp - 0x44], ax
cmp dword [ebp - 0x80], esi
je 0x1043c06
cmp dword [ebx + 0x90], esi
jne 0x1043bb5
cmp dword [ebx + 0x84], esi
je 0x1043c06
mov eax, dword [ebx + 0x18]
lea edi, [ebx + 0x68]
push edi
lea ecx, [ebx + 0x70]
push ecx
push eax
call fcn.0105a2bc
mov dword [ebp - 0x48], eax
cmp eax, esi
mov eax, 0x14c
jl 0x10435f3
mov word [ebp - 0x44], ax
mov eax, dword [0x1075318]
cmp eax, 0x1075318
je 0x1043c06
test dword [eax + 0x1c], 0x8000000
je 0x1043c06
push dword [edi]
push dword [ebx + 0xc]
push 0x10077c8
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01016f6e
cmp dword [ebx + 0x78], esi
jne 0x1043c29
mov eax, dword [ebx + 0x40]
sub eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x44]
sbb ecx, dword [ebx + 0x54]
sub eax, dword [ebx + 0x48]
sbb ecx, dword [ebx + 0x4c]
sub eax, dword [ebx + 0x60]
sbb ecx, dword [ebx + 0x64]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], ecx
push dword [ebp - 0x78]
call fcn.01055c58
mov edi, dword [ebp - 0x48]
lea ecx, [ebp - 0x58]
call fcn.010635b3
lea ecx, [ebp - 0x90]
call fcn.010635b3
lea ecx, [ebp - 0x68]
call fcn.010635b3
lea ecx, [ebp - 0x74]
call fcn.010635b3
mov eax, dword [ebp - 0x5c]
cmp eax, esi
je 0x1043c64
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x48]
call fcn.01055a3c
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01054fa7
leave
ret 4