Function at 0x437385
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x473086
call fcn.004549fc
sub esp, 0x328
push ebx
push esi
push edi
push 0x48ef90
xor ebx, ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 0x24], eax
je 0x4373bc
push 0x48ef80
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x94]
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x34], ebx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x30]
push 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x128]
mov dword [ebp - 0x12c], ebx
cmp esi, ebx
mov dword [ebp - 0x10], ebx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0xcccccccc
je 0x43745c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x98], 0x3c
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x84], eax
xor eax, eax
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
setne al
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x94], 0x40
call esi
test eax, eax
jne 0x437451
mov dword [ebp - 0x10], ebx
jmp 0x43766b
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x10], eax
jmp 0x4375c8
push 0x10
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.004550b0
push 0x44
lea eax, [ebp - 0x12c]
pop esi
push esi
push ebx
push eax
call fcn.004550b0
add esp, 0x18
xor eax, eax
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0x12c], esi
mov esi, 0x4765e0
mov edi, 0x4765d8
setne al
mov word [ebp - 0xfc], ax
lea eax, [ebp + 0x13]
push ebx
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x100], 1
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xa0], edi
call fcn.0040190c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
cmp eax, ebx
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xc8], edi
jne 0x4374dc
mov eax, 0x494ad8
lea ecx, [ebp + 0xf]
push ebx
push ecx
push eax
lea ecx, [ebp - 0xe8]
call fcn.004011a9
mov eax, dword [ebp - 0xe0]
mov byte [ebp - 4], 1
cmp eax, ebx
mov dword [ebp - 0x20], 0x4765fc
je 0x437505
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], esi
cmp eax, ebx
mov dword [ebp - 0x3c], edi
jne 0x437517
mov eax, 0x494ad8
lea ecx, [ebp - 0x19]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.004011a9
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 2
cmp eax, ebx
jne 0x437535
mov eax, 0x4765fc
push dword [ebp - 0x20]
push eax
lea eax, [ebp - 0xc0]
push 0x48ef70
push eax
call fcn.004244db
add esp, 0x10
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00401093
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], bl
call fcn.00401093
mov eax, dword [ebp - 0xb8]
cmp eax, ebx
jne 0x437576
mov eax, 0x4765fc
push eax
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x12c]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
lea eax, [ebp - 0x334]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4375ad
mov dword [ebp - 0x10], ebx
jmp 0x4375b9
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.00401093
cmp dword [ebp - 0x10], ebx
je 0x43766b
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
push 0xff
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push ebx
push eax
push 1
pop esi
push esi
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, ebx
je 0x437641
cmp eax, esi
jne 0x437641
push esi
push ebx
push ebx
lea eax, [ebp - 0x50]
push ebx
push eax
call edi
test eax, eax
je 0x4375d7
cmp dword [ebp - 0x4c], 0xf
je 0x43761d
cmp dword [ebp - 0x4c], 0x113
jne 0x437631
mov ecx, dword [ebp + 0x14]
push esi
call fcn.0042ddaa
jmp 0x437631
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4375d7
jmp 0x4375f5
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x498770], eax
je 0x437666
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x24], ebx
pop edi
pop esi
pop ebx
je 0x43767c
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], ecx
leave
ret 0x10