Function at 0x50309a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], esp
push str.Kernel32.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x5030ea
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push 0x77b3b9
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_GetProcAddress]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x503114
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 4]
push 0
push 0
push dword [0x7ad19d]
call dword [sym.imp.kernel32.dll_CreateRemoteThread]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x503158
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5031d9
mov dword [ebp - 0x18], esp
push 0xffffffff
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x50318c
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_GetExitCodeThread]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x5031b2
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x5031d4
push 6
call fcn.005fffca
add esp, 4
jmp 0x5031e3
mov eax, 0
jmp 0x503391
mov dword [ebp - 0x18], esp
push str.Kernel32.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x503207
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push 0x77b3c9
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_GetProcAddress]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x503231
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0
push 0
push dword [0x7ad19d]
call dword [sym.imp.kernel32.dll_CreateRemoteThread]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x503273
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5032f4
mov dword [ebp - 0x18], esp
push 0xffffffff
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x5032a7
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_GetExitCodeThread]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x5032cd
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x5032ef
push 6
call fcn.005fffca
add esp, 4
jmp 0x5032fe
mov eax, 0
jmp 0x503391
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x184
call fcn.00601800
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x503333
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
mov ebx, dword [ebp + 8]
push dword [ebx]
push dword [ebp - 0xc]
push dword [0x7ad19d]
call dword [sym.imp.kernel32.dll_ReadProcessMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x503375
push 6
call fcn.005fffca
add esp, 4
test eax, eax
je 0x503387
mov eax, 1
jmp 0x503391
mov eax, 0
jmp 0x503391
mov esp, ebp
pop ebp
ret 4