Function at 0x40bf10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4935ab
mov eax, dword fs:[0]
push eax
sub esp, 0x908
mov eax, dword [0x4c3aa8]
xor eax, esp
mov dword [esp + 0x900], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c3aa8]
xor eax, esp
push eax
lea eax, [esp + 0x91c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x92c]
push 0x18c
xor ebx, ebx
lea edx, [esp + 0x68]
push ebx
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ecx
call fcn.004553e0
add esp, 0xc
push 0x1ff
lea eax, [esp + 0x511]
push ebx
push eax
mov byte [esp + 0x518], bl
call fcn.004553e0
add esp, 0xc
push 0x207
lea ecx, [esp + 0x711]
push ebx
push ecx
mov byte [esp + 0x718], bl
call fcn.004553e0
add esp, 0xc
push 0x104
lea edx, [esp + 0x1f8]
push ebx
push edx
call fcn.004553e0
add esp, 0xc
lea ecx, [esp + 0x1f4]
call fcn.00417a50
lea eax, [esp + 0x1f4]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x40bfd3
mov ecx, dword [0x4aeb0c]
mov edx, dword [0x4aeb10]
mov dword [eax], ecx
mov ecx, dword [0x4aeb14]
mov dword [eax + 4], edx
lea edx, [esp + 0x1f4]
push edx
mov dword [eax + 8], ecx
call fcn.00417bb0
mov ebp, eax
cmp ebp, ebx
je 0x40c453
push 0x103
lea eax, [esp + 0x409]
push ebx
push eax
mov byte [esp + 0x410], bl
call fcn.004553e0
lea esi, [ebp + ebp*2]
shl esi, 6
lea eax, [esi + str.NoKey]
lea edx, [esp + 0x410]
add esp, 0xc
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x40c040
push 0x103
lea ecx, [esp + 0x301]
push ebx
push ecx
mov byte [esp + 0x308], bl
call fcn.004553e0
lea edx, [esp + 0x28]
add esp, 0xc
push edx
call fcn.0040b3c0
mov dword [esp + 0x928], ebx
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov edi, esp
push eax
call fcn.004081c0
add eax, 0x10
mov dword [edi], eax
lea ecx, [esi + 0x4c76a0]
add esp, 4
lea edi, [esp + 0x18]
mov dword [esp + 0x24], ecx
call fcn.004193e0
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x40c128
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x2fc]
push eax
push ecx
call fcn.00419600
cmp ebp, 7
je 0x40c0d5
cmp ebp, 8
je 0x40c0d5
mov edx, dword [esp + 0x18]
push edx
call fcn.0040bbf0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x2fc]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40c0f0
sub eax, edx
cmp eax, 1
jbe 0x40c21a
xor eax, eax
jmp 0x40c110
mov cl, byte [esp + eax + 0x2fc]
mov byte [esp + eax + 0x70c], cl
inc eax
cmp cl, bl
jne 0x40c110
jmp 0x40c259
cmp eax, ebx
jne 0x40c0e0
call fcn.0040b300
test eax, eax
je 0x40c0e0
push 0x100
lea eax, [esp + 0xf4]
push ebx
push eax
mov dword [esp + 0xf8], ebx
call fcn.004553e0
add esp, 0xc
mov esi, str.IDS_USBKEY_DRV_INST_FINISHED
mov ecx, str.CheckRes
call fcn.0041c800
lea edx, [esp + 0x50c]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x40c168
lea eax, [esp + 0x50c]
mov edx, eax
jmp 0x40c180
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40c180
lea edi, [esp + 0xf0]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x40c191
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp eax, ebx
je 0x40c1be
lea ecx, [esp + 0x64]
push ecx
call fcn.00417900
add esp, 4
mov edi, dword [esp + 0x24]
cmp edi, ebx
je 0x40c1f6
lea eax, [esp + 0x50c]
mov ecx, eax
nop
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x40c1d0
sub eax, ecx
mov esi, ecx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x40c1e0
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 dword [esp + 0x924], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40c447
lea ecx, [esp + 0x70c]
call fcn.00417a50
lea eax, [esp + 0x404]
mov edx, eax
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40c230
lea edi, [esp + 0x70c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x40c241
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 ecx, [esp + 0x30]
push ebx
push ecx
mov dword [esp + 0x34], 0x3c
call fcn.004553e0
mov eax, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x28]
lea edx, [esp + 0x70c]
push ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], 0x40
mov dword [esp + 0x40], str.__S__Silent
mov dword [esp + 0x48], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x40c308
push 0xb4
lea edx, [esp + 0x408]
push ebx
push edx
mov dword [esp + 0xf8], 1
call fcn.004553e0
add esp, 0xc
mov esi, str.IDS_PROTECTINGPWD_CONTROL_INST_FAILED
mov ecx, str.CheckRes
call fcn.0041c800
lea edx, [esp + 0x404]
mov edi, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x40c2e0
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x404]
mov byte [esp + eax + 0xf0], cl
inc eax
cmp cl, bl
jne 0x40c2f0
jmp 0x40c428
mov ecx, dword [esp + 0x60]
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], ebx
call esi
mov ebp, 0x103
cmp dword [esp + 0x14], ebp
jne 0x40c349
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x14]
push edx
push eax
call esi
push 0x1f4
call edi
cmp dword [esp + 0x14], ebp
je 0x40c330
lea eax, [esp + 0x2fc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40c353
sub eax, edx
cmp eax, 3
jbe 0x40c371
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x2fc]
call fcn.00419970
push 0x100
lea ecx, [esp + 0xf4]
push ebx
push ecx
mov dword [esp + 0xf8], ebx
call fcn.004553e0
add esp, 0xc
mov esi, str.IDS_USBKEY_DRV_INST_FINISHED
mov ecx, str.CheckRes
call fcn.0041c800
lea edx, [esp + 0x50c]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x40c3a4
lea eax, [esp + 0x50c]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40c3b7
lea edi, [esp + 0xf0]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x40c3c8
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp eax, ebx
je 0x40c3f5
lea edx, [esp + 0x64]
push edx
call fcn.00417900
add esp, 4
mov edi, dword [esp + 0x24]
cmp edi, ebx
je 0x40c428
lea eax, [esp + 0x50c]
mov ecx, eax
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x40c406
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x40c412
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 dword [esp + 0x924], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c453
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x91c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x900]
xor ecx, esp
call fcn.0044e1ea
add esp, 0x914
ret 4