Function at 0x4048e6
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c8
mov eax, dword [0x43b080]
xor eax, esp
mov dword [esp + 0x2c4], eax
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
lea eax, [esi + 0x34]
cmp dword [eax + 0x14], 0xf
jbe 0x404913
mov eax, dword [eax]
push dword [ebp + 8]
push dword [ebp + 0xc]
push eax
push str.SyringeDebugger::Run:_Running_process_to_debug._cmd____s__.s_
call fcn.00401253
add esp, 0x10
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00403c69
cmp dword [esi + 0x4c], 0
je 0x404bc1
push 1
lea eax, [esp + 0x1b]
mov ecx, esi
push eax
push dword [esi + 0x4c]
call fcn.00403e38
test al, al
je 0x404bc1
mov edi, 0x230
push edi
push str.SyringeDebugger::Run:_Allocating_0x_u_bytes...
call fcn.00401253
pop ecx
pop ecx
push edi
push ecx
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.00403ebb
push eax
lea ecx, [esi + 0x58]
call fcn.00402e9b
lea ecx, [esp + 0xc]
call fcn.004012de
mov eax, dword [esi + 0x58]
push eax
push str.SyringeDebugger::Run:_pAlloc__0x_08X
mov dword [esp + 0x14], eax
call fcn.00401253
push str.SyringeDebugger::Run:_Writing_DLL_loader__caller_code...
call fcn.00401253
add esp, 0xc
lea edi, [esp + 0x98]
mov esi, str.PQRh
push 0xa
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
mov ecx, esi
push 0x230
lea eax, [edi + 0x30]
mov dword [esp + 0xa0], eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0xa6], eax
lea eax, [edi + 0x130]
mov dword [esp + 0xaf], eax
mov eax, dword [esi + 0x54]
mov dword [esp + 0xb6], eax
lea eax, [edi + 0x28]
mov dword [esp + 0xbb], eax
lea eax, [esp + 0x9c]
push eax
push edi
call fcn.00403d70
test al, al
jne 0x404a19
push str.SyringeDebugger::Run:_LoadLibrary_patching_failed__
jmp 0x404bc6
push edi
push str.SyringeDebugger::Run:_pcLoadLibrary__0x_08X
call fcn.00401253
pop ecx
pop ecx
push dword [esi + 0x4c]
mov word [esi + 0x6c], 0
mov ecx, esi
mov eax, dword [esi + 0x28]
mov dword [esi + 0x30], eax
call fcn.00403f14
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push str.SyringeDebugger::Run:_Entering_debug_loop...
mov byte [esi + 0x6e], 0
call fcn.00401253
pop ecx
or edi, 0xffffffff
push edi
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], 0x10002
sub eax, 1
je 0x404b6e
sub eax, 1
je 0x404b53
sub eax, 1
je 0x404b23
sub eax, 1
je 0x404abe
dec eax
sub eax, 1
jne 0x404a9f
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x38], 5
je 0x404b9e
cmp dword [esp + 0x38], 9
je 0x404ba2
jmp 0x404b83
lea eax, [esp + 0x40]
mov ecx, esi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0040a7f8
mov eax, dword [esp + 0x24]
cmp byte [eax + 0xd], 0
jne 0x404b7f
mov ecx, dword [esp + 0x40]
cmp ecx, dword [eax + 0x10]
jb 0x404b89
cmp eax, dword [esi]
je 0x404b89
and dword [eax + 0x14], 0
mov ecx, esi
push eax
call fcn.0040a094
mov dword [esp + 0x18], eax
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x404b14
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
push 0x1c
push eax
call fcn.0040cc38
pop ecx
pop ecx
jmp 0x404a9f
mov eax, dword [esp + 0x48]
mov ecx, esi
mov dword [esi + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x14], eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0040a3cc
jmp 0x404a95
lea eax, [esp + 0x44]
mov ecx, esi
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0040a3cc
jmp 0x404a9f
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.00403f61
jmp 0x404aa3
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
jmp 0x404b8d
mov eax, dword [esp + 0xc]
push eax
push ecx
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
jmp 0x404a57
mov edi, dword [esp + 0x44]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push edi
push str.SyringeDebugger::Run:_Done_with_exit_code__X___u_.
call fcn.00401253
add esp, 0xc
call fcn.0040123c
jmp 0x404bcc
push str.SyringeDebugger::Run:_Invalid_EntryPoint_Address
call fcn.00401253
pop ecx
mov ecx, dword [esp + 0x2cc]
pop edi
pop esi
xor ecx, esp
call fcn.0040c9a4
mov esp, ebp
pop ebp
ret 8