Function at 0x56e120
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Create process on windows
Create process suspended
Execute shellcode via indirect call
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edi, dword fs:[0x18]
sub esp, 0x1b4
mov eax, dword [sym.imp.kernel32.dll_VirtualAllocEx]
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0
mov dword [esp + 0x10], 0x40
mov dword [esp + 0xc], 0x1000
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 0
mov dword [esp], 0xffffffff
mov dword [ebp - 0x18c], eax
call eax
sub esp, 0x14
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0x5c
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.Failed_to_allocated__error__lu._n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.0055ab70
mov eax, dword [sym.imp.kernel32.dll_VirtualFreeEx]
mov dword [esp + 4], ebx
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], 0
mov dword [esp], 0
mov dword [ebp - 0x188], eax
call eax
sub esp, 0x10
mov esi, eax
mov eax, 0x5e
call fcn.0055a4a0
mov edx, dword [edi + 0x34]
xor eax, eax
test esi, esi
jne 0x56e1f8
xor eax, eax
cmp edx, 6
sete al
mov dword [esp + 0xc], edx
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], str.Unexpected_value__d__error__lu._n
call fcn.0055ab70
mov dword [esp + 0x10], 0x40
mov dword [esp + 0xc], 0x1000
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [ebp - 0x18c]
call eax
sub esp, 0x14
mov esi, eax
mov eax, 0x60
call fcn.0055a4a0
xor eax, eax
mov edx, dword fs:[0x18]
mov ecx, dword [edx + 0x34]
test esi, esi
je 0x5702e1
mov dword [esp + 0xc], ecx
lea edi, [ebp - 0x150]
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], str.Unexpected_value__p__error__lu._n
call fcn.0055ab70
mov dword [esp + 4], ebx
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], 0
mov dword [esp], 0xffffffff
mov eax, dword [ebp - 0x188]
call eax
sub esp, 0x10
mov esi, eax
call fcn.0057d110
mov ebx, dword fs:[0x18]
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0x62
mov eax, dword [ebx + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp], esi
mov dword [esp + 4], str.Unexpected_value__d__error__lu._n
call fcn.0055ab70
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x168]
mov dword [ebp - 0x154], 0x44
mov dword [esp], eax
call fcn.0057d960
mov eax, dword [ebp - 0x168]
mov dword [esp + 0x10], str.sleep
mov edx, dword [eax + 4]
mov dword [esp + 0xc], edx
mov eax, dword [eax]
mov dword [esp + 4], str._s__s__s
mov dword [esp + 8], eax
lea eax, [ebp - 0x110]
mov dword [esp], eax
call fcn.0055a2e0
lea eax, [ebp - 0x164]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x154]
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x110]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateProcessA]
sub esp, 0x28
mov esi, eax
mov eax, 0x48
call fcn.0055a4a0
mov eax, dword [ebx + 0x34]
mov dword [esp], esi
mov dword [esp + 4], str.error:__lu_n
mov dword [esp + 8], eax
call fcn.0055ab70
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [ebp - 0x194], eax
call eax
sub esp, 4
mov esi, eax
mov eax, 0x4a
call fcn.0055a4a0
mov eax, dword [ebx + 0x34]
mov dword [esp], esi
mov dword [esp + 4], str.error__lu_n
mov dword [esp + 8], eax
call fcn.0055ab70
mov esi, dword [ebp - 0x164]
mov eax, 0x65
mov dword [ebp - 0x174], esi
call fcn.0055a4a0
xor eax, eax
test esi, esi
mov dword [esp + 4], str.Cant_start_process_n
setne al
mov dword [esp], eax
call fcn.0055ab70
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp], esi
mov dword [esp + 0x10], 0x40
mov dword [esp + 0xc], 0x1000
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x18c]
call eax
sub esp, 0x14
mov esi, eax
mov dword [ebp - 0x178], eax
mov eax, 0x6a
call fcn.0055a4a0
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.VirtualAllocEx_error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
setne al
mov dword [esp], eax
call fcn.0055ab70
mov ebx, dword [sym.imp.kernel32.dll_VirtualAlloc]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x1000
mov dword [esp + 4], 0x8000
mov dword [esp], 0
call ebx
sub esp, 0x10
mov esi, eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x1000
mov dword [esp + 4], 0x8000
mov dword [esp], 0
call ebx
xor ebx, ebx
mov dword [ebp - 0x184], eax
sub esp, 0x10
lea esi, [esi]
mov byte [esi + ebx], bl
add ebx, 1
cmp ebx, 0x8000
jne 0x56e4d8
lea eax, [ebp - 0x170]
mov dword [esp + 0xc], 0x8000
mov edx, dword [sym.imp.kernel32.dll_WriteProcessMemory]
mov dword [esp + 0x10], eax
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
mov dword [ebp - 0x17c], edx
call edx
sub esp, 0x14
mov edi, eax
mov eax, 0x72
call fcn.0055a4a0
mov eax, dword [ebp - 0x170]
mov dword [esp + 4], str._Iu_bytes_written_n
cmp eax, 0x8000
mov dword [esp + 8], eax
sete al
xor edx, edx
test edi, edi
setne dl
lea edi, [ebp - 0x16c]
and edx, eax
mov dword [esp], edx
call fcn.0055ab70
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x8000
mov edi, dword [ebp - 0x184]
mov dword [esp + 8], edi
mov eax, dword [ebp - 0x178]
mov edi, dword [sym.imp.kernel32.dll_ReadProcessMemory]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
mov dword [ebp - 0x180], edi
call edi
sub esp, 0x14
mov edi, eax
mov eax, 0x75
call fcn.0055a4a0
mov eax, dword [ebp - 0x16c]
mov dword [esp + 4], str._Iu_bytes_read_n
cmp eax, 0x8000
mov dword [esp + 8], eax
sete al
xor edx, edx
test edi, edi
setne dl
and edx, eax
mov dword [esp], edx
call fcn.0055ab70
mov eax, 0x76
call fcn.0055a4a0
mov dword [esp + 8], 0x8000
mov edi, dword [ebp - 0x184]
mov dword [esp], esi
mov dword [esp + 4], edi
call sub.msvcrt.dll_memcmp
mov dword [esp + 4], str.Data_from_remote_process_differs_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
lea eax, [ebp - 0x170]
mov dword [ebp - 0x170], 0xdeadbeef
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
call dword [0x8e062c]
sub esp, 0x14
mov edi, eax
mov eax, 0x79
call fcn.0055a4a0
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.wrong_status__lx_n
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0x7a
call fcn.0055a4a0
mov eax, dword [ebp - 0x170]
mov dword [esp + 4], str._Iu_bytes_written_n
cmp eax, 0x8000
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov dword [ebp - 0x16c], 0xdeadbeef
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 0
mov edi, dword [ebp - 0x184]
mov dword [esp], edi
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x16c]
mov dword [esp + 0xc], 0x8000
mov dword [esp + 0x10], eax
mov dword [ebp - 0x184], edi
mov dword [esp + 8], edi
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
call dword [0x8e0630]
sub esp, 0x14
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0x7e
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.wrong_status__lx_n
call fcn.0055ab70
mov eax, 0x7f
call fcn.0055a4a0
mov eax, dword [ebp - 0x16c]
mov dword [esp + 4], str._Iu_bytes_read_n
cmp eax, 0x8000
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov eax, pe_nt_image_headers32
call fcn.0055a4a0
mov dword [esp + 8], 0x8000
mov edi, dword [ebp - 0x184]
mov dword [esp], esi
mov dword [esp + 4], edi
lea edi, [ebp - 0x170]
call sub.msvcrt.dll_memcmp
mov dword [esp + 4], str.Data_from_remote_process_differs_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov dword [ebp - 0x170], 0xdeadbeef
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
mov edx, dword [ebp - 0x17c]
call edx
sub esp, 0x14
mov edi, eax
mov eax, 0x85
call fcn.0055a4a0
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x34]
test edi, edi
je 0x57025a
mov edi, dword [ebp - 0x170]
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [esp + 8], edx
mov dword [esp], edi
mov dword [esp + 4], str.write_failed:__lu_n
call fcn.0055ab70
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x16c], 0xdeadbeef
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x174]
mov dword [esp], eax
mov eax, dword [ebp - 0x180]
call eax
sub esp, 0x14
mov edi, eax
mov eax, 0x88
call fcn.0055a4a0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
test edi, edi
je 0x56e87a
mov edx, dword [ebp - 0x16c]
xor ecx, ecx
test edx, edx
sete cl
mov edi, ecx
mov dword [esp + 8], eax
mov dword [esp], edi
mov dword [esp + 4], str.read_failed:__lu_n
call fcn.0055ab70
lea eax, [ebp - 0x170]
mov dword [ebp - 0x170], 0xdeadbeef
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
call dword [0x8e062c]
sub esp, 0x14
mov edi, eax
mov eax, 0x8b
call fcn.0055a4a0
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.wrong_status__lx_n
lea edi, [ebp - 0x16c]
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0x8c
call fcn.0055a4a0
mov eax, dword [ebp - 0x170]
mov dword [esp + 4], str._Iu_bytes_written_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov dword [ebp - 0x16c], 0xdeadbeef
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
call dword [0x8e0630]
sub esp, 0x14
mov edi, eax
mov eax, 0x8f
call fcn.0055a4a0
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.wrong_status__lx_n
lea edi, [ebp - 0x154]
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0x90
call fcn.0055a4a0
mov eax, dword [ebp - 0x16c]
mov dword [esp + 4], str._Iu_bytes_read_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov edx, dword [sym.imp.kernel32.dll_VirtualProtect]
lea eax, [esi + 0x2000]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 1
mov dword [esp + 4], 0x2000
mov dword [esp], eax
mov dword [ebp - 0x190], edx
call edx
sub esp, 0x10
mov dword [ebp - 0x198], eax
mov eax, 0x95
call fcn.0055a4a0
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.VirtualProtect_failed_error__lu_n
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x198]
mov dword [esp], edx
call fcn.0055ab70
lea edx, [ebp - 0x170]
mov dword [ebp - 0x170], 0xdeadbeef
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
mov eax, dword [ebp - 0x17c]
call eax
sub esp, 0x14
mov dword [ebp - 0x198], eax
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0x98
xor eax, eax
mov dword [esp + 4], str.WriteProcessMemory_succeeded_n
mov edx, dword [ebp - 0x198]
test edx, edx
sete al
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0x99
call fcn.0055a4a0
mov edx, dword [edi + 0x34]
mov eax, 1
cmp edx, 0x3e6
je 0x56eaac
xor eax, eax
cmp edx, 0x12b
sete al
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], 0x5fe805
call fcn.0055ab70
mov eax, 0x9c
call fcn.0055a4a0
mov eax, dword [ebp - 0x170]
mov dword [esp + 4], str._Iu_bytes_written_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x16c], 0xdeadbeef
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x174]
mov dword [esp], eax
mov eax, dword [ebp - 0x180]
call eax
sub esp, 0x14
mov edi, eax
mov eax, 0x9f
call fcn.0055a4a0
xor eax, eax
test edi, edi
mov dword [esp + 4], str.ReadProcessMemory_succeeded_n
sete al
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0xa0
call fcn.0055a4a0
mov edx, 1
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x34]
cmp ecx, 0x3e6
je 0x56eb78
xor edx, edx
cmp ecx, 0x12b
sete dl
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x5fe805
mov dword [esp], edx
call fcn.0055ab70
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x3e6
je 0x570278
mov eax, 0xa6
call fcn.0055a4a0
mov eax, dword [ebp - 0x16c]
mov dword [esp + 4], str._Iu_bytes_read_n
cmp eax, 0x2000
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov dword [ebp - 0x170], 0xdeadbeef
lea eax, [ebp - 0x170]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
call dword [0x8e062c]
sub esp, 0x14
mov edi, eax
mov eax, 0xa9
call fcn.0055a4a0
xor eax, eax
cmp edi, 0x8000000d
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.wrong_status__lx_n
lea edi, [ebp - 0x16c]
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0xaa
call fcn.0055a4a0
mov eax, dword [ebp - 0x170]
mov dword [esp + 4], str._Iu_bytes_written_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov dword [ebp - 0x16c], 0xdeadbeef
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
call dword [0x8e0630]
sub esp, 0x14
mov dword [ebp - 0x198], eax
mov eax, 0xad
call fcn.0055a4a0
mov edx, dword [ebp - 0x198]
mov dword [esp + 4], str.wrong_status__lx_n
cmp edx, 0x8000000d
mov dword [esp + 8], edx
sete al
cmp edx, 0xc0000005
mov edi, eax
sete al
or eax, edi
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0xae
call fcn.0055a4a0
mov ecx, edi
mov eax, dword [ebp - 0x16c]
mov dword [esp + 4], str._Iu_bytes_read_n
movzx edi, cl
shl edi, 0xd
mov dword [esp + 8], eax
cmp edi, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
lea edx, [ebp - 0x154]
mov dword [esp + 8], 1
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0x2000
mov dword [esp], esi
mov edi, dword [ebp - 0x190]
call edi
sub esp, 0x10
mov dword [ebp - 0x198], eax
mov eax, 0xb1
call fcn.0055a4a0
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.VirtualProtect_failed_error__lu_n
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x198]
mov dword [esp], edx
call fcn.0055ab70
lea edx, [ebp - 0x170]
mov dword [ebp - 0x170], 0xdeadbeef
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
mov eax, dword [ebp - 0x17c]
call eax
sub esp, 0x14
mov dword [ebp - 0x198], eax
mov eax, 0xb4
call fcn.0055a4a0
mov dword [esp + 4], str.WriteProcessMemory_succeeded_n
xor eax, eax
mov edx, dword [ebp - 0x198]
test edx, edx
sete al
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0xb5
call fcn.0055a4a0
mov edx, dword [edi + 0x34]
mov eax, 1
cmp edx, 0x3e6
je 0x56ee00
xor eax, eax
cmp edx, 0x12b
sete al
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], 0x5fe805
call fcn.0055ab70
mov eax, 0xb8
call fcn.0055a4a0
mov eax, dword [ebp - 0x170]
mov dword [esp + 4], str._Iu_bytes_written_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x16c], 0xdeadbeef
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x174]
mov dword [esp], eax
mov eax, dword [ebp - 0x180]
call eax
sub esp, 0x14
mov edi, eax
mov eax, 0xbb
call fcn.0055a4a0
xor eax, eax
test edi, edi
mov dword [esp + 4], str.ReadProcessMemory_succeeded_n
sete al
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0xbc
call fcn.0055a4a0
mov edx, 1
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x34]
cmp ecx, 0x3e6
je 0x56eecc
xor edx, edx
cmp ecx, 0x12b
sete dl
mov dword [esp], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x5fe805
call fcn.0055ab70
mov eax, 0xbf
call fcn.0055a4a0
mov eax, dword [ebp - 0x16c]
mov dword [esp + 4], str._Iu_bytes_read_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
lea eax, [ebp - 0x170]
mov dword [ebp - 0x170], 0xdeadbeef
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
call dword [0x8e062c]
sub esp, 0x14
mov edi, eax
mov eax, 0xc2
call fcn.0055a4a0
xor eax, eax
cmp edi, 0x8000000d
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.wrong_status__lx_n
lea edi, [ebp - 0x16c]
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0xc3
call fcn.0055a4a0
mov eax, dword [ebp - 0x170]
mov dword [esp + 4], str._Iu_bytes_written_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov dword [ebp - 0x16c], 0xdeadbeef
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
call dword [0x8e0630]
sub esp, 0x14
mov edi, eax
mov eax, 0xc6
call fcn.0055a4a0
cmp edi, 0x8000000d
mov dword [esp + 8], edi
sete al
cmp edi, 0xc0000005
mov dword [esp + 4], str.wrong_status__lx_n
sete dl
or eax, edx
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0xc7
call fcn.0055a4a0
mov eax, dword [ebp - 0x16c]
mov dword [esp + 4], str._Iu_bytes_read_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
lea edx, [ebp - 0x154]
mov dword [esp + 8], 4
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0x8000
mov dword [esp], esi
mov edi, dword [ebp - 0x190]
call edi
sub esp, 0x10
mov edi, eax
mov eax, 0xc9
call fcn.0055a4a0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x190], edx
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.VirtualProtect_failed_error__lu_n
call fcn.0055ab70
lea edx, [ebp - 0x154]
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], edx
mov edx, dword [sym.imp.kernel32.dll_VirtualProtectEx]
mov dword [esp + 8], 0x8000
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
mov dword [ebp - 0x180], edx
call edx
sub esp, 0x14
mov edi, eax
mov eax, 0xce
call fcn.0055a4a0
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0x34]
mov dword [esp], edi
lea edi, [ebp - 0x170]
mov dword [esp + 4], str.VirtualProtectEx__error__lu_n
mov dword [esp + 8], eax
call fcn.0055ab70
mov dword [ebp - 0x170], 0xdeadbeef
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
mov eax, dword [ebp - 0x17c]
call eax
sub esp, 0x14
mov edi, eax
mov eax, 0xd1
call fcn.0055a4a0
xor eax, eax
test edi, edi
mov dword [esp + 4], str.WriteProcessMemory_succeeded_n
sete al
mov dword [esp], eax
call fcn.0055ab70
test edi, edi
je 0x5702a9
mov eax, 0xd3
call fcn.0055a4a0
mov eax, dword [ebp - 0x170]
mov dword [esp + 4], str._Iu_bytes_written_n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
lea eax, [ebp - 0x170]
mov dword [esp + 8], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x8000
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x174]
mov dword [esp], eax
call dword [0x8e062c]
mov edx, dword [0x8f0770]
sub esp, 0x14
mov edi, eax
mov dword [ebp - 0x190], edx
call fcn.0057d110
mov edx, dword [ebp - 0x190]
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
add ecx, ecx
test edx, edx
setne dl
movzx edx, dl
or ecx, edx
mov dword [eax + 0x10], ecx
jmp 0x56f252
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0xd6
mov eax, 1
cmp edi, 0x8000000d
je 0x56f236
mov eax, dword [0x8f0770]
test eax, eax
sete dl
xor eax, eax
cmp edi, 0xc0000005
sete al
and eax, edx
mov dword [esp], eax
mov dword [esp + 8], edi
mov dword [esp + 4], str.wrong_status__lx_n
call fcn.0055ab70
call fcn.0057d110
shr dword [eax + 0x10], 1
call fcn.0057d110
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x56f200
mov edi, dword [0x8f0770]
call fcn.0057d110
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
xor ecx, ecx
test edi, edi
setne cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x56f2cc
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0xd9
mov eax, dword [ebp - 0x170]
mov dword [esp + 4], str._Iu_bytes_written_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
call fcn.0057d110
shr dword [eax + 0x10], 1
call fcn.0057d110
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x56f290
lea eax, [ebp - 0x154]
mov dword [esp + 0xc], 0x20
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x8000
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
mov edx, dword [ebp - 0x180]
call edx
sub esp, 0x14
mov edi, eax
mov eax, 0xdc
call fcn.0055a4a0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp], edi
lea edi, [ebp - 0x170]
mov dword [esp + 4], str.VirtualProtectEx__error__lu_n
mov dword [esp + 8], eax
call fcn.0055ab70
mov dword [ebp - 0x170], 0xdeadbeef
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
mov edx, dword [ebp - 0x17c]
call edx
sub esp, 0x14
mov edi, eax
mov eax, 0xdf
call fcn.0055a4a0
mov dword [esp], edi
lea edi, [ebp - 0x170]
mov dword [esp + 4], str.WriteProcessMemory_failed_n
call fcn.0055ab70
mov eax, 0xe0
call fcn.0055a4a0
mov eax, dword [ebp - 0x170]
mov dword [esp + 4], str._Iu_bytes_written_n
cmp eax, 0x8000
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov dword [ebp - 0x170], 0xdeadbeef
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
call dword [0x8e062c]
mov edx, dword [0x8f0770]
sub esp, 0x14
mov edi, eax
mov dword [ebp - 0x190], edx
call fcn.0057d110
mov edx, dword [ebp - 0x190]
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
add ecx, ecx
test edx, edx
setne dl
movzx edx, dl
or ecx, edx
mov dword [eax + 0x10], ecx
jmp 0x56f492
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0xe4
mov eax, 1
cmp edi, 0x8000000d
je 0x56f476
mov eax, dword [0x8f0770]
test eax, eax
sete dl
xor eax, eax
cmp edi, 0xc0000005
sete al
and eax, edx
mov dword [esp], eax
mov dword [esp + 8], edi
mov dword [esp + 4], str.wrong_status__lx_n
call fcn.0055ab70
call fcn.0057d110
shr dword [eax + 0x10], 1
call fcn.0057d110
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x56f440
mov edi, dword [0x8f0770]
call fcn.0057d110
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
xor ecx, ecx
test edi, edi
setne cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x56f50c
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0xe7
mov eax, dword [ebp - 0x170]
mov dword [esp + 4], str._Iu_bytes_written_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
call fcn.0057d110
shr dword [eax + 0x10], 1
call fcn.0057d110
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x56f4d0
lea eax, [ebp - 0x154]
mov dword [esp + 0xc], 0x40
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x2000
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
mov edx, dword [ebp - 0x180]
call edx
sub esp, 0x14
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0xea
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp], edi
lea edi, [ebp - 0x170]
mov dword [esp + 4], str.VirtualProtectEx__error__lu_n
mov dword [esp + 8], eax
call fcn.0055ab70
mov dword [ebp - 0x170], 0xdeadbeef
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
mov eax, dword [ebp - 0x17c]
call eax
mov edx, dword [0x8f0770]
sub esp, 0x14
mov edi, eax
mov dword [ebp - 0x190], edx
call fcn.0057d110
mov edx, dword [ebp - 0x190]
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
add ecx, ecx
test edx, edx
setne dl
movzx edx, dl
or ecx, edx
mov dword [eax + 0x10], ecx
jmp 0x56f640
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0xee
mov eax, 1
test edi, edi
je 0x56f628
mov ecx, dword [0x8f0770]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp], eax
mov dword [esp + 4], str.WriteProcessMemory_succeeded_n
call fcn.0055ab70
call fcn.0057d110
shr dword [eax + 0x10], 1
call fcn.0057d110
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x56f600
mov dword [ebp - 0x170], 0xdeadbeef
lea eax, [ebp - 0x170]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x174]
mov dword [esp], eax
call dword [0x8e062c]
mov edx, dword [0x8f0770]
sub esp, 0x14
mov edi, eax
mov dword [ebp - 0x190], edx
call fcn.0057d110
mov edx, dword [ebp - 0x190]
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
add ecx, ecx
test edx, edx
setne dl
movzx edx, dl
or ecx, edx
mov dword [eax + 0x10], ecx
jmp 0x56f711
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0xf2
mov eax, 1
cmp edi, 0x8000000d
je 0x56f6f5
mov eax, edi
or eax, dword [0x8f0770]
sete al
movzx eax, al
mov dword [esp], eax
mov dword [esp + 8], edi
mov dword [esp + 4], str.wrong_status__lx_n
call fcn.0055ab70
call fcn.0057d110
shr dword [eax + 0x10], 1
call fcn.0057d110
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x56f6c8
mov eax, 0xf4
call fcn.0055a4a0
cmp edi, 1
mov eax, dword [ebp - 0x170]
mov dword [esp + 4], str._Iu_bytes_written_n
sbb edx, edx
and edx, 0x6000
mov dword [esp + 8], eax
add edx, 0x2000
cmp eax, edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
lea eax, [ebp - 0x154]
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x6000
mov eax, dword [ebp - 0x178]
add eax, 0x2000
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
mov edx, dword [ebp - 0x180]
call edx
sub esp, 0x14
mov edi, eax
mov eax, 0xf7
call fcn.0055a4a0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp], edi
lea edi, [ebp - 0x170]
mov dword [esp + 4], str.VirtualProtectEx__error__lu_n
mov dword [esp + 8], eax
call fcn.0055ab70
mov dword [ebp - 0x170], 0xdeadbeef
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
mov eax, dword [ebp - 0x17c]
call eax
mov edx, dword [0x8f0770]
sub esp, 0x14
mov edi, eax
mov dword [ebp - 0x17c], edx
call fcn.0057d110
mov edx, dword [ebp - 0x17c]
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
add ecx, ecx
test edx, edx
setne dl
movzx edx, dl
or ecx, edx
mov dword [eax + 0x10], ecx
jmp 0x56f880
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0xfb
mov eax, 1
test edi, edi
je 0x56f868
mov edx, dword [0x8f0770]
xor eax, eax
test edx, edx
sete al
mov dword [esp], eax
mov dword [esp + 4], str.WriteProcessMemory_succeeded_n
call fcn.0055ab70
call fcn.0057d110
shr dword [eax + 0x10], 1
call fcn.0057d110
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x56f840
lea eax, [ebp - 0x170]
mov dword [esp + 0xc], 0x8000
mov dword [esp + 0x10], eax
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x174]
mov dword [esp], eax
call dword [0x8e062c]
mov edx, dword [0x8f0770]
sub esp, 0x14
mov edi, eax
mov dword [ebp - 0x178], edx
call fcn.0057d110
mov edx, dword [ebp - 0x178]
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
add ecx, ecx
test edx, edx
setne dl
movzx edx, dl
or ecx, edx
mov dword [eax + 0x10], ecx
jmp 0x56f949
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0xfe
mov eax, 1
cmp edi, 0x8000000d
je 0x56f92d
mov eax, edi
or eax, dword [0x8f0770]
sete al
movzx eax, al
mov dword [esp], eax
mov dword [esp + 8], edi
mov dword [esp + 4], str.wrong_status__lx_n
call fcn.0055ab70
call fcn.0057d110
shr dword [eax + 0x10], 1
call fcn.0057d110
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x56f900
mov eax, 0x100
call fcn.0055a4a0
mov edx, 0x2000
test edi, edi
mov eax, dword [ebp - 0x170]
cmovne ebx, edx
mov dword [esp + 4], str._Iu_bytes_written_n
mov dword [esp + 8], eax
cmp eax, ebx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov ebx, dword [sym.imp.kernel32.dll_VirtualFree]
mov dword [esp], esi
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 0
call ebx
sub esp, 0xc
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x184]
mov esi, dword fs:[0x18]
mov dword [esp], eax
call ebx
mov dword [esi + 0x34], 0xdeadbeef
sub esp, 0xc
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0x2000
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov edi, dword [ebp - 0x174]
mov dword [esp], edi
mov eax, dword [ebp - 0x18c]
call eax
sub esp, 0x14
mov ebx, eax
mov eax, 0x10b
call fcn.0055a4a0
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.VirtualAllocEx_should_fail_on_zero_sized_allocation_n
sete al
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0x10c
call fcn.0055a4a0
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.got__lu__expected_ERROR_INVALID_PARAMETER_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.0055ab70
mov dword [esp], edi
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0x2000
mov dword [esp + 8], 0xfffc
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x18c]
call eax
sub esp, 0x14
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0x110
xor eax, eax
test ebx, ebx
setne al
mov dword [esp + 4], str.VirtualAllocEx_failed_n
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0x114
mov dword [ebp - 0x110], 0x71717171
mov dword [ebp - 0x10c], 0x71717171
mov dword [ebp - 0x108], 0x71717171
mov dword [ebp - 0x104], 0x71717171
mov dword [ebp - 0x100], 0x71717171
mov dword [ebp - 0xfc], 0x71717171
mov dword [ebp - 0xf8], 0x71717171
call fcn.0055a4a0
lea edx, [ebp - 0x110]
mov dword [esp], edi
mov dword [esp + 8], edx
mov edx, dword [sym.imp.kernel32.dll_VirtualQueryEx]
mov dword [esp + 4], ebx
mov dword [esp + 0xc], 0x1c
mov dword [ebp - 0x178], edx
call edx
sub esp, 0x10
cmp eax, 0x1c
sete al
mov dword [esp + 4], str.VirtualQueryEx_failed_n
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0x115
mov eax, dword [ebp - 0x110]
mov dword [esp + 0xc], ebx
cmp eax, ebx
mov dword [esp + 8], eax
sete al
mov dword [esp + 4], str._p____p_n
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0x116
call fcn.0055a4a0
mov eax, dword [ebp - 0x10c]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], str._p____p_n
cmp eax, ebx
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0x117
mov eax, dword [ebp - 0x108]
mov dword [esp + 4], str._lx___PAGE_NOACCESS_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0x118
mov eax, dword [ebp - 0x104]
mov dword [esp + 4], str._Ix___0x10000_n
cmp eax, 0x10000
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0x119
call fcn.0055a4a0
mov eax, dword [ebp - 0x100]
mov dword [esp + 4], str._lx___MEM_RESERVE_n
cmp eax, 0x2000
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0x11a
mov eax, dword [ebp - 0xfc]
mov dword [esp + 4], str._lx___PAGE_NOACCESS_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0x11b
mov eax, dword [ebp - 0xf8]
mov dword [esp + 4], str._lx___MEM_PRIVATE_n
cmp eax, 0x20000
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov dword [esi + 0x34], 0xdeadbeef
mov eax, 0x11e
call fcn.0055a4a0
lea edx, [ebp - 0x154]
mov dword [esp], edi
mov dword [esp + 0x10], edx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0xfffc
mov eax, dword [ebp - 0x180]
call eax
sub esp, 0x14
test eax, eax
sete al
mov dword [esp + 4], str.VirtualProtectEx_should_fail_on_a_not_committed_memory_n
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0x120
call fcn.0055a4a0
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.got__lu__expected_ERROR_INVALID_ADDRESS_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 0x1e7
sete al
mov dword [esp], eax
call fcn.0055ab70
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0x1000
mov dword [esp + 8], 0x1000
mov dword [ebp - 0x174], edi
mov dword [esp], edi
mov ecx, dword [ebp - 0x18c]
call ecx
sub esp, 0x14
mov edi, eax
mov eax, 0x124
call fcn.0055a4a0
xor eax, eax
cmp ebx, edi
mov dword [esp + 4], str.VirtualAllocEx_failed_n
sete al
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0x127
call fcn.0055a4a0
lea ecx, [ebp - 0x110]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x1c
mov edi, dword [ebp - 0x174]
mov dword [esp], edi
mov edx, dword [ebp - 0x178]
call edx
sub esp, 0x10
cmp eax, 0x1c
sete al
mov dword [esp + 4], str.VirtualQueryEx_failed_n
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0x129
mov eax, dword [ebp - 0x110]
mov dword [esp + 0xc], ebx
cmp eax, ebx
mov dword [esp + 8], eax
sete al
mov dword [esp + 4], str._p____p_n
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0x12a
call fcn.0055a4a0
mov eax, dword [ebp - 0x10c]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], str._p____p_n
cmp eax, ebx
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0x12b
call fcn.0055a4a0
mov eax, dword [ebp - 0x108]
mov dword [esp + 4], str._lx___PAGE_NOACCESS_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0x12c
call fcn.0055a4a0
mov eax, dword [ebp - 0x104]
mov dword [esp + 4], str._Ix___0x1000_n
cmp eax, 0x1000
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0x12d
call fcn.0055a4a0
mov eax, dword [ebp - 0x100]
mov dword [esp + 4], 0x5fdd42
cmp eax, 0x1000
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0x12f
call fcn.0055a4a0
mov eax, dword [ebp - 0xfc]
mov dword [esp + 4], str._lx___PAGE_NOACCESS_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0x130
mov eax, dword [ebp - 0xf8]
mov dword [esp + 4], str._lx___MEM_PRIVATE_n
cmp eax, 0x20000
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov dword [esi + 0x34], 0xdeadbeef
call fcn.0057d110
lea ecx, [ebp - 0x154]
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0x134
mov dword [esp + 0x10], ecx
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0xfffc
mov eax, dword [ebp - 0x180]
call eax
sub esp, 0x14
test eax, eax
sete al
mov dword [esp + 4], str.VirtualProtectEx_should_fail_on_a_not_committed_memory_n
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0x136
call fcn.0055a4a0
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.got__lu__expected_ERROR_INVALID_ADDRESS_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 0x1e7
sete al
mov dword [esp], eax
call fcn.0055ab70
mov dword [ebp - 0x154], 0
call fcn.0057d110
lea ecx, [ebp - 0x154]
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0x13a
mov dword [esp + 0x10], ecx
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0x1000
mov eax, dword [ebp - 0x180]
call eax
sub esp, 0x14
mov dword [esp], eax
mov dword [esp + 4], str.VirtualProtectEx_failed_n
call fcn.0055ab70
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0x13b
mov eax, dword [ebp - 0x154]
mov dword [esp + 4], str.wrong_old_protection:_got__04lx_instead_of_PAGE_NOACCESS_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0x13e
mov dword [ebp - 0x154], 0
call fcn.0055a4a0
lea ecx, [ebp - 0x154]
mov dword [esp], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x1000
mov eax, dword [ebp - 0x180]
call eax
sub esp, 0x14
mov dword [esp], eax
mov dword [esp + 4], str.VirtualProtectEx_failed_n
call fcn.0055ab70
mov eax, 0x13f
call fcn.0055a4a0
mov eax, dword [ebp - 0x154]
mov dword [esp + 4], str.wrong_old_protection:_got__04lx_instead_of_PAGE_READONLY_n
cmp eax, 2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0x141
call fcn.0055a4a0
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x10000
mov eax, dword [ebp - 0x188]
call eax
sub esp, 0x10
test eax, eax
sete al
mov dword [esp + 4], str.VirtualFreeEx_should_fail_with_type_0_n
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
mov eax, 0x143
call fcn.0055a4a0
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.got__lu__expected_ERROR_INVALID_PARAMETER_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.0055ab70
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0x146
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 0xc], 0x4000
mov dword [esp + 8], 0x10000
mov eax, dword [ebp - 0x188]
call eax
sub esp, 0x10
mov dword [esp], eax
mov dword [esp + 4], str.VirtualFreeEx_failed_n
call fcn.0055ab70
mov eax, 0x149
call fcn.0055a4a0
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], 1
mov eax, dword [ebp - 0x188]
call eax
sub esp, 0x10
test eax, eax
sete al
mov dword [esp + 4], str.VirtualFreeEx_should_fail_n
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0x14b
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.got__lu__expected_ERROR_INVALID_PARAMETER_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.0055ab70
call fcn.0057d110
mov dword [eax], 0x5fd7d7
mov dword [eax + 4], 0x14e
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x188]
call eax
sub esp, 0x10
mov dword [esp + 4], str.VirtualFreeEx_failed_n
mov dword [esp], eax
call fcn.0055ab70
mov dword [esp], edi
mov dword [esp + 4], 0
call dword [sym.imp.kernel32.dll_TerminateProcess]
sub esp, 8
mov dword [esp], edi
mov eax, dword [ebp - 0x194]
call eax
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [eax + 0x34], 0x57
jne 0x56e800
mov ecx, dword [0x8f0770]
xor eax, eax
test ecx, ecx
sete al
mov edi, eax
jmp 0x56e800
mov eax, 0xa4
call fcn.0055a4a0
mov eax, dword [ebp - 0x16c]
mov dword [esp + 4], str._Iu_bytes_read_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0055ab70
jmp 0x56ebce
mov eax, 0xd2
call fcn.0055a4a0
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0x34]
mov dword [esp + 4], 0x5fe805
mov dword [esp + 8], eax
xor eax, eax
cmp dword [edx + 0x34], 0x3e6
sete al
mov dword [esp], eax
call fcn.0055ab70
jmp 0x56f166
xor eax, eax
cmp ecx, 6
sete al
jmp 0x56e262