Function at 0x443819
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push esi
push edi
mov eax, dword [0x44c968]
mov dword [ebp - 0x3ec], eax
mov dword [ebp - 0x3e8], 0
push 0x441394
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [0x44c6b4], eax
call fcn.00443ee9
sub eax, 6
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x3e4]
push edx
lea eax, [ebp - 0x2e0]
push eax
push 0
call fcn.00443293
add esp, 0x10
test eax, eax
je 0x443ecd
mov ecx, dword [0x44c6b4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x2e0]
and edx, 0xff
test edx, edx
je 0x4438b1
lea ecx, [ebp - 0x438]
call fcn.00442770
lea ecx, [ebp - 0x438]
call fcn.0044278f
push 0x2c8
lea eax, [ebp - 0x2e0]
push eax
push 0x44c3e0
call fcn.00446c30
add esp, 0xc
mov byte [ebp - 0x418], 4
mov byte [ebp - 0x417], 8
mov byte [ebp - 0x416], 0
mov byte [ebp - 0x415], 0
mov byte [ebp - 0x414], 0xc8
mov byte [ebp - 0x413], 0
mov byte [ebp - 0x412], 0
mov byte [ebp - 0x411], 0
mov byte [ebp - 0x410], 0x18
mov byte [ebp - 0x40f], 0x61
mov byte [ebp - 0x40e], 0xe
mov byte [ebp - 0x40d], 0
mov byte [ebp - 0x40c], 0x22
mov byte [ebp - 0x40b], 0
mov byte [ebp - 0x40a], 0
mov byte [ebp - 0x409], 0
mov byte [ebp - 0x408], 0x90
mov byte [ebp - 0x407], 0x66
mov byte [ebp - 0x406], 0xe
mov byte [ebp - 0x405], 0
mov byte [ebp - 0x404], 0xe8
mov byte [ebp - 0x403], 2
mov byte [ebp - 0x402], 0
mov byte [ebp - 0x401], 0
mov byte [ebp - 0x400], 0
mov byte [ebp - 0x3ff], 0
mov byte [ebp - 0x3fe], 0
mov byte [ebp - 0x3fd], 0
mov byte [ebp - 0x3fc], 0
mov byte [ebp - 0x3fb], 0
mov byte [ebp - 0x3fa], 0
mov byte [ebp - 0x3f9], 0
push 0x2c8
lea ecx, [ebp - 0x418]
push ecx
push 0x64
push 0x44c3e0
call fcn.004465cd
add esp, 0x10
mov edx, dword [ebp - 0x2d4]
and edx, 0xff
test edx, edx
je 0x4439ff
mov eax, dword [ebp - 0x2de]
and eax, 0xff
cmp eax, 2
je 0x4439ff
sub esp, 0x2c8
mov ecx, 0xb2
mov esi, 0x44c3e0
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [0x44c8f8]
push 0x44c3e0
call dword [0x44c8c8]
mov ecx, dword [ebp - 4]
sub ecx, 0x2c8
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x2d8]
and edx, 0xff
test edx, edx
je 0x443a76
mov eax, dword [0x44cc8c]
push eax
call fcn.0044bd90
add esp, 4
mov dword [ebp - 0x43c], eax
push 4
push 0x1000
mov ecx, dword [ebp - 0x43c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x43c]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [0x44cc8c]
push edx
call fcn.0044bd10
add esp, 0x10
mov dword [ebp - 4], eax
jmp 0x443aa3
push 4
push 0x1000
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [0x44cc8c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00446c30
add esp, 0xc
cmp dword [0x44c3c0], 0
je 0x443ac0
push 0x8000
push 0
mov ecx, dword [0x44cc8c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
lea edx, [ebp - 0x3e4]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x3e8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00443f89
add esp, 0x18
test eax, eax
jne 0x443b02
push 0x8000
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x443ee3
push 0x8000
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x430], eax
call fcn.004437f4
mov dword [0x44c6b0], eax
mov dword [ebp - 0x3f0], 0x44cc8c
mov dword [ebp - 0x420], 0x44c6b0
lea ecx, [ebp - 0x10]
push ecx
push 0x40
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x3ec]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x443b5f
xor eax, eax
jmp 0x443ee3
push 0x40
push 0x1000
push 0x64
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x44c3d8], eax
mov dword [ebp - 0x42c], 0
mov ecx, dword [0x44c3d8]
add ecx, dword [ebp - 0x42c]
mov byte [ecx], 0x6a
mov edx, dword [ebp - 0x42c]
add edx, 1
mov dword [ebp - 0x42c], edx
mov eax, dword [0x44c3d8]
add eax, dword [ebp - 0x42c]
mov byte [eax], 0
mov ecx, dword [ebp - 0x42c]
add ecx, 1
mov dword [ebp - 0x42c], ecx
mov edx, dword [0x44c3d8]
add edx, dword [ebp - 0x42c]
mov byte [edx], 0x68
mov eax, dword [ebp - 0x42c]
add eax, 1
mov dword [ebp - 0x42c], eax
push 4
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [0x44c3d8]
add edx, dword [ebp - 0x42c]
push edx
call fcn.00446c30
add esp, 0xc
mov eax, dword [ebp - 0x42c]
add eax, 4
mov dword [ebp - 0x42c], eax
mov ecx, dword [0x44c3d8]
add ecx, dword [ebp - 0x42c]
mov byte [ecx], 0x68
mov edx, dword [ebp - 0x42c]
add edx, 1
mov dword [ebp - 0x42c], edx
push 4
push 0x44c6bc
mov eax, dword [0x44c3d8]
add eax, dword [ebp - 0x42c]
push eax
call fcn.00446c30
add esp, 0xc
mov ecx, dword [ebp - 0x42c]
add ecx, 4
mov dword [ebp - 0x42c], ecx
mov edx, dword [0x44c3d8]
add edx, dword [ebp - 0x42c]
mov byte [edx], 0x68
mov eax, dword [ebp - 0x42c]
add eax, 1
mov dword [ebp - 0x42c], eax
push 4
lea ecx, [ebp - 0x3ec]
push ecx
mov edx, dword [0x44c3d8]
add edx, dword [ebp - 0x42c]
push edx
call fcn.00446c30
add esp, 0xc
mov eax, dword [ebp - 0x42c]
add eax, 4
mov dword [ebp - 0x42c], eax
mov ecx, dword [0x44c3d8]
add ecx, dword [ebp - 0x42c]
mov byte [ecx], 0x68
mov edx, dword [ebp - 0x42c]
add edx, 1
mov dword [ebp - 0x42c], edx
push 4
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [0x44c3d8]
add ecx, dword [ebp - 0x42c]
push ecx
call fcn.00446c30
add esp, 0xc
mov edx, dword [ebp - 0x42c]
add edx, 4
mov dword [ebp - 0x42c], edx
mov eax, dword [0x44c3d8]
add eax, dword [ebp - 0x42c]
mov byte [eax], 0xff
mov ecx, dword [ebp - 0x42c]
add ecx, 1
mov dword [ebp - 0x42c], ecx
mov edx, dword [0x44c3d8]
add edx, dword [ebp - 0x42c]
mov byte [edx], 0x15
mov eax, dword [ebp - 0x42c]
add eax, 1
mov dword [ebp - 0x42c], eax
push 4
lea ecx, [ebp - 0x420]
push ecx
mov edx, dword [0x44c3d8]
add edx, dword [ebp - 0x42c]
push edx
call fcn.00446c30
add esp, 0xc
mov eax, dword [ebp - 0x42c]
add eax, 4
mov dword [ebp - 0x42c], eax
mov ecx, dword [0x44c3d8]
add ecx, dword [ebp - 0x42c]
mov byte [ecx], 0x8b
mov edx, dword [ebp - 0x42c]
add edx, 1
mov dword [ebp - 0x42c], edx
mov eax, dword [0x44c3d8]
add eax, dword [ebp - 0x42c]
mov byte [eax], 0xe5
mov ecx, dword [ebp - 0x42c]
add ecx, 1
mov dword [ebp - 0x42c], ecx
mov edx, dword [0x44c3d8]
add edx, dword [ebp - 0x42c]
mov byte [edx], 0x5d
mov eax, dword [ebp - 0x42c]
add eax, 1
mov dword [ebp - 0x42c], eax
mov ecx, dword [0x44c3d8]
add ecx, dword [ebp - 0x42c]
mov byte [ecx], 0x8b
mov edx, dword [ebp - 0x42c]
add edx, 1
mov dword [ebp - 0x42c], edx
mov eax, dword [0x44c3d8]
add eax, dword [ebp - 0x42c]
mov byte [eax], 0xe5
mov ecx, dword [ebp - 0x42c]
add ecx, 1
mov dword [ebp - 0x42c], ecx
mov edx, dword [0x44c3d8]
add edx, dword [ebp - 0x42c]
mov byte [edx], 0x5d
mov eax, dword [ebp - 0x42c]
add eax, 1
mov dword [ebp - 0x42c], eax
mov ecx, dword [0x44c3d8]
add ecx, dword [ebp - 0x42c]
mov byte [ecx], 0xe9
mov edx, dword [ebp - 0x42c]
add edx, 1
mov dword [ebp - 0x42c], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3f8], eax
mov ecx, dword [0x44c3d8]
sub ecx, dword [ebp - 0x3f8]
sub ecx, 5
mov dword [0x44c6ac], ecx
mov edx, dword [ebp - 0x3f8]
mov dword [ebp - 0x434], edx
mov eax, dword [ebp - 0x2dc]
add eax, dword [0x44c968]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [0x44c3d8]
mov edx, dword [ebp - 0x42c]
add edx, 4
sub ecx, edx
mov dword [ebp - 0x3f4], ecx
push 4
lea eax, [ebp - 0x3f4]
push eax
mov ecx, dword [0x44c3d8]
add ecx, dword [ebp - 0x42c]
push ecx
call fcn.00446c30
add esp, 0xc
mov byte [ebp - 0x428], 0xe9
push 4
push 0x44c6ac
lea edx, [ebp - 0x427]
push edx
call fcn.00446c30
add esp, 0xc
push 0
push 5
lea eax, [ebp - 0x428]
push eax
mov ecx, dword [ebp - 0x434]
push ecx
mov edx, dword [ebp - 0x430]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x41c], eax
jmp 0x443ee1
push 0x10
push 0x4413a4
push 0x4413ac
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret