Function at 0x43635f
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x47299a
call fcn.0045454c
sub esp, 0x328
push ebx
push esi
push edi
push 0x48ebdc
xor ebx, ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 0x24], eax
je 0x436396
push 0x48ebcc
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 0x436436
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 0x43642b
mov dword [ebp - 0x10], ebx
jmp 0x436645
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x10], eax
jmp 0x4365a2
push 0x10
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.00454c00
push 0x44
lea eax, [ebp - 0x12c]
pop esi
push esi
push ebx
push eax
call fcn.00454c00
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 0x4364b6
mov eax, 0x4947d8
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 0x4364df
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], esi
cmp eax, ebx
mov dword [ebp - 0x3c], edi
jne 0x4364f1
mov eax, 0x4947d8
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 0x43650f
mov eax, 0x4765fc
push dword [ebp - 0x20]
push eax
lea eax, [ebp - 0xc0]
push 0x48ebbc
push eax
call fcn.0042423a
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 0x436550
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 0x436587
mov dword [ebp - 0x10], ebx
jmp 0x436593
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 0x436645
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 0x43661b
cmp eax, esi
jne 0x43661b
push esi
push ebx
push ebx
lea eax, [ebp - 0x50]
push ebx
push eax
call edi
test eax, eax
je 0x4365b1
cmp dword [ebp - 0x4c], 0xf
je 0x4365f7
cmp dword [ebp - 0x4c], 0x113
jne 0x43660b
mov ecx, dword [ebp + 0x14]
push esi
call fcn.0042ce90
jmp 0x43660b
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 0x4365b1
jmp 0x4365cf
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 [0x498470], eax
je 0x436640
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x24], ebx
pop edi
pop esi
pop ebx
je 0x436656
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