Function at 0x111973a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111ea366
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push str.Kernel32.dll
mov dword [ebp - 0x430], ecx
mov byte [ebp - 0x421], bl
mov dword [ebp - 0x428], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov dword [ebp - 0x49c], edi
mov dword [ebp - 0x498], ebx
mov dword [ebp - 0x494], ebx
mov dword [ebp - 0x490], ebx
mov dword [ebp - 0x48c], ebx
mov dword [ebp - 0x488], ebx
mov dword [ebp - 0x484], ebx
mov dword [ebp - 0x480], ebx
mov dword [ebp - 0x47c], ebx
mov dword [ebp - 0x478], ebx
mov dword [ebp - 0x474], ebx
mov dword [ebp - 0x470], ebx
mov dword [ebp - 0x46c], ebx
mov dword [ebp - 0x464], ebx
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x45c], ebx
mov dword [ebp - 0x458], ebx
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
call edi
mov dword [ebp - 0x468], eax
cmp eax, ebx
je 0x1119749c
lea ecx, [ebp - 0x428]
push ecx
push esi
call eax
jmp 0x111974a4
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x428], ebx
je 0x1119761d
push 0x104
lea eax, [ebp - 0x41e]
push eax
mov edx, 0x22
push ebx
mov word [ebp - 0x420], dx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x420]
push 0x5c
push ecx
call dword [sym.imp.MSVCR100.dll_wcsrchr]
add esp, 8
cmp eax, ebx
je 0x111975f0
mov ecx, str.winst64.exe___q__q__si
mov edx, eax
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
cmp ax, bx
jne 0x111974f2
push 0x44
lea edx, [ebp - 0x4e0]
push ebx
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x444]
push ecx
lea edx, [ebp - 0x4e0]
push edx
push ebx
push ebx
push 0x4000000
push ebx
xor eax, eax
push ebx
mov word [ebp - 0x4b0], ax
push ebx
lea eax, [ebp - 0x420]
push eax
push ebx
mov dword [ebp - 0x4e0], 0x44
mov dword [ebp - 0x4b4], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
je 0x111975f0
mov ecx, dword [ebp - 0x444]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x444]
lea edx, [ebp - 0x42c]
push edx
push eax
mov dword [ebp - 0x42c], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x11197598
cmp dword [ebp - 0x42c], ebx
sete byte [ebp - 0x421]
mov ecx, dword [ebp - 0x444]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x440]
push edx
call esi
cmp byte [ebp - 0x421], bl
je 0x111975f0
mov esi, dword [ebp - 0x430]
push 1
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x434]
call fcn.1113ea20
mov byte [ebp - 4], 1
cmp dword [esi + 0x28], ebx
je 0x111975e2
mov ecx, dword [esi + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], bl
call fcn.1113e900
mov eax, dword [ebp - 0x49c]
cmp eax, ebx
je 0x11197601
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
push str.pscrinst.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, ebx
je 0x1119767b
push str.PscrInstallDeviceW
push esi
call edi
push ebx
push str.RootNS_PseudoSmartCardReader
push str.nspscr.inf
push ebx
call eax
test eax, eax
je 0x1119765b
push esi
mov byte [ebp - 0x421], 1
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x111975b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CSmartcardDeviceMngr___PscrInstallDeviceW_failed___d__n
call fcn.111bd7b0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x111975b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CSmartcardDeviceMngr___failed_to_load_pscrinst.dll___d__n
call fcn.111bd7b0
add esp, 8
jmp 0x111975f0