Function at 0x8402c3
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 4]
push eax
call fcn.0083bdc4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x18]
push 0x40
push 6
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x840334
push 0x27
push 0x4010e06
push 6
call fcn.0084269f
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x9dc
call fcn.00842ad0
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.008431c0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x840387
push ebx
call fcn.00842699
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp + 8]
push 2
mov ebx, 0x910
call fcn.00843c30
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x8403ca
push ebx
call fcn.00842699
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov eax, 0x847419
xor ecx, ecx
test eax, eax
je 0x8403dc
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x10]
xor ebx, ebx
test eax, eax
je 0x8403ed
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x840404
dec eax
test ecx, ecx
je 0x840404
call fcn.00840217
add esp, 0xc
test eax, eax
jne 0x840444
push dword [ebp - 0xc]
push 0x847422
mov ecx, 2
call fcn.0083d997
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x84043b
push ebx
call fcn.00842699
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
jmp 0x8407e9
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp + 8]
push 2
mov ebx, 0x910
call fcn.00843c30
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x840483
push ebx
call fcn.00842699
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov eax, 0x84742b
xor ecx, ecx
test eax, eax
je 0x840495
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x10]
xor ebx, ebx
test eax, eax
je 0x8404a6
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x8404bd
dec eax
test ecx, ecx
je 0x8404bd
call fcn.00840217
add esp, 0xc
test eax, eax
jne 0x840502
push 0x8473fe
push dword [ebp - 0xc]
push 0x847435
mov ecx, 3
call fcn.0083d997
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x8404f9
push ebx
call fcn.00842699
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
jmp 0x8407e9
mov eax, 0x84743e
xor ecx, ecx
test eax, eax
je 0x840510
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x10]
xor ebx, ebx
test eax, eax
je 0x840521
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x840538
dec eax
test ecx, ecx
je 0x840538
call fcn.00840217
add esp, 0xc
test eax, eax
jne 0x84057d
push 0x8473fe
push dword [ebp - 0xc]
push 0x847448
mov ecx, 3
call fcn.0083d997
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x840574
push ebx
call fcn.00842699
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
jmp 0x8407e9
mov eax, 0x847451
xor ecx, ecx
test eax, eax
je 0x84058b
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x10]
xor ebx, ebx
test eax, eax
je 0x84059c
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x8405b3
dec eax
test ecx, ecx
je 0x8405b3
call fcn.00840217
add esp, 0xc
test eax, eax
jne 0x8405f8
push 0x8473fe
push dword [ebp - 0xc]
push 0x84745b
mov ecx, 3
call fcn.0083d997
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x8405ef
push ebx
call fcn.00842699
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
jmp 0x8407e9
mov eax, 0x847464
xor ecx, ecx
test eax, eax
je 0x840606
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x10]
xor ebx, ebx
test eax, eax
je 0x840617
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x84062e
dec eax
test ecx, ecx
je 0x84062e
call fcn.00840217
add esp, 0xc
test eax, eax
jne 0x840673
push 0x8473fe
push dword [ebp - 0xc]
push 0x84746e
mov ecx, 3
call fcn.0083d997
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x84066a
push ebx
call fcn.00842699
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
jmp 0x8407e9
mov eax, 0x847477
xor ecx, ecx
test eax, eax
je 0x840681
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x10]
xor ebx, ebx
test eax, eax
je 0x840692
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x8406a9
dec eax
test ecx, ecx
je 0x8406a9
call fcn.00840217
add esp, 0xc
test eax, eax
jne 0x8406ee
push 0x8473fe
push dword [ebp - 0xc]
push 0x847481
mov ecx, 3
call fcn.0083d997
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x8406e5
push ebx
call fcn.00842699
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
jmp 0x8407e9
mov eax, 0x84748a
xor ecx, ecx
test eax, eax
je 0x8406fc
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x10]
xor ebx, ebx
test eax, eax
je 0x84070d
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x840724
dec eax
test ecx, ecx
je 0x840724
call fcn.00840217
add esp, 0xc
test eax, eax
jne 0x840769
push 0x8473fe
push dword [ebp - 0xc]
push 0x847494
mov ecx, 3
call fcn.0083d997
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x840760
push ebx
call fcn.00842699
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
jmp 0x8407e9
mov eax, 0x84749d
xor ecx, ecx
test eax, eax
je 0x840777
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x10]
xor ebx, ebx
test eax, eax
je 0x840788
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x84079f
dec eax
test ecx, ecx
je 0x84079f
call fcn.00840217
add esp, 0xc
test eax, eax
jne 0x8407e4
push 0x8473fe
push dword [ebp - 0xc]
push 0x8474a7
mov ecx, 3
call fcn.0083d997
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x8407db
push ebx
call fcn.00842699
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
jmp 0x8407e9
jmp 0x840825
push 0x80000301
push 0
push 6
push 0x80000301
push 0
push dword [ebp + 8]
push 0x80000005
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x840812
mov eax, 0x84725a
push eax
push 3
mov ebx, 0x914
call fcn.008439e0
add esp, 0x28
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x840835
push ebx
call fcn.00842699
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x840845
push ebx
call fcn.00842699
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x840855
push ebx
call fcn.00842699
add esp, 4
mov esp, ebp
pop ebp
ret 8