Function at 0x83f5b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
call fcn.0083bdc4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
push 0x40
push 4
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x83f613
push 0x3c
push 0x401070d
push 6
call fcn.0084269f
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp + 0x10], 0
jne 0x83f6dd
push 0x80000301
push 0
push dword [ebp + 0xc]
push 1
mov ebx, 0x9dc
call fcn.00842ad0
add esp, 0x10
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push 0x15745
push 0x80000301
push 0
push 0x1700f23
push 0x80000301
push 0
push 0x414a3fc
push 0x80000301
push 0
push 0x33b8131
push 0x80000301
push 0
push 0x8ab44
push 0x80000301
push 0
push 0xd336b
push 0x80000301
push 0
push 0x860907
push 0x80000301
push 0
push str.h_ii
push 0x80000301
push 0
push 0x9d80c
push 0x80000301
push 0
push dword [ebp - 0x10]
push 0xa
mov ebx, 0xcc
call fcn.00843980
add esp, 0x7c
mov dword [ebp - 0x14], eax
push 0x5201314
push dword [ebp - 0x14]
call fcn.0083f9b7
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
call fcn.0083807f
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x83f99b
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
call fcn.0083805f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x83f727
push 0x3c9
push 0x401070d
push 4
call fcn.0084269f
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x83f744
push 0x3c9
push 0x401070d
push 1
call fcn.0084269f
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
cmp dword [ebp + 8], eax
jne 0x83f993
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
call fcn.0083805f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x83f788
push 0x412
push 0x401070d
push 4
call fcn.0084269f
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x83f7a5
push 0x412
push 0x401070d
push 1
call fcn.0084269f
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 1
jne 0x83f81b
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
call fcn.0083805f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x83f7e7
push 0x446
push 0x401070d
push 4
call fcn.0084269f
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x83f804
push 0x446
push 0x401070d
push 1
call fcn.0084269f
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x10], ebx
push dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.0083ffa5
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
call fcn.0083805f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x83f844
push 0x48f
push 0x401070d
push 4
call fcn.0084269f
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x83f861
push 0x48f
push 0x401070d
push 1
call fcn.0084269f
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 2
jne 0x83f8d7
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
call fcn.0083805f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x83f8a3
push 0x4c3
push 0x401070d
push 4
call fcn.0084269f
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x83f8c0
push 0x4c3
push 0x401070d
push 1
call fcn.0084269f
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x10], ebx
push dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.008400de
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
call fcn.0083805f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x83f900
push 0x50c
push 0x401070d
push 4
call fcn.0084269f
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x83f91d
push 0x50c
push 0x401070d
push 1
call fcn.0084269f
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 3
jne 0x83f993
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
call fcn.0083805f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x83f95f
push 0x540
push 0x401070d
push 4
call fcn.0084269f
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x83f97c
push 0x540
push 0x401070d
push 1
call fcn.0084269f
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x10], ebx
push dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.008402c3
pop eax
pop ebx
pop ecx
jmp 0x83f6f0
add esp, 0xc
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0083d2c4
mov eax, dword [ebp - 8]
jmp 0x83f9b1
mov esp, ebp
pop ebp
ret 0x10