Function at 0x40fa60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56f22b
mov eax, dword fs:[0]
push eax
sub esp, 0xa18
mov eax, dword [0x5d7f50]
xor eax, esp
mov dword [esp + 0xa10], eax
push ebx
push esi
push edi
mov eax, dword [0x5d7f50]
xor eax, esp
push eax
lea eax, [esp + 0xa28]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x1ff
lea edx, [esp + 0x821]
push ebx
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x828], bl
call fcn.00543bb0
add esp, 0xc
push 0x207
lea eax, [esp + 0x511]
push ebx
push eax
mov byte [esp + 0x518], bl
call fcn.00543bb0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x200]
push ebx
push ecx
call fcn.00543bb0
add esp, 0xc
lea ecx, [esp + 0x1fc]
call fcn.0041f670
lea eax, [esp + 0x1fc]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x40fb11
mov edx, dword [0x5acd20]
mov ecx, dword [0x5acd24]
mov dword [eax], edx
mov edx, dword [0x5acd28]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x1fc]
push eax
call fcn.0041f770
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, 1
jle 0x40fb57
mov dword [esp + 0x18], 1
mov esi, dword [esp + 0x18]
push 0x103
lea ecx, [esp + 0x409]
push ebx
push ecx
mov byte [esp + 0x410], bl
call fcn.00543bb0
shl esi, 7
lea eax, [esi + str.CSEbank.GD.user.exe]
lea edx, [esp + 0x410]
add esp, 0xc
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x40fb86
push 0xff
lea edx, [esp + 0x309]
push ebx
push edx
mov byte [esp + 0x310], bl
call fcn.00543bb0
add esp, 0xc
push 0x103
lea eax, [esp + 0x719]
push ebx
push eax
mov byte [esp + 0x720], bl
call fcn.00543bb0
add esp, 0xc
lea edi, [esp + 0x714]
call fcn.00423710
lea edi, [esp + 0x28]
call fcn.00428560
lea ecx, [esp + 0x304]
push ecx
lea esi, [esi + str.Gemini]
push esi
lea edx, [esp + 0x71c]
mov ecx, edi
mov dword [esp + 0xa38], ebx
mov dword [esp + 0x2c], esi
call fcn.0042b190
mov ecx, edi
mov dword [esp + 0xa30], 0xffffffff
call fcn.004286e0
lea eax, [esp + 0x304]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40fc23
sub eax, edx
cmp eax, 1
jbe 0x40fc55
xor eax, eax
jmp 0x40fc40
mov cl, byte [esp + eax + 0x304]
mov byte [esp + eax + 0x50c], cl
inc eax
cmp cl, bl
jne 0x40fc40
jmp 0x40fca9
push ebx
xor ecx, ecx
call fcn.0040f520
test eax, eax
jne 0x40feb2
lea ecx, [esp + 0x50c]
call fcn.0041f670
lea eax, [esp + 0x404]
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40fc80
lea edi, [esp + 0x50c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x40fc91
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x38
lea edx, [esp + 0x38]
push ebx
push edx
mov dword [esp + 0x3c], 0x3c
call fcn.00543bb0
mov ecx, dword [esp + 0x28]
add esp, 0xc
lea edx, [esp + 0x30]
lea eax, [esp + 0x50c]
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], 0x40
mov dword [esp + 0x48], str.__S
mov dword [esp + 0x50], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x40fd58
push 0xb4
lea eax, [esp + 0x308]
push ebx
push eax
mov dword [esp + 0x100], 1
call fcn.00543bb0
add esp, 0xc
mov esi, str.IDS_USBKEY_DRV_INST_FAILED
mov ecx, str.CheckRes
call fcn.00425600
lea edx, [esp + 0x304]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x40fd30
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x304]
mov byte [esp + eax + 0xf8], cl
inc eax
cmp cl, bl
jne 0x40fd40
jmp 0x40fe86
mov edx, dword [esp + 0x68]
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], ebx
call esi
mov edi, 0x103
cmp dword [esp + 0x14], edi
jne 0x40fd9d
lea esp, [esp]
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x14]
push eax
push ecx
call esi
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x14], edi
je 0x40fd80
lea eax, [esp + 0x50c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40fda7
sub eax, edx
cmp eax, 3
jbe 0x40fdc6
mov edx, dword [esp + 0x24]
push edx
lea ecx, [esp + 0x510]
call fcn.00423ae0
push 0x100
lea eax, [esp + 0xfc]
push ebx
push eax
mov dword [esp + 0x100], ebx
mov dword [esp + 0xfc], 0x1b
call fcn.00543bb0
add esp, 0xc
mov esi, str.IDS_USBKEY_DRV_INST_FINISHED
mov ecx, str.CheckRes
call fcn.00425600
lea edx, [esp + 0x81c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x40fe06
lea eax, [esp + 0x81c]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40fe20
lea edi, [esp + 0xf8]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x40fe31
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x20]
cmp edi, ebx
je 0x40fe86
lea eax, [esp + 0x81c]
mov ecx, eax
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x40fe60
sub eax, ecx
mov esi, ecx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x40fe70
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40fe9b
lea ecx, [esp + 0x6c]
push ecx
call fcn.0041f520
add esp, 4
cmp dword [esp + 0x18], 1
jne 0x40fea7
call fcn.0040fee0
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0xa28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa10]
xor ecx, esp
call fcn.0053c99c
mov esp, ebp
pop ebp
ret 4