Function at 0x41e380
Capabilities:
Create process on windows
Resolve function by parsing pe exports
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4853f4
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4720]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov edi, dword [esp + 0xb0]
mov ebx, ecx
mov esi, dword [esp + 0xa8]
push str.Wow64DisableWow64FsRedirection
xor ebp, ebp
push str.kernel32
mov dword [esp + 0x40], ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x34], eax
cmp eax, ebp
je 0x41e3e9
lea ecx, [esp + 0x38]
push ecx
call eax
mov dword [esp + 0xa0], ebp
call fcn.004440b8
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41e40a
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0xa0], 1
call fcn.004440b8
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41e43c
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x24], ebp
push 1
lea ecx, [esp + 0x1c]
push ecx
push ecx
mov byte [esp + 0xac], 2
mov ecx, esp
mov dword [esp + 0x38], esp
push str.strActiveXPath
call fcn.00401ed0
push esi
call fcn.0042e350
mov dword [esp + 0x14], eax
test eax, eax
jne 0x41e52b
mov edi, 0xa0000001
lea esi, [esp + 0x28]
call fcn.00414000
mov ecx, dword [esp + 0xb0]
push eax
mov byte [esp + 0xa4], 3
call fcn.00407570
mov byte [esp + 0xa0], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e4c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 1
lea eax, [ebp - 0x10]
mov ecx, dword [esp + 0xac]
mov dword [ecx], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e4fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eb6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41eb6b
push 1
lea ecx, [esp + 0x28]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.iSystemBits
call fcn.00401ed0
push esi
call fcn.0042e350
mov dword [esp + 0x14], eax
test eax, eax
jne 0x41e5b0
mov edi, 0xa0000001
lea esi, [esp + 0x28]
call fcn.00414000
mov ecx, dword [esp + 0xb0]
push eax
mov byte [esp + 0xa4], 4
call fcn.00407570
mov byte [esp + 0xa0], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e59c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
jmp 0x41e4d4
mov edi, dword [esp + 0x24]
push edi
call fcn.00461856
add esp, 4
cmp dword [0x4a657c], 0
mov esi, eax
je 0x41e60f
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41e605
lea ecx, [esp + 0x4c]
push ecx
call eax
mov ax, word [esp + 0x4c]
cmp ax, 9
je 0x41e5fb
cmp ax, 6
jne 0x41e605
mov dword [0x4a99d4], 1
mov dword [0x4a657c], 0
test esi, esi
je 0x41e621
cmp esi, 1
jne 0x41e63b
cmp dword [0x4a99d4], 0
jne 0x41e649
call fcn.004440b8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41e661
push 0x80004005
call fcn.00401fc0
cmp esi, 2
jne 0x41e649
cmp dword [0x4a99d4], 0
jne 0x41e621
mov dword [esp + 0x14], 1
mov byte [esp + 0xa0], 1
lea eax, [edi - 0x10]
jmp 0x41e4e1
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x20], ebp
mov byte [esp + 0xa0], 5
call fcn.004440b8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41e693
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0xa0], 6
mov ebx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x30], esp
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add ebx, 0xfffffff0
mov edi, esp
call eax
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
jl 0x41e6dd
cmp eax, dword [ebx]
jne 0x41e6dd
mov esi, ebx
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x41e719
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x41e6f6
call fcn.004303e0
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebx + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.00461715
add esp, 0x10
add esi, 0x10
mov dword [edi], esi
lea esi, [esp + 0x30]
call fcn.0043d140
add esp, 4
push eax
mov byte [esp + 0xa4], 7
push ecx
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x38], esp
mov edi, esp
call eax
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
jl 0x41e75d
cmp eax, dword [ebx]
jne 0x41e75d
mov esi, ebx
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x41e799
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x41e776
call fcn.004303e0
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebx + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.00461715
add esp, 0x10
add esi, 0x10
mov dword [edi], esi
lea esi, [esp + 0x1c]
call fcn.0043d220
add esp, 4
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0xac], 8
call fcn.0040d8d0
add esp, 0xc
mov byte [esp + 0xa0], 9
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebp - 0x10]
cmp eax, esi
je 0x41e81b
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x41e80d
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41e80d
push eax
call fcn.00401fe0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x41e804
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x20], ebp
jmp 0x41e81b
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00401da0
mov byte [esp + 0xa0], 8
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e843
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 7
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e86b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 6
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e893
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x34], esp
mov edi, esp
call eax
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x41e8bd
cmp eax, dword [ebx]
jne 0x41e8bd
mov esi, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41e8f9
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x41e8d6
call fcn.004303e0
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebx + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.00461715
add esp, 0x10
add esi, 0x10
mov dword [edi], esi
call fcn.0043d580
xor esi, esi
add esp, 4
cmp eax, esi
je 0x41ea97
push 0x40
xor eax, eax
lea edx, [esp + 0x54]
push esi
push edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call fcn.00464a00
xor eax, eax
add esp, 0xc
mov word [esp + 0x7c], ax
mov dword [esp + 0x4c], 0x44
mov dword [esp + 0x78], 0x81
mov eax, str._u__s
cmp dword [esp + 0xb4], esi
jne 0x41e960
mov eax, 0x49171c
mov ecx, dword [esp + 0x18]
push ecx
push eax
lea edx, [esp + 0x24]
push str.regsvr32.exe__s___s_
push edx
call fcn.00403800
mov eax, dword [esp + 0x2c]
add esp, 0x10
cmp dword [eax - 4], 1
jle 0x41e993
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x20]
call fcn.00401c30
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x50]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [esp + 0x14], eax
cmp eax, esi
je 0x41ea8d
mov eax, dword [esp + 0x3c]
push 0x4e20
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x41e9f0
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
xor eax, eax
cmp dword [esp + 0x28], esi
mov edi, 0xa0000004
sete al
mov esi, eax
jmp 0x41ea01
mov ecx, dword [esp + 0x3c]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0xa0000003
mov edx, dword [esp + 0x3c]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
mov dword [esp + 0x18], esi
call ebp
mov eax, dword [esp + 0x40]
push eax
call ebp
test esi, esi
jne 0x41eaa5
mov ebp, dword [esp + 0xa8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0xac]
lea esi, [esp + 0x28]
mov dword [edx], ecx
call fcn.00414000
mov byte [esp + 0xa0], 0xa
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov eax, dword [ebp + 0x2c]
push ecx
push edx
push eax
mov eax, dword [esp + 0xbc]
push eax
call fcn.00403800
mov byte [esp + 0xb0], 6
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ead2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41ead2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x41ea21
mov edi, 2
mov dword [esp + 0x14], esi
jmp 0x41ea21
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
mov dword [ecx], 2
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 0x30]
mov edx, dword [esp + 0xb0]
push ecx
push eax
push edx
call fcn.00403800
add esp, 0xc
mov byte [esp + 0xa0], 5
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 0x41eafa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eb22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eb4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eb6b
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [esp + 0xa0], 0xffffffff
cmp dword [esp + 0x34], 0
je 0x41eb9f
push str.Wow64RevertWow64FsRedirection
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41eb9f
mov ecx, dword [esp + 0x38]
push ecx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret