Function at 0x10047950
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1016c4d8
push 0x10118480
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x1017455c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x164], eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x174], edx
xor ebx, ebx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x154], ebx
xor eax, eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x1d0], ebx
push 0x40
push ebx
lea eax, [ebp - 0x1cc]
push eax
call fcn.10116880
add esp, 0xc
mov dword [ebp - 0x130], ebx
mov byte [ebp - 0x128], bl
push 0x103
push ebx
lea ecx, [ebp - 0x127]
push ecx
call fcn.10116880
add esp, 0xc
mov dword [ebp - 0x140], ebx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x180], ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x17c], ebx
push ebx
call sym.EncDec.dll_IsSystemUser
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x134], ebx
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x184], edi
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x158], ebx
cmp esi, ebx
je 0x10047ab9
cmp byte [esi], bl
je 0x10047ab9
push 0x20
push esi
call fcn.1010d780
add esp, 8
mov ecx, eax
mov dword [ebp - 0x178], ecx
cmp ecx, ebx
je 0x10047ab9
mov edi, edi
mov al, byte [ecx]
cmp al, bl
je 0x10047a93
cmp al, 0x20
jne 0x10047a93
inc ecx
mov dword [ebp - 0x178], ecx
jmp 0x10047a80
cmp byte [ecx], bl
je 0x10047ab9
mov eax, str.setupapi.dll
call fcn.10031940
test eax, eax
jne 0x10047ab9
mov dword [ebp - 0x158], 1
mov dword [ebp - 0x13c], 0xa
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x17c]
push eax
push ebx
lea ecx, [ebp - 0x160]
push ecx
lea edx, [ebp - 0x12c]
push edx
xor ebx, ebx
xor edx, edx
lea ecx, [ebp - 0x16c]
call fcn.10050110
mov dword [ebp - 0x130], 0xffffffff
push 0x44
push ebx
lea eax, [ebp - 0x1d0]
push eax
call fcn.10116880
add esp, 0x2c
mov dword [ebp - 0x1d0], 0x44
mov dword [ebp - 0x1cc], ebx
mov dword [ebp - 0x1c8], ebx
mov dword [ebp - 0x1c4], ebx
xor ecx, ecx
mov word [ebp - 0x19e], cx
mov dword [ebp - 0x19c], ebx
mov dword [ebp - 0x134], 0x20
cmp edi, 2
jne 0x10047b6a
lea edx, [ebp - 0x168]
push edx
push str.NoWinHide
mov ecx, str.SOFTWAREMicroWorld
mov edx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.10031670
cmp dword [ebp - 0x168], edi
jne 0x10047b6a
mov ecx, 1
mov edi, ecx
mov dword [ebp - 0x184], edi
jmp 0x10047b6f
mov ecx, 1
mov eax, edi
sub eax, ecx
je 0x10047bac
sub eax, ecx
je 0x10047b91
sub eax, ecx
jne 0x10047bbe
mov dword [ebp - 0x1a4], ecx
mov eax, 6
mov word [ebp - 0x1a0], ax
jmp 0x10047bbe
mov dword [ebp - 0x1a4], ecx
xor ecx, ecx
mov word [ebp - 0x1a0], cx
mov dword [ebp - 0x134], 0x8000020
jmp 0x10047bbe
mov dword [ebp - 0x1a4], ecx
mov edx, 5
mov word [ebp - 0x1a0], dx
xor esi, esi
mov eax, dword [ebp - 0x170]
cmp eax, ebx
je 0x10047bd2
cmp byte [eax], bl
je 0x10047bd2
mov esi, eax
jmp 0x10047bf3
lea eax, [ebp - 0x128]
mov ebx, dword [ebp - 0x138]
call fcn.10047580
xor ebx, ebx
cmp byte [ebp - 0x128], bl
je 0x10047bf3
lea esi, [ebp - 0x128]
mov edi, dword [ebp - 0x188]
cmp edi, ebx
jne 0x10047c68
cmp dword [ebp - 0x12c], ebx
je 0x10047c19
push ebx
lea eax, [ebp - 0x180]
push eax
push ebx
push 0x2000
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
cmp edi, ebx
jne 0x10047c68
cmp dword [ebp - 0x16c], ebx
jne 0x10047c32
cmp dword [ebp - 0x160], ebx
jne 0x10047c32
cmp dword [ebp + 0x10], ebx
je 0x10047c68
call fcn.1005ed00
mov edi, eax
cmp edi, 1
je 0x10047c68
call fcn.1004fd70
test eax, eax
je 0x10047c4c
cmp edi, 1
jbe 0x10047c68
cmp dword [ebp - 0x12c], ebx
je 0x10047c63
push 3
push ebx
push ebx
push 0x2001
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
call fcn.1005ecd0
push esi
lea edi, [ebp - 0x154]
cmp dword [ebp - 0x164], ebx
jne 0x10047c93
mov ecx, dword [ebp - 0x134]
push ecx
push ebx
mov edx, dword [ebp - 0x138]
push edx
lea ebx, [ebp - 0x1d0]
call fcn.10047600
jmp 0x10047cb3
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x164]
push edx
lea ebx, [ebp - 0x1d0]
call fcn.10047680
mov dword [ebp - 0x12c], eax
add esp, 0x10
mov dword [ebp - 0x130], 0x103
mov esi, eax
test esi, esi
jne 0x10047cda
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x144], eax
jmp 0x10047ce4
mov dword [ebp - 0x144], 0
mov edi, dword [ebp - 0x13c]
cmp edi, 0xffffffff
je 0x10047cfc
lea edi, [edi + edi*4]
add edi, edi
mov dword [ebp - 0x140], edi
jmp 0x10047d02
mov edi, dword [ebp - 0x140]
cmp esi, 1
jne 0x10047d35
cmp dword [ebp + 0x1c], esi
jne 0x10047d35
mov eax, dword [ebp - 0x14c]
push eax
push 0
push 0x10047720
call fcn.1010d93f
add esp, 0xc
mov esi, dword [ebp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
jne 0x10047d3e
push 0x32
call ebx
jmp 0x10047d3e
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp + 0x10]
cmp dword [ebp - 0x12c], 0
je 0x10047e30
cmp esi, 1
jne 0x10047dc6
cmp dword [ebp - 0x130], 0x103
jne 0x10047e0f
push 0x64
call ebx
cmp dword [ebp - 0x13c], 0xffffffff
je 0x10047db0
test edi, edi
jbe 0x10047db0
sub edi, 1
mov dword [ebp - 0x140], edi
jne 0x10047db0
cmp dword [ebp - 0x158], 0
je 0x10047e0f
mov ecx, dword [ebp - 0x138]
push ecx
push str._PROC__Process_Timed_Out___s_
push 0
call fcn.10053700
add esp, 0xc
push 0
mov edx, dword [ebp - 0x154]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x10047e0f
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x10047d50
jle 0x10047e0f
jmp 0x10047dd0
cmp dword [ebp - 0x130], 0x103
jne 0x10047e01
test esi, esi
je 0x10047e05
push 0x3e8
call ebx
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
dec esi
mov dword [ebp + 0x10], esi
jmp 0x10047dd0
test esi, esi
jne 0x10047e0f
mov dword [ebp - 0x15c], 1
cmp dword [ebp - 0x12c], 0
je 0x10047e30
lea ecx, [ebp - 0x150]
push ecx
call fcn.100673f0
lea edx, [ebp - 0x154]
push edx
call fcn.100673f0
cmp dword [ebp - 0x15c], 1
jne 0x10047e50
push str.MSG.EXE
call fcn.10046610
add esp, 4
mov dword [ebp - 0x130], 6
mov eax, dword [ebp - 0x174]
test eax, eax
je 0x10047e98
cmp dword [eax], 0x1e240
jne 0x10047e76
mov ecx, dword [ebp - 0x12c]
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x14c]
mov dword [eax], ecx
jmp 0x10047e98
mov ecx, dword [ebp - 0x130]
mov dword [eax], ecx
jmp 0x10047e98
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1010d699
mov esp, ebp
pop ebp
ret 0x18