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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x2dc], ecx
mov ecx, dword [ebp + 0x14]
mov edi, edx
xor esi, esi
push eax
mov dword [ebp - 0x2f4], ebx
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2fc], edi
mov dword [ebp - 0x300], ecx
mov dword [ebp - 0x2e0], esi
call fcn.0043d9d1
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebx + 0x2c]
pop ecx
cmp eax, dword [ebp - 0x2e0]
je 0x43d774
cmp eax, esi
je 0x43d76b
push eax
call fcn.00404e46
pop ecx
mov eax, dword [ebp - 0x2e0]
mov dword [ebx + 0x2c], eax
push dword [ebp - 0x2dc]
call fcn.0043d9d1
pop ecx
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x2e0], 0x40c
cmp dword [edi + 0x44], esi
je 0x43d79f
mov dword [ebp - 0x2e0], 0x8040c
cmp dword [ebx + 0x1c], esi
je 0x43d7b8
call fcn.00411356
cmp dword [eax], 5
jge 0x43d7b8
or dword [ebp - 0x2e0], 0x1000000
lea ecx, [ebp - 0x320]
push ecx
push dword [ebp - 0x2fc]
movzx ecx, byte [ebp + 0x10]
push esi
xor eax, eax
push esi
push dword [ebp - 0x2e0]
lea edi, [ebp - 0x320]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ecx
stosd dword es:[edi], eax
push esi
push esi
push dword [ebp - 0x2dc]
stosd dword es:[edi], eax
push dword [ebp - 0x2f8]
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x310], eax
lea edi, [ebx + 0x10]
mov eax, dword [edi]
push eax
mov dword [ebp - 0x2f0], esi
mov dword [ebp - 0x2ec], esi
mov dword [ebp - 0x2e8], esi
mov dword [ebp - 0x2e4], esi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov ebx, eax
lea eax, [ebp - 0x320]
push eax
push dword [ebp - 0x310]
neg ebx
sbb bl, bl
call fcn.0043da26
inc bl
je 0x43d866
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [ebp - 0x2f0]
mov ebx, eax
call fcn.00432d31
cmp dword [ebp - 0x2dc], esi
je 0x43d85f
push dword [ebp - 0x2dc]
call fcn.00404e46
pop ecx
mov eax, ebx
jmp 0x43d9c0
mov esi, edi
call fcn.00422af8
mov ebx, dword [ebp - 0x2f4]
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x43d8c8
push dword [ebp - 0x2f0]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x43d8c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push dword [ebp - 0x2f0]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea edi, [ebp - 0x2f0]
call fcn.00432d31
cmp dword [ebp - 0x2dc], 0
je 0x43d8c1
push dword [ebp - 0x2dc]
call fcn.00404e46
pop ecx
mov eax, esi
jmp 0x43d9c0
lea esi, [ebx + 0x14]
mov eax, dword [esi]
test eax, eax
je 0x43d8f9
cmp eax, 0xffffffff
je 0x43d8f9
mov ecx, dword [ebp - 0x2ec]
push eax
lea eax, [ebp - 0x2f4]
push eax
mov dword [ebp - 0x2f4], ecx
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
je 0x43d88b
call fcn.00422af8
lea eax, [ebp - 0x2d8]
push eax
push dword [ebp - 0x2ec]
mov dword [ebp - 0x2d8], 0x1003f
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x43d88b
push dword [ebp - 0x300]
mov edi, dword [ebp - 0x228]
lea esi, [ebp - 0x2f0]
call fcn.0043da7d
test al, al
je 0x43d88b
push dword [ebp - 0x2f8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x43d986
lea eax, [ebp - 0x304]
mov dword [ebp - fcn.0043f791], 0x62d620
mov dword [ebp - 0x300], esi
call fcn.00423064
push esi
test al, al
jne 0x43d977
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x43d986
mov eax, dword [esi + 0x3c]
sub edi, dword [eax + esi + 0x28]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, edi
lea eax, [ebp - 0x30c]
mov dword [ebx + 0x28], esi
push eax
lea esi, [ebp - 0x2f0]
call fcn.0043db5f
push eax
push ebx
call fcn.0043da26
mov edi, esi
call fcn.00432d31
cmp dword [ebp - 0x2dc], 0
je 0x43d9be
push dword [ebp - 0x2dc]
call fcn.00404e46
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret 0x10