Function at 0x42dabc
Capabilities:
Create thread
Get hostname
Resume thread

Disassembly:
mov eax, 0x443834
call fcn.004036d1
mov eax, 0x12b4
call fcn.0040366c
mov eax, dword [0x446a0c]
xor eax, dword [ebp + 4]
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x1c], edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x24]
mov dword [eax], edi
je 0x42daf0
mov dword [eax], 1
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
cmp esi, edi
jne 0x42e368
lea ecx, [ebp - 0x34]
call fcn.00404ab5
mov byte [ebp - 4], 1
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebx]
lea ecx, [ebp - 0x34]
push ecx
sub esp, 0x14
push 5
pop ecx
mov edi, esp
push ebx
rep movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov esi, eax
test esi, esi
jne 0x42e35a
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
lea edx, [ebp - 0xc0]
push edx
push 0x80
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x42dc9c
test byte [ebp - 0xc0], 0x80
je 0x42dc9c
test byte [ebp - 0x8c], 2
je 0x42dc9c
call dword [0x446f78]
xor edi, edi
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x1c], edi
mov byte [ebp - 4], 2
mov dword [ebp + 0x14], edi
mov byte [ebp - 4], 3
mov dword [ebp + 0x28], edi
mov byte [ebp - 4], 4
lea eax, [ebp + 0x1c]
push eax
mov ebx, 0x446a48
push 0x1072
mov ecx, ebx
call fcn.0040b0e4
lea eax, [ebp + 0x14]
push eax
push 0x1075
mov ecx, ebx
call fcn.0040b0e4
lea eax, [ebp + 0x28]
push eax
push 0x1074
mov ecx, ebx
call fcn.0040b0e4
cmp dword [ebp + 0x14], edi
je 0x42dc73
cmp dword [ebp + 0x28], edi
je 0x42dc73
push dword [ebp - 0x1c]
lea eax, [ebp - 0x12c0]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
call fcn.00436814
push dword [ebp + 0x28]
lea eax, [ebp - 0x12c0]
push eax
call fcn.00414818
mov ebx, dword [ebp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 0x18
cmp ebx, edi
jne 0x42dc13
xor ebx, ebx
jmp 0x42dc38
push ebx
call esi
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.0040366c
mov eax, esp
push dword [ebp + 0xc]
push edi
push ebx
push eax
call fcn.0040cd49
mov ebx, eax
xor edi, edi
lea eax, [ebp - 0x12c0]
push eax
call esi
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.0040366c
mov eax, esp
push dword [ebp + 0xc]
lea ecx, [ebp - 0x12c0]
push esi
push ecx
push eax
call fcn.0040cd49
push 0x200000
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor esi, esi
inc esi
mov byte [ebp - 4], 3
push dword [ebp + 0x28]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
mov byte [ebp - 4], 2
push dword [ebp + 0x14]
call edi
mov byte [ebp - 4], 1
push dword [ebp + 0x1c]
call edi
jmp 0x42e35a
xor edi, edi
cmp dword [ebp + 0x1c], edi
mov dword [ebp - 0x50], edi
jne 0x42dd00
lea ecx, [ebp + 8]
call fcn.0042b86f
mov byte [ebp - 4], 5
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push 0x42e3c0
push eax
call dword [ecx]
mov esi, eax
cmp esi, edi
jl 0x42dcd8
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x50]
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.0042adbf
cmp esi, edi
jne 0x42dd00
push dword [ebp + 0x28]
push dword [ebp - 0x50]
call fcn.00430a71
mov esi, eax
mov eax, dword [ebp + 0x24]
or dword [eax], 2
jmp 0x42e35a
call fcn.0042c67f
test al, al
jne 0x42de0b
push dword [ebp + 0x14]
call fcn.0042c5f8
cmp eax, edi
jne 0x42de01
call fcn.004046e1
and byte [ebp + 0x13], 0
lea ecx, [ebp + 8]
mov byte [ebp + 0x27], al
xor bl, bl
call fcn.0042b86f
mov byte [ebp - 4], 6
call fcn.004044c3
cmp eax, 3
jne 0x42dd71
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
call fcn.0042d792
mov esi, eax
cmp esi, edi
jl 0x42dd58
mov byte [ebp + 0x13], 1
jmp 0x42dd6b
cmp byte [ebp + 0x27], 0
jne 0x42dd6b
call dword [sym.imp.ole32.dll_CoImpersonateClient]
mov esi, eax
cmp esi, edi
sete bl
cmp esi, edi
jl 0x42ddc2
jmp 0x42dd82
push dword [ebp + 0x20]
lea eax, [ebp + 8]
push eax
call fcn.0040495a
cmp dword [ebp + 8], edi
jne 0x42dd9f
lea eax, [ebp + 8]
push eax
push 0x41d998
push 4
push edi
push 0x41d9a8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, edi
jl 0x42ddc2
push dword [ebp + 0x28]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
push edi
push edi
push dword [ebp + 0x1c]
push dword [ebp - 0x1c]
push dword [edx + 4]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
call dword [ecx + 0xc]
mov esi, eax
test bl, bl
je 0x42ddce
call dword [sym.imp.ole32.dll_CoRevertToSelf]
jmp 0x42ddd9
cmp byte [ebp + 0x13], 0
je 0x42ddd9
call fcn.0042acec
cmp byte [ebp + 0x27], 0
je 0x42ddf0
test bl, bl
jne 0x42dde8
cmp byte [ebp + 0x13], bl
je 0x42ddf0
push esi
call fcn.00404730
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.0042adbf
jmp 0x42e35a
mov esi, 0x400bd
jmp 0x42e35a
lea eax, [ebp + 0xc]
push eax
push edi
push edi
mov dword [ebp + 0xc], edi
call fcn.0042c7a3
mov eax, dword [ebp + 0xc]
cmp eax, edi
mov esi, 0x80004005
jbe 0x42e35a
shl eax, 2
push eax
call fcn.00403734
test eax, eax
pop ecx
mov dword [ebp - 0x18], eax
je 0x42e355
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x18]
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 0x18]
push dword [ebp + 0xc]
call fcn.0042c7a3
mov esi, eax
test esi, esi
jl 0x42e331
xor eax, eax
and dword [ebp - 0x24], 0
lea edi, [ebp - 0x78]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x60]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x60], 0x42e3b0
mov dword [ebp - 0x40], 0x7530
call fcn.0042ca82
and dword [ebp + 8], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x38]
call fcn.0042b86f
mov byte [ebp - 4], 8
mov eax, dword [ebx]
lea ecx, [ebp - 0x38]
push ecx
push 0x4059bc
push ebx
call dword [eax]
test eax, eax
mov edi, 0x8007000e
jne 0x42df53
lea ecx, [ebp + 0x24]
call fcn.00404ab5
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
lea edx, [ebp + 0x24]
push edx
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
jne 0x42df43
lea ecx, [ebp + 0x10]
call fcn.00404ab5
mov byte [ebp - 4], 0xa
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
lea edx, [ebp + 0x10]
push edx
push eax
call dword [ecx + 0x14]
mov esi, eax
test esi, esi
jne 0x42df37
lea ecx, [ebp + 0x1c]
call fcn.00404a44
mov byte [ebp - 4], 0xb
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
lea edx, [ebp + 0x1c]
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
test esi, esi
jne 0x42df2b
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
call dword [ecx + 0x10]
mov esi, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0x1c]
call fcn.004055e0
mov byte [ebp - 4], 9
lea ecx, [ebp + 0x10]
call fcn.00404928
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x24]
call fcn.00404928
test esi, esi
je 0x42dfb9
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x88]
push eax
mov dword [ebp + 0x1c], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x42df8f
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp + 8]
call fcn.004106b0
mov esi, dword [ebp + 8]
neg esi
sbb esi, esi
and esi, 0x7ff8fff2
add esi, edi
jmp 0x42dfb1
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x42dfa1
call esi
mov esi, eax
jmp 0x42dfb1
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
test esi, esi
jne 0x42e318
and dword [ebp - 0x48], 0
and dword [ebp - 0x28], 0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp + 0xc]
shl eax, 2
push eax
call fcn.00403734
mov ebx, eax
test ebx, ebx
pop ecx
mov dword [ebp - 0x4c], ebx
je 0x42e309
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
call fcn.004046e1
test al, al
mov byte [ebp + 0x1f], al
je 0x42dffa
call dword [sym.imp.ole32.dll_CoRevertToSelf]
and dword [ebp + 0x24], 0
cmp dword [ebp + 0xc], 0
jbe 0x42e2ad
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], ebx
sub dword [ebp - 0x3c], eax
mov dword [ebp + 0x10], eax
mov ebx, 0x446a48
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
call dword [sym.imp.ole32.dll_CoImpersonateClient]
test esi, esi
mov dword [ebp - 0x64], eax
jl 0x42e27a
lea eax, [ebp - 0x60]
push eax
push 1
lea eax, [ebp - 0x78]
push eax
push 0x14
push 0
push 0x40d7e8
call dword [sym.imp.ole32.dll_CoCreateInstanceEx]
and dword [ebp - 0x30], 0
test eax, eax
mov dword [ebp - 0x14], eax
jge 0x42e0bf
push dword [ebp + 0x20]
lea ecx, [ebp - 0x54]
call fcn.0042d4bd
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x42e0a3
mov esi, dword [ebp + 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x48]
push edx
push dword [ebp + 0x28]
lea edx, [ebp - 0x78]
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x40]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0x18]
movsd dword es:[edi], dword [esi]
push edx
push eax
call dword [ecx + 0x10]
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x42e0a3
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x54]
call fcn.0042c65c
xor esi, esi
cmp dword [ebp - 0x14], esi
jl 0x42e123
cmp dword [ebp - 0x30], esi
jne 0x42e28f
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
lea edx, [ebp - 0x48]
push edx
push dword [ebp + 0x28]
mov dword [ebp - 0x24], eax
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x40]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0x18]
movsd dword es:[edi], dword [esi]
push eax
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
je 0x42e28f
cmp esi, 1
jne 0x42e10d
cmp dword [ebp - 0x48], 0
je 0x42e10d
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp + 0x10]
mov dword [ecx + edx], eax
jmp 0x42e116
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x5c], 0
and dword [ebp - 0x58], 0
jmp 0x42e26e
push 0x304
call fcn.00403734
xor esi, esi
pop ecx
mov edi, eax
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x44], esi
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x20]
push eax
push 0x107d
mov ecx, ebx
mov dword [ebp - 0x2c], esi
call fcn.0040b0e4
cmp eax, esi
jl 0x42e251
lea eax, [ebp - 0x44]
push eax
push 0x1072
mov ecx, ebx
call fcn.0040b0e4
cmp eax, esi
jl 0x42e251
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push 0x400
push dword [ebp - 0x14]
push esi
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
cmp dword [ebp - 0x2c], esi
je 0x42e1ef
call dword [0x446f78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
cmp eax, esi
mov dword [ebp - 0x14], eax
jne 0x42e1a9
xor eax, eax
jmp 0x42e1d2
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and eax, 0xfffffffc
call fcn.0040366c
mov eax, esp
push dword [ebp - 0x30]
push esi
push dword [ebp - 0x14]
push eax
call fcn.0040cd05
xor esi, esi
push eax
mov eax, dword [ebp + 0x10]
push dword [eax]
push dword [ebp - 0x20]
push edi
call fcn.00436814
add esp, 0x10
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x42e21b
push dword [ebp - 0x14]
lea eax, [ebp - 0x2c0]
push 0x42e3a8
push eax
call fcn.00436814
lea eax, [ebp - 0x2c0]
push eax
mov eax, dword [ebp + 0x10]
push dword [eax]
push dword [ebp - 0x20]
push edi
call fcn.00436814
add esp, 0x1c
push dword [ebp - 0x44]
lea eax, [edi + 0x200]
push eax
call fcn.00436814
pop ecx
pop ecx
lea eax, [ebp - 0x68]
push eax
push 4
push edi
push 0x42ab9b
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [edi + 0x300], eax
je 0x42e251
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, 0x400b2
mov byte [ebp - 4], 0xe
push dword [ebp - 0x44]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
mov byte [ebp - 4], 0xc
push dword [ebp - 0x20]
call edi
cmp dword [ebp - 0x64], 0
jl 0x42e27a
call dword [sym.imp.ole32.dll_CoRevertToSelf]
inc dword [ebp + 0x24]
mov eax, dword [ebp + 0x24]
add dword [ebp + 0x10], 4
cmp eax, dword [ebp + 0xc]
jb 0x42e019
jmp 0x42e2ad
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x24]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x28]
call fcn.004265f0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x42e2ad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp + 0x1f], 0
je 0x42e2bb
push esi
call fcn.00404730
mov esi, eax
call fcn.004046e1
test al, al
je 0x42e2ee
xor edi, edi
cmp dword [ebp + 0x24], edi
jbe 0x42e2ee
mov eax, dword [ebp - 0x4c]
lea ebx, [eax + edi*4]
mov eax, dword [ebx]
test eax, eax
je 0x42e2e8
push dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebx]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
cmp edi, dword [ebp + 0x24]
jb 0x42e2cb
push dword [ebp - 0x4c]
call fcn.004036f0
cmp esi, 1
pop ecx
jne 0x42e30b
cmp dword [ebp - 0x28], 0
jne 0x42e30b
mov esi, 0x400b0
jmp 0x42e30b
mov esi, edi
mov byte [ebp - 4], 8
push dword [ebp - 0x28]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x38]
call fcn.0042adbf
mov byte [ebp - 4], 1
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor edi, edi
cmp dword [ebp + 0xc], edi
jbe 0x42e34a
mov eax, dword [ebp - 0x18]
push dword [eax + edi*4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x42e338
push dword [ebp - 0x18]
call fcn.004036f0
pop ecx
jmp 0x42e35a
mov esi, 0x8007000e
and byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00404928
jmp 0x42e375
cmp esi, 0x80004005
jne 0x42e375
mov esi, 0x800400b1
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
lea esp, [ebp - 0x12cc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
call fcn.004037c0
pop edi
pop esi
pop ebx
leave
ret 0x24