Function at 0x41cc70
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x457161
push eax
mov dword fs:[0], esp
sub esp, 0x2a0
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x30]
test eax, eax
jne 0x41cfd3
push ebp
push esi
push edi
push str.CheckUSBReady___is_being_run_to_determine_whether_this_computer_has_USB_support.
mov esi, 1
push 0x10
push 0x476888
mov dword [ebx + 0x30], esi
call fcn.004011d0
mov al, byte [0x476654]
mov ecx, 0x40
mov byte [esp + 0xb4], al
xor eax, eax
lea edi, [esp + 0xb5]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xb4]
push ecx
stosb byte es:[edi], al
call fcn.0041d6a4
mov dl, byte [esp + 0x23]
add esp, 0x10
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], dl
push 0
call fcn.00402a10
lea edi, [esp + 0xa8]
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
call fcn.00404ce0
test al, al
je 0x41cd45
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov eax, ecx
lea esi, [esp + 0xa8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov esi, 1
mov byte [ecx + ebp], 0
lea edx, [esp + 0x18]
push str.usbready.exe
lea eax, [esp + 0x2c]
xor ebp, ebp
push edx
push eax
mov dword [esp + 0x2c4], ebp
call fcn.00410070
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x2b8], 2
cmp eax, ebp
je 0x41cd92
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41cd89
cmp al, 0xff
je 0x41cd89
dec al
mov byte [ecx], al
jmp 0x41cd92
push ecx
call fcn.0044a2a3
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
call fcn.0042da12
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x2b8], 3
cmp eax, ebp
jne 0x41cdbc
mov eax, 0x45a50c
push ebp
push eax
lea ecx, [esp + 0x50]
call fcn.0042dad5
test eax, eax
je 0x41cf6a
mov cl, byte [0x476654]
xor eax, eax
mov byte [esp + 0x1ac], cl
mov ecx, 0x40
lea edi, [esp + 0x1ad]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x2c]
cmp edi, ebp
jne 0x41cdfc
mov edi, 0x45a50c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1ac]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1ac]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x476654
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x64]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x41ce69
mov eax, 0x45a50c
lea ecx, [esp + 0x38]
lea edx, [esp + 0x64]
push ecx
push edx
push 0
push 0
push 0x20
push 0
push 0
push 0
push str.__s__h
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x41cec3
cmp eax, 0x80
je 0x41cec3
cmp eax, 0x102
je 0x41cec3
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x14]
cmp eax, 3
ja case.default.0x41ced0
jmp dword [eax*4 + 0x41cfec]
push str.THIS_SYSTEM___USB_is_supported_in_software_and_on_the_hardware.
push 0x10
push 0x476888
call fcn.004011d0
mov eax, 1
add esp, 0xc
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], eax
jmp case.default.0x41ced0
push str.THIS_SYSTEM___USB_is_supported_on_the_hardware_only.
push 0x410
push 0x476888
call fcn.004011d0
add esp, 0xc
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 1
jmp case.default.0x41ced0
push str.THIS_SYSTEM___USB_is_supported_in_the_software_only.
push 0x410
push 0x476888
call fcn.004011d0
add esp, 0xc
mov dword [ebx + 0x34], 1
mov dword [ebx + 0x38], 0
jmp case.default.0x41ced0
push str.THIS_SYSTEM___USB_is_not_supported_in_either_software_or_on_the_hardware.
push 0x410
push 0x476888
call fcn.004011d0
add esp, 0xc
xor eax, eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], eax
jmp case.default.0x41ced0
push str.Failed_to_find_usbready.exe
push 0x400
push 0x476888
call fcn.004011d0
add esp, 0xc
mov dword [ebx + 0x34], esi
mov dword [ebx + 0x38], esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x2b8], 2
call fcn.0042da4f
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
test ecx, ecx
je 0x41cfd3
mov al, byte [ecx - 1]
test al, al
je 0x41cfc9
cmp al, 0xff
je 0x41cfc9
dec al
pop ebx
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
add esp, 0x2ac
ret
dec ecx
push ecx
call fcn.0044a2a3
add esp, 4
mov ecx, dword [esp + 0x2a4]
pop ebx
mov dword fs:[0], ecx
add esp, 0x2ac
ret