Function at 0x4066f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x41fbeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push str.RIP3.0_MainFrame_Window_Class
mov dword [esp + 0x9c], ebx
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
jne 0x406b38
lea ecx, [esp + 0x58]
call section..text
mov al, byte [esp + 0x9c]
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x98], 1
mov byte [esp + 0x3c], al
call fcn.004033d0
mov ecx, dword [0x421188]
lea edx, [esp + 0x9c]
push ecx
push ebx
push edx
lea ecx, [esp + 0x44]
call fcn.00402fa0
mov edi, str.Config_system.cfg
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x94], 2
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.Config_system.cfg
lea ecx, [esp + 0x40]
call fcn.004045d0
mov al, byte [esp + 0x38]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x20], esp
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.004033d0
mov ecx, dword [0x421188]
lea edx, [esp + 0x48]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.00402fa0
lea ecx, [esp + 0x68]
call fcn.00401350
mov al, byte [esp + 0xf]
push ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], al
call fcn.004033d0
mov cl, byte [esp + 0xf]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x20], esp
push ebx
mov byte [esp + 0xa8], 3
mov byte [esi], cl
mov ecx, esi
call fcn.004033d0
mov edi, str.SysPath
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.SysPath
mov ecx, esi
call fcn.00404690
lea edx, [esp + 0x38]
lea eax, [esp + 0x1f]
push edx
mov byte [esp + 0xa8], 4
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
push str.imageroot
call fcn.00406b80
lea ecx, [esp + 0x7c]
mov byte [esp + 0xb8], 3
call fcn.00401790
cmp dword [esp + 0x30], ebx
jne 0x4068a2
mov ecx, dword [0x421188]
lea edx, [esp + 0x9c]
push ecx
push ebx
push edx
lea ecx, [esp + 0x34]
call fcn.00402fa0
mov edi, 0x4261b0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4261b0
lea ecx, [esp + 0x30]
call fcn.004045d0
mov edi, str.PageBuffer
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.PageBuffer
lea ecx, [esp + 0x30]
call fcn.004045d0
mov al, byte [esp + 0xf]
push ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4c], al
call fcn.004033d0
mov edi, 0x42a49c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x42a49c
lea ecx, [esp + 0x50]
call fcn.00404690
mov cl, byte [esp + 0xf]
push ebx
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 5
call fcn.004033d0
mov edi, 0x4261b4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4261b4
lea ecx, [esp + 0x20]
call fcn.00404690
mov edx, dword [0x421188]
lea eax, [esp + 0x9c]
push edx
push ebx
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xa0], 6
call fcn.00406cc0
mov edi, 0x4261b0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4261b0
lea ecx, [esp + 0x20]
call fcn.004045d0
mov edi, 0x421214
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x421214
lea ecx, [esp + 0x20]
call fcn.004045d0
mov edi, 0x4261b0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4261b0
lea ecx, [esp + 0x20]
call fcn.004045d0
mov edi, str.ThumbDot.bin_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.ThumbDot.bin_
lea ecx, [esp + 0x20]
call fcn.004045d0
mov edi, str.__IMAGEPREVIEW:
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.__IMAGEPREVIEW:
lea ecx, [esp + 0x20]
call fcn.004045d0
mov ecx, dword [0x421188]
lea edx, [esp + 0x28]
push ecx
push ebx
push edx
lea ecx, [esp + 0x24]
call fcn.00406cc0
mov esi, dword [esp + 0xb4]
mov edi, str.ThumbDot.bin
or ecx, 0xffffffff
xor eax, eax
mov dword [esi], 0x44
mov dword [esi + 4], ebx
mov dword [esi + 0x34], ebx
mov word [esi + 0x32], bx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x2c], 0x41
mov word [esi + 0x30], 3
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.ThumbDot.bin
lea ecx, [esp + 0x50]
call fcn.004045d0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x406a2c
mov eax, 0x42118c
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
push 0x42a180
push esi
push ebx
push ebx
push 0x200
push 1
push ecx
push edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 1
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x98], 5
call fcn.004033d0
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x406a8d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x406a84
cmp al, 0xff
je 0x406a84
dec al
mov byte [ecx], al
jmp 0x406a8d
push ecx
call fcn.00406e00
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], ebx
cmp eax, ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
je 0x406abe
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x406ab5
cmp al, 0xff
je 0x406ab5
dec al
mov byte [ecx], al
jmp 0x406abe
push ecx
call fcn.00406e00
add esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], ebx
cmp eax, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
je 0x406aef
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x406ae6
cmp al, 0xff
je 0x406ae6
dec al
mov byte [ecx], al
jmp 0x406aef
push ecx
call fcn.00406e00
add esp, 4
lea ecx, [esp + 0x58]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x94], bl
call fcn.00401110
mov ecx, dword [esp + 0xa0]
cmp ecx, ebx
je 0x406b34
mov al, byte [ecx - 1]
cmp al, bl
je 0x406b2a
cmp al, 0xff
je 0x406b2a
dec al
mov byte [ecx - 1], al
mov eax, esi
jmp 0x406b64
dec ecx
push ecx
call fcn.00406e00
add esp, 4
mov eax, esi
jmp 0x406b64
mov ecx, dword [esp + 0xa0]
cmp ecx, ebx
je 0x406b5f
mov al, byte [ecx - 1]
cmp al, bl
je 0x406b55
cmp al, 0xff
je 0x406b55
dec al
mov byte [ecx - 1], al
jmp 0x406b5f
dec ecx
push ecx
call fcn.00406e00
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x8c
ret