Function at 0x435094
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x58]
mov edx, dword [0x4291ac]
call fcn.00425d58
xor eax, eax
push ebp
push 0x435435
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x454f70], 0
jne 0x435404
call sub.KERNEL32.dll_GetVersion
test eax, 0x80000000
je 0x435138
push 0
mov dl, 1
mov eax, dword [0x454c7c]
call fcn.0042b9a0
call fcn.00430290
push eax
push 0x434eac
push 0x454f60
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00435a3c
push 0
mov dl, 1
mov eax, dword [0x454c80]
call fcn.0042b9a0
call fcn.00430290
push eax
push 0x434f14
push 0x454f64
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00435a3c
jmp 0x4353fd
cmp byte [0x454f74], 0
jne 0x4353a8
mov byte [0x454f74], 1
lea edx, [ebp - 0xc]
mov eax, dword [0x454d90]
call fcn.00427e90
lea eax, [ebp - 0x60]
push eax
call sub.KERNEL32.dll_GetCurrentProcessId
mov cl, 0x30
mov edx, 1
call fcn.00427b38
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 0xc]
call fcn.004257e4
mov eax, dword [ebp - 0x5c]
call fcn.00425998
push eax
push 0xc
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.KERNEL32.dll_CreateFileMappingA
mov esi, eax
test esi, esi
je 0x4353a8
call sub.KERNEL32.dll_GetLastError
cmp eax, 0xb7
setne byte [ebp - 1]
push 0
push 0
push 0
push 0xf001f
push esi
call sub.KERNEL32.dll_MapViewOfFile
mov edi, eax
test edi, edi
je 0x43539e
mov ebx, 0x32
cmp byte [ebp - 1], 0
jne 0x4351f8
mov eax, dword [edi]
mov edx, dword [edi + 4]
push edx
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [esp + 4]
jne 0x4351ea
cmp eax, dword [esp]
pop edx
pop eax
je 0x4351f8
push 0x32
call sub.KERNEL32.dll_Sleep
dec ebx
jne 0x4351cc
cmp byte [ebp - 1], 0
jne 0x435213
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov ecx, dword [ebp - 0xc]
cmp edx, dword [ecx + 4]
jne 0x43520d
cmp eax, dword [ecx]
je 0x435390
push 0x40
push 0x1000
push 0xa
push 0
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x454c04]
call fcn.0042ba88
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x454c84]
call fcn.0042b9a0
lea edx, [ebp - 0x58]
call fcn.0042b8ec
mov eax, dword [ebp - 0x38]
call fcn.00426290
test eax, eax
jl 0x435360
inc eax
xor ebx, ebx
mov edx, ebx
shl edx, 3
sub edx, ebx
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + edx*4 + 0xc]
cmp edx, dword [ebp - 0x14]
jne 0x435358
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x38]
cmp dword [edx + eax*4 + 0x14], 0
je 0x435360
mov eax, dword [ebp - 8]
mov dword [edi + 8], eax
mov eax, dword [ebp - 8]
mov byte [eax], 0xff
mov eax, dword [ebp - 8]
mov byte [eax + 1], 0x25
mov eax, dword [ebp - 8]
add eax, 6
mov edx, dword [ebp - 8]
mov dword [edx + 2], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov dword [eax + 6], edx
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + eax*4 + 0x14]
call fcn.0042cb8c
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
je 0x4352e8
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + eax*4 + 0x14]
mov edx, 4
call fcn.0042cc6c
test al, al
je 0x435360
mov esi, ebx
shl esi, 3
sub esi, ebx
mov eax, dword [ebp - 0x38]
cmp byte [eax + esi*4 + 0x10], 0
je 0x43530b
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 8]
sub edx, dword [eax + esi*4 + 4]
sub edx, 5
mov dword [ebp - 0x10], edx
jmp 0x435311
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + esi*4 + 0x14]
lea eax, [ebp - 0x10]
mov ecx, 4
call fcn.0042f5b8
test al, al
jne 0x435335
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + esi*4 + 0x14]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
cmp byte [ebp - 0x15], 0
je 0x43534c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + esi*4 + 0x14]
mov edx, 4
call fcn.0042ccfc
mov eax, dword [ebp - 8]
mov dword [0x454f78], eax
xor esi, esi
jmp 0x435360
inc ebx
dec eax
jne 0x43525c
cmp dword [0x454f78], 0
jne 0x435381
push edi
call sub.KERNEL32.dll_UnmapViewOfFile
push 0x8000
push 0
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_VirtualFree
jmp 0x43539e
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov dword [edi], edx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
jmp 0x43539e
mov eax, dword [edi + 8]
mov dword [0x454f78], eax
push edi
call sub.KERNEL32.dll_UnmapViewOfFile
test esi, esi
je 0x4353a8
push esi
call sub.KERNEL32.dll_CloseHandle
cmp dword [0x454f78], 0
je 0x4353d2
push 0
mov eax, dword [0x454f78]
push eax
push 0x43500c
push 0x454f6c
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00435a3c
jmp 0x4353fd
push 0
mov dl, 1
mov eax, dword [0x454c84]
call fcn.0042b9a0
call fcn.00430290
push eax
push 0x434f90
push 0x454f68
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00435a3c
mov byte [0x454f70], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43543c
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.0042552c
lea eax, [ebp - 0x58]
mov edx, dword [0x4291ac]
call fcn.00425e1c
lea eax, [ebp - 0xc]
call fcn.00425508
ret