Function at 0x41b890
Capabilities:
Create process on windows
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x45432a
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x467334]
xor eax, esp
mov dword [esp + 0x1e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x467334]
xor eax, esp
push eax
lea eax, [esp + 0x1f8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x208]
mov dword [esp + 0x38], eax
xor ebx, ebx
lea eax, [esp + 0x17]
mov dword [esp + 0x200], ebx
mov dword [esp + 0x20], 0x80004005
mov byte [esp + 0x17], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41b8f2
sub eax, edx
je 0x41b902
call fcn.00432560
push 0x40
xor eax, eax
lea ecx, [esp + 0x7c]
push ebx
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x80], ebx
call fcn.00444d20
lea eax, [esp + 0x23]
add esp, 0xc
mov dword [esp + 0xa0], 1
mov byte [esp + 0x17], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41b941
sub eax, edx
je 0x41b951
call fcn.00418740
xor edx, edx
mov word [esp + 0xa4], dx
mov dword [esp + 0x18], ebx
call fcn.0043c831
cdq
mov ecx, 0x64
idiv ecx
push 0x63
lea eax, [esp + 0x191]
push ebx
push eax
mov byte [esp + 0x198], bl
mov esi, edx
inc esi
lea edx, [esi + esi*4 + 0x15]
mov dword [esp + 0x30], edx
call fcn.00444d20
add esp, 0xc
push esi
lea ecx, [esp + 0x40]
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], ebx
mov byte [edi], bl
mov eax, dword [esi + 0x18]
mov ebp, pe_nt_image_headers32
mov dword [esp + 0x40], esp
cmp eax, ebp
jb 0x41b9bf
mov ecx, dword [edi]
jmp 0x41b9c1
mov ecx, edi
cmp ecx, 0x45c1b4
ja 0x41b9fa
cmp eax, ebp
jb 0x41b9d1
mov ecx, dword [edi]
jmp 0x41b9d3
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x45c1b4
jbe 0x41b9fa
cmp eax, ebp
jb 0x41b9e6
mov edi, dword [edi]
push 2
mov eax, 0x45c1b4
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402ea0
jmp 0x41ba3b
cmp eax, 2
jae 0x41ba0c
mov ecx, dword [esi + 0x14]
push ecx
push 2
mov ecx, esi
call fcn.00403800
mov ecx, dword [esi + 0x18]
cmp ecx, ebp
jb 0x41ba17
mov eax, dword [edi]
jmp 0x41ba19
mov eax, edi
push 2
push 0x45c1b4
push ecx
push eax
call fcn.0043c85e
add esp, 0x10
mov dword [esi + 0x14], 2
cmp dword [esi + 0x18], ebp
jb 0x41ba38
mov edi, dword [edi]
mov byte [edi + 2], bl
lea esi, [esp + 0xe4]
call fcn.00401900
mov ecx, eax
mov byte [esp + 0x208], 1
call fcn.00401b50
cmp dword [eax + 0x18], ebp
jb 0x41ba60
mov eax, dword [eax + 4]
jmp 0x41ba63
add eax, 4
push eax
lea edx, [esp + 0x194]
push 0x64
push edx
call fcn.0043d30e
add esp, 0x10
cmp dword [esp + 0x54], ebp
jb 0x41ba89
mov eax, dword [esp + 0x40]
push eax
call fcn.0043c853
add esp, 4
lea esi, [esp + 0xc0]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
mov byte [esp + 0x200], bl
call fcn.00429050
lea eax, [esp + 0x17]
mov byte [esp + 0x17], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41bab7
sub eax, edx
mov eax, 0
setne al
sub eax, 1
jne 0x41bad7
call fcn.00417c60
call fcn.00417cd0
lea ecx, [esp + 0x3c]
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], ebx
mov byte [edi], bl
mov eax, dword [esi + 0x18]
mov dword [esp + 0x3c], esp
cmp eax, ebp
jb 0x41baff
mov ecx, dword [edi]
jmp 0x41bb01
mov ecx, edi
cmp ecx, 0x45c1b8
ja 0x41bb3a
cmp eax, ebp
jb 0x41bb11
mov ecx, dword [edi]
jmp 0x41bb13
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x45c1b8
jbe 0x41bb3a
cmp eax, ebp
jb 0x41bb26
mov edi, dword [edi]
push 4
mov eax, 0x45c1b8
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402ea0
jmp 0x41bb7b
cmp eax, 4
jae 0x41bb4c
mov ecx, dword [esi + 0x14]
push ecx
push 4
mov ecx, esi
call fcn.00403800
mov ecx, dword [esi + 0x18]
cmp ecx, ebp
jb 0x41bb57
mov eax, dword [edi]
jmp 0x41bb59
mov eax, edi
push 4
push 0x45c1b8
push ecx
push eax
call fcn.0043c85e
add esp, 0x10
mov dword [esi + 0x14], 4
cmp dword [esi + 0x18], ebp
jb 0x41bb78
mov edi, dword [edi]
mov byte [edi + 4], bl
lea esi, [esp + 0xe0]
call fcn.00401900
mov ecx, eax
mov byte [esp + 0x204], 2
call fcn.00401db0
mov byte [esp + 0x200], 3
cmp dword [eax + 0x18], ebp
jb 0x41bba8
mov eax, dword [eax + 4]
jmp 0x41bbab
add eax, 4
lea edx, [esp + 0x20c]
push edx
mov edi, eax
lea esi, [esp + 0x174]
call fcn.00405a10
add esp, 4
cmp dword [esp + 0x54], ebp
jb 0x41bbd7
mov eax, dword [esp + 0x40]
push eax
call fcn.0043c853
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea esi, [esp + 0xc0]
mov byte [esp + 0x200], 6
call fcn.00429050
lea eax, [esp + 0x18c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41bc05
sub eax, edx
push eax
lea ecx, [esp + 0x190]
push ecx
lea eax, [esp + 0x178]
call fcn.004032e0
lea eax, [esp + 0x17]
mov byte [esp + 0x17], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41bc30
sub eax, edx
mov eax, 0
setne al
sub eax, 1
jne 0x41bc50
call fcn.00419cc0
call fcn.00418740
mov eax, dword [esp + 0x174]
cmp dword [esp + 0x188], ebp
jae 0x41bc67
lea eax, [esp + 0x174]
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x78]
push ecx
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x41bdaf
call ebp
push eax
lea edx, [esp + 0x5c]
push edx
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], ebx
mov byte [edi], bl
mov eax, dword [esi + 0x18]
mov dword [esp + 0x40], esp
cmp eax, 0x10
jb 0x41bcbd
mov ecx, dword [edi]
jmp 0x41bcbf
mov ecx, edi
cmp ecx, 0x45c1c0
ja 0x41bcfa
cmp eax, 0x10
jb 0x41bcd0
mov ecx, dword [edi]
jmp 0x41bcd2
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x45c1c0
jbe 0x41bcfa
cmp eax, 0x10
jb 0x41bce6
mov edi, dword [edi]
push 0x2d
mov eax, 0x45c1c0
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402ea0
jmp 0x41bd3d
cmp eax, 0x2d
jae 0x41bd0c
mov ecx, dword [esi + 0x14]
push ecx
push 0x2d
mov ecx, esi
call fcn.00403800
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x41bd18
mov eax, dword [edi]
jmp 0x41bd1a
mov eax, edi
push 0x2d
push 0x45c1c0
push ecx
push eax
call fcn.0043c85e
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0x2d
jb 0x41bd3a
mov edi, dword [edi]
mov byte [edi + 0x2d], bl
lea esi, [esp + 0x13c]
call fcn.00401900
mov byte [esp + 0x208], 7
call fcn.004019c0
mov esi, pe_nt_image_headers32
mov byte [esp + 0x204], 8
cmp dword [eax + 0x18], esi
jb 0x41bd6d
mov eax, dword [eax + 4]
jmp 0x41bd70
add eax, 4
mov edx, dword [esp + 0x3c]
push eax
push 1
push edx
call fcn.0041c440
add esp, 0x10
cmp dword [esp + 0x70], esi
jb 0x41bd93
mov eax, dword [esp + 0x5c]
push eax
call fcn.0043c853
add esp, 4
lea esi, [esp + 0x118]
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00429050
mov ecx, dword [esp + 0x28]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x18], eax
call fcn.00403c90
mov dword [esp + 0x200], 6
cmp dword [esp + 0x18], 0x102
jne 0x41bdeb
mov edx, dword [esp + 0x28]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x41be0d
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41be0d
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x18], edx
jne 0x41be0d
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
call ebp
mov esi, eax
push ebx
shr esi, 0x18
call fcn.0043cb47
imul eax, eax, 0x63
add esp, 4
cmp esi, eax
jbe 0x41be42
push ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
call fcn.004399b0
call fcn.00401450
mov ecx, dword [esp + 0x2c]
push ecx
call edi
mov esi, pe_nt_image_headers32
cmp dword [esp + 0x188], esi
jb 0x41be67
mov edx, dword [esp + 0x174]
push edx
call fcn.0043c853
add esp, 4
mov dword [esp + 0x188], 0xf
mov dword [esp + 0x184], ebx
mov byte [esp + 0x174], bl
cmp dword [esp + 0x224], esi
jb 0x41be99
mov eax, dword [esp + 0x210]
push eax
call fcn.0043c853
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1e0]
xor ecx, esp
call fcn.0043c2d9
add esp, 0x1f0
ret 0x20