Function at 0x47c3b5
Capabilities:
Check for peb beingdebugged flag
Delete directory
Get number of processors
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49f7b4
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4d4028]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
xor ebx, ebx
cmp dword [0x7f5614], ebx
jne 0x47c59e
cmp dword [esi + 0x20c], ebx
je 0x47c416
call fcn.0047d267
test eax, eax
je 0x47c416
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
xor ebx, ebx
mov byte [eax + 2], bl
xor ebx, ebx
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call fcn.004900d8
cmp byte [eax + 0x14], 0
jne 0x47c431
mov ecx, str.Primary
call fcn.004644ec
call fcn.00490a1a
test eax, eax
jne 0x47c463
push ebx
push 0x760b
lea eax, [esp + 0x28]
push eax
call fcn.00403ae0
push 0x10
push 0x4a4090
push dword [eax]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x20]
jmp 0x47ccc6
cmp dword [esi + 0x218], ebx
je 0x47c470
call fcn.0047f5c3
lea eax, [esp + 0x2c]
push eax
call fcn.00487d03
pop ecx
mov dword [esp + 0x50], ebx
lea ebx, [esi + 0x264]
push eax
mov ecx, ebx
call dword [0x4a2ea0]
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x2c]
call dword [0x4a2ee8]
mov edi, dword [ebx]
lea eax, [esp + 0x18]
push eax
call fcn.004720db
pop ecx
xor edi, edi
inc edi
mov dword [esp + 0x50], edi
mov eax, dword [esp + 0x18]
mov eax, dword [eax - 0xc]
test eax, eax
jne 0x47c4fc
lea eax, [esp + 0x2c]
push eax
call fcn.0047c1cb
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 2
call dword [0x4a2ea0]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 1
call dword [0x4a2ee8]
push dword [esp + 0x18]
mov eax, edi
push str.CEMFWinAppBase::InitApplication__:_Activation_message_identifier____s__n
mov ecx, 0x7f6050
call fcn.004012c0
pop ecx
pop ecx
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x30]
push eax
mov edi, str._activation_message
call fcn.0040a1d0
pop ecx
pop ecx
push dword [eax]
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
lea ecx, [esp + 0x2c]
mov dword [0x7f5618], eax
call dword [0x4a2ee8]
push dword [esp + 0x18]
xor eax, eax
mov edi, 0x7f6050
push str.CEMFWinAppBase::InitApplication__:_Name____s__n
inc eax
mov ecx, edi
call fcn.004012c0
cmp dword [esi + 0x260], 0
pop ecx
pop ecx
jne 0x47c551
call fcn.0047d0bc
push dword [ebx]
xor eax, eax
push str.CEMFWinAppBase::InitApplication__:_ExePath____s__n
inc eax
mov ecx, edi
call fcn.004012c0
xor eax, eax
push str.CEMFWinAppBase::InitApplication__:_enter_not_init__n
inc eax
mov ecx, edi
call fcn.004012c0
add esp, 0xc
call fcn.004900d8
cmp byte [eax + 0x14], 0
jne 0x47c58b
mov edi, esi
call fcn.0047cd57
mov edi, 0x7f6050
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x18]
call dword [0x4a2ee8]
xor ebx, ebx
jmp 0x47c5b6
xor eax, eax
push str.CEMFWinAppBase::InitApplication__:_enter_is_init__n
inc eax
mov ecx, 0x7f6050
call fcn.004012c0
pop ecx
mov edi, 0x7f6050
mov eax, dword [0x7f61a0]
cmp eax, ebx
jne 0x47c5c3
xor eax, eax
jmp 0x47c5c8
add eax, 0x20c
push eax
lea ecx, [esp + 0x14]
call dword [0x4a2ed8]
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 3
call dword [0x4a2d6c]
cmp dword [esi + 0x278], ebx
je 0x47c6f3
cmp dword [esi + 0x25c], ebx
je 0x47c6f3
push str._is_running
lea ecx, [esp + 0x1c]
call dword [0x4a2ed8]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov byte [esp + 0x58], 4
call fcn.0047c23e
lea ecx, [esp + 0x18]
call dword [0x4a2ee8]
mov dword [esp + 0x18], ebx
push dword [esp + 0x20]
call fcn.0048dd3c
test eax, eax
pop ecx
jne 0x47c654
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 5
jl 0x47c630
cmp dword [esp + 0x18], 5
jne 0x47c6ea
lea ecx, [esp + 0x18]
mov byte [esi + 0x287], 1
call dword [0x4a2ef4]
mov byte [esp + 0x50], 7
push dword [esi + 0x25c]
lea eax, [esp + 0x30]
push eax
call fcn.0044e632
pop ecx
pop ecx
mov byte [esp + 0x50], 8
push dword [eax]
lea eax, [esp + 0x1c]
push dword [esi + 0x278]
push eax
call fcn.004903d2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 7
call dword [0x4a2ee8]
push dword [esp + 0x18]
or eax, 0xffffffff
mov ecx, edi
call fcn.004012c0
cmp dword [esi + 0x238], ebx
pop ecx
jne 0x47c6d7
cmp dword [esi + 0x23c], ebx
jne 0x47c6d7
push ebx
push ebx
push dword [esp + 0x20]
call fcn.004900cc
lea ecx, [esp + 0x18]
call dword [0x4a2ee8]
lea ecx, [esp + 0x20]
jmp 0x47ccbc
lea ecx, [esp + 0x20]
jmp 0x47c7dc
cmp dword [0x7f5618], ebx
je 0x47c7e7
cmp byte [esi + 0x27c], 0
je 0x47c7e7
push str._is_running
lea ecx, [esp + 0x28]
call dword [0x4a2ed8]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov byte [esp + 0x58], 9
call fcn.0047c23e
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], 0xb
call dword [0x4a2ee8]
lea edi, [esi + 0x288]
mov eax, edi
mov dword [esp + 0x28], edi
call fcn.0042c720
test eax, eax
je 0x47c7b9
lea esi, [esp + 0x2c]
call fcn.0043c550
jmp 0x47c784
lea esi, [esp + 0x2c]
call fcn.0043c9d0
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx + 0x298]
je 0x47c7b5
lea edi, [esp + 0x3c]
call fcn.00416a80
mov edi, dword [esp + 0x28]
lea esi, [esp + 0x34]
call fcn.004168a0
mov esi, eax
lea edi, [esp + 0x2c]
call fcn.00440890
test al, al
jne 0x47c760
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
call dword [eax + 0xc4]
test eax, eax
jne 0x47c7b5
lea ecx, [esp + 0x18]
jmp 0x47ccbc
mov esi, dword [esp + 0x20]
push ebx
push str.regonly
lea ecx, [esp + 0x18]
call dword [0x4a2d4c]
test eax, eax
jl 0x47ca25
mov byte [esi + 0x2c1], 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 3
call dword [0x4a2ee8]
push ebx
push str.close
lea ecx, [esp + 0x18]
call dword [0x4a2d4c]
test eax, eax
jge 0x47ccc2
lea ecx, [esp + 0x14]
call dword [0x4a2ef4]
mov byte [esp + 0x50], 0xc
mov eax, dword [esi + 0x270]
cmp eax, ebx
je 0x47c85e
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0044e632
pop ecx
pop ecx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 0xd
call dword [0x4a2ea0]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 0xc
call dword [0x4a2ee8]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x47c85e
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x2a8]
call dword [0x4a2ea0]
mov eax, dword [esi + 0x274]
cmp eax, ebx
je 0x47c8ae
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0044e632
pop ecx
pop ecx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 0xe
call dword [0x4a2ea0]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 0xc
call dword [0x4a2ee8]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x47c8ae
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x2ac]
call dword [0x4a2ea0]
lea ebx, [esi + 0x2a8]
mov eax, dword [ebx]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x47c8cf
lea edi, [esi + 0x2ac]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
mov dword [esp + 0x20], edi
jne 0x47c90f
lea eax, [esi + 0x2ac]
push dword [eax]
mov dword [esp + 0x24], eax
push dword [ebx]
xor eax, eax
push str.CEMFWinAppBase::InitApplication__:_registry_path_not_init___s__s_._Try_to_get_them_from_VersionInfo..._n
inc eax
mov ecx, 0x7f6050
call fcn.004012c0
add esp, 0xc
mov edi, esi
call fcn.0047cfd2
push 0x4a4090
push str._GmbH
mov ecx, ebx
call dword [0x4a2ecc]
mov edi, dword [esp + 0x20]
mov eax, dword [ebx]
xor edx, edx
cmp dword [eax - 0xc], edx
je 0x47cca0
mov ecx, dword [edi]
cmp dword [ecx - 0xc], edx
je 0x47cca0
cmp dword [0x7f5614], edx
jne 0x47ca7e
push dword [esi + 0x268]
push ecx
call fcn.0046a79f
mov edi, dword [edi]
mov ebx, dword [ebx]
push edi
push ebx
call fcn.00487dcf
lea eax, [esp + 0x38]
xor edi, edi
push eax
mov dword [esp + 0x3c], edi
call fcn.00487fab
add esp, 0x14
cmp dword [esp + 0x28], edi
jbe 0x47c969
mov dword [esi + 0x224], edi
call fcn.00487e1d
call fcn.004900d8
mov eax, dword [eax + 4]
lea ecx, [esp + 0x24]
call fcn.0047cfb8
push eax
lea eax, [esp + 0x30]
push eax
mov edi, str.init
mov byte [esp + 0x58], 0xf
call fcn.0040a1d0
mov byte [esp + 0x58], 0x10
push dword [eax]
call fcn.0045b10d
add esp, 0xc
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
lea ecx, [esp + 0x2c]
inc bl
call dword [0x4a2ee8]
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], 0xc
call dword [0x4a2ee8]
call fcn.004900d8
test bl, bl
mov eax, dword [eax + 4]
je 0x47ca56
mov dword [eax + 0x22c], 1
call fcn.004900d8
mov eax, dword [eax + 4]
lea ecx, [esp + 0x24]
call fcn.0047cfb8
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x58], 0x11
call fcn.0040a1d0
pop ecx
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x2c]
call dword [0x4a2ee8]
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], 0xc
call dword [0x4a2ee8]
jmp 0x47ca6f
push dword [esp + 0x18]
call fcn.0048dd3c
test eax, eax
pop ecx
jne 0x47c7d8
push ebx
push ebx
push dword [0x7f5618]
mov byte [esi + 0x287], 1
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x47c7ac
and dword [eax + 0x22c], 0
call fcn.004900d8
mov eax, dword [eax + 4]
mov dword [eax + 0x224], 1
lea edi, [esi + 0x1a0]
call fcn.0048027c
mov edi, dword [esp + 0x20]
push edi
lea ecx, [esp + 0x20]
call dword [0x4a2ec0]
mov byte [esp + 0x50], 0x12
push dword [esi + 0x54]
mov edi, dword [0x4a308c]
call edi
mov ebx, dword [0x4a318c]
pop ecx
push dword [esi + 0x2a8]
call ebx
pop ecx
push dword [esi + 0x68]
mov dword [esi + 0x54], eax
call edi
pop ecx
push dword [esp + 0x1c]
call ebx
pop ecx
push eax
push dword [esi + 0x54]
mov dword [esi + 0x68], eax
xor eax, eax
push str.CEMFWinAppBase::InitApplication__:_RegKey:_s_Profile:_s_n
inc eax
mov ecx, 0x7f6050
call fcn.004012c0
add esp, 0xc
push 1
push str.Splash
push 0x4a4114
mov ecx, esi
call fcn.00490144
xor edi, edi
cmp dword [esi + 0x280], edi
je 0x47cb38
cmp eax, edi
je 0x47cb38
cmp dword [esi + 0x234], edi
je 0x47cb38
push edi
push 4
push edi
push edi
push 0x4b36e0
call fcn.00490ad4
cmp eax, edi
mov dword [esi + 0x2a4], eax
je 0x47cb3e
mov dword [eax + 0x44], str.CEMFSplashWnd
mov eax, dword [esi + 0x2a4]
mov dword [eax + 0x28], edi
mov eax, dword [esi + 0x2a4]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x47cb3e
mov dword [esi + 0x280], edi
cmp dword [0x7f5614], edi
jne 0x47cb4b
call fcn.0044f096
cmp dword [esi + 0x214], edi
je 0x47cc43
cmp dword [esi + 0x200], edi
je 0x47cc43
mov ebx, 0x4a4090
push ebx
lea ecx, [esp + 0x28]
call dword [0x4a2ed8]
push ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 0x13
call dword [0x4a2ed8]
push 0x90
mov byte [esp + 0x54], 0x14
call fcn.004900d2
mov ebx, eax
pop ecx
mov dword [esp + 0x2c], ebx
cmp ebx, edi
mov byte [esp + 0x50], 0x15
je 0x47cbc9
push ebx
call fcn.0046371a
mov dword [ebx], vtable.RecDev::TaskFindDevices.0
mov dword [ebx + 0x40], vtable.RecDev::TaskFindDevices.1.0
mov dword [ebx + 0x88], 0x7f60a8
mov dword [ebx + 0x8c], edi
mov eax, ebx
jmp 0x47cbcb
xor eax, eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
push ecx
lea ebx, [esi + 0x118]
push 0x64
mov byte [esp + 0x5c], 0x14
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x28]
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], eax
call dword [0x4a2ee8]
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], 0x12
call dword [0x4a2ee8]
cmp dword [esp + 0x20], edi
jge 0x47cc2f
mov edi, dword [esp + 0x20]
push 0x2bf
mov ebx, str..EMFWinApp.cpp
call fcn.0041e240
lea ecx, [esp + 0x1c]
call dword [0x4a2ee8]
jmp 0x47ccb8
mov eax, ebx
call fcn.0047d68a
cmp eax, edi
jge 0x47cc43
push 0x2c0
mov edi, eax
jmp 0x47cc16
lea ebx, [esi + 0xb4]
push ebx
call fcn.0045295c
cmp dword [esi + 0x200], edi
je 0x47cc63
push 0x7f60e0
mov ecx, ebx
call fcn.004529a0
xor esi, esi
inc esi
push str.CEMFWinAppBase::InitApplication__:_exit_n
mov eax, esi
mov ecx, 0x7f6050
mov dword [0x7f5614], esi
call fcn.004012c0
pop ecx
lea ecx, [esp + 0x1c]
call dword [0x4a2ee8]
lea ecx, [esp + 0x14]
call dword [0x4a2ee8]
lea ecx, [esp + 0x10]
call dword [0x4a2ee8]
mov eax, esi
jmp 0x47ccce
push dword [edi]
mov ecx, 0x7f6050
push eax
xor eax, eax
push str.CEMFWinAppBase::InitApplication__:_registry_path_not_init___s__s__n
inc eax
call fcn.004012c0
add esp, 0xc
lea ecx, [esp + 0x14]
call dword [0x4a2ee8]
lea ecx, [esp + 0x10]
call dword [0x4a2ee8]
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret