Function at 0x10005e2c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0xa0000101
push 0
push 0x100355ef
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 4], eax
push 0xa0000101
push 0
push 0x10035605
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 8], eax
push dword [0x10037632]
push dword [ebp - 8]
mov ecx, 2
call fcn.10001271
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10005ea0
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10003123
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10005ec0
push ebx
call fcn.10012848
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10005ed0
push ebx
call fcn.10012848
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
push dword [0x1003764a]
call fcn.10001728
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10005f00
push ebx
call fcn.10012848
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x1000661c
push 0xa0000101
push 0
push 0x10035610
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 4], eax
push 0xa0000101
push 0
push 0x1003562c
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 8], eax
push dword [0x10037632]
push dword [ebp - 8]
mov ecx, 2
call fcn.10001271
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10005f75
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10003123
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10005f95
push ebx
call fcn.10012848
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10005fa5
push ebx
call fcn.10012848
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x1003766e]
test ebx, ebx
je 0x10005fbc
push ebx
call fcn.10012848
add esp, 4
pop eax
mov dword [0x1003766e], eax
mov dword [0x10037672], 0x4dfbf3
push 0xa0000101
push 0
push 0x10035637
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 4], eax
push 0xa0000101
push 0
push 0x10035653
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 8], eax
push dword [0x10037632]
push dword [ebp - 8]
mov ecx, 2
call fcn.10001271
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10006037
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10003123
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10006057
push ebx
call fcn.10012848
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10006067
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0x10]
push eax
call fcn.10006b51
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10006080
push ebx
call fcn.10012848
add esp, 4
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x14
call fcn.10006ee3
push 0xa0000101
push 0
push 0x1003565e
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 4], eax
push 0xa0000101
push 0
push 0x10035684
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 8], eax
push dword [0x10037632]
push dword [ebp - 8]
mov ecx, 2
call fcn.10001271
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10006101
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10003123
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10006121
push ebx
call fcn.10012848
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10006131
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0x10]
push eax
call fcn.10006b51
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1000614a
push ebx
call fcn.10012848
add esp, 4
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x14
call fcn.10006ee3
push 0xa0000101
push 0
push 0x1003568f
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 4], eax
push 0xa0000101
push 0
push 0x100356bf
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 8], eax
push dword [0x10037632]
push dword [ebp - 8]
mov ecx, 2
call fcn.10001271
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100061cb
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10003123
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100061eb
push ebx
call fcn.10012848
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100061fb
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0x10]
push eax
call fcn.10006b51
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10006214
push ebx
call fcn.10012848
add esp, 4
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x14
call fcn.10006ee3
push 0xa0000101
push 0
push 0x100356ca
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 4], eax
push 0xa0000101
push 0
push 0x100356fa
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 8], eax
push dword [0x10037632]
push dword [ebp - 8]
mov ecx, 2
call fcn.10001271
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10006295
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10003123
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100062b5
push ebx
call fcn.10012848
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100062c5
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0x10]
push eax
call fcn.10006b51
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100062de
push ebx
call fcn.10012848
add esp, 4
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x14
call fcn.10006ee3
push 0xa0000101
push 0
push 0x10035705
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 4], eax
push 0xa0000101
push 0
push 0x1003576b
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 8], eax
push dword [0x10037632]
push dword [ebp - 8]
mov ecx, 2
call fcn.10001271
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000635f
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10003123
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000637f
push ebx
call fcn.10012848
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1000638f
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0x10]
push eax
call fcn.10006b51
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100063a8
push ebx
call fcn.10012848
add esp, 4
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x14
call fcn.10006ee3
push 0xa0000101
push 0
push 0x10035776
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 4], eax
push 0xa0000101
push 0
push 0x100357aa
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 8], eax
push dword [0x10037632]
push dword [ebp - 8]
mov ecx, 2
call fcn.10001271
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10006429
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10003123
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10006449
push ebx
call fcn.10012848
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10006459
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0x10]
push eax
call fcn.10006b51
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10006472
push ebx
call fcn.10012848
add esp, 4
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x14
call fcn.10006ee3
push 0xa0000101
push 0
push 0x100357b5
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 4], eax
push 0xa0000101
push 0
push 0x100357e9
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 8], eax
push dword [0x10037632]
push dword [ebp - 8]
mov ecx, 2
call fcn.10001271
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100064f3
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10003123
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10006513
push ebx
call fcn.10012848
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10006523
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0x10]
push eax
call fcn.10006b51
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1000653c
push ebx
call fcn.10012848
add esp, 4
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x14
call fcn.10006ee3
push 0xa0000101
push 0
push 0x100357f4
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 4], eax
push 0xa0000101
push 0
push 0x10035818
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 8], eax
push dword [0x10037632]
push dword [ebp - 8]
mov ecx, 2
call fcn.10001271
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100065bd
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10003123
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100065dd
push ebx
call fcn.10012848
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100065ed
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0x10]
push eax
call fcn.10006b51
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10006606
push ebx
call fcn.10012848
add esp, 4
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x14
call fcn.10006ee3
push 0xa0000101
push 0
push 0x10035823
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 4], eax
push 0xa0000101
push 0
push 0x10035837
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 8], eax
push dword [0x10037632]
push dword [ebp - 8]
mov ecx, 2
call fcn.10001271
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10006687
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10003123
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100066a7
push ebx
call fcn.10012848
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100066b7
push ebx
call fcn.10012848
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x10037676]
test ebx, ebx
je 0x100066ce
push ebx
call fcn.10012848
add esp, 4
pop eax
mov dword [0x10037676], eax
push 0xa0000101
push 0
push 0x10035842
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 4], eax
push 0xa0000101
push 0
push 0x10035856
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 8], eax
push dword [0x10037632]
push dword [ebp - 8]
mov ecx, 2
call fcn.10001271
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000673f
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10003123
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000675f
push ebx
call fcn.10012848
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1000676f
push ebx
call fcn.10012848
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
push dword [0x10037676]
call fcn.10001728
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1000679f
push ebx
call fcn.10012848
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x100068cd
mov dword [0x1003765e], 0x2625c0
push 0xa0000101
push 0
push 0x10035861
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 4], eax
push 0xa0000101
push 0
push 0x1003587b
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 8], eax
push dword [0x10037632]
push dword [ebp - 8]
mov ecx, 2
call fcn.10001271
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000681e
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10003123
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000683e
push ebx
call fcn.10012848
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1000684e
push ebx
call fcn.10012848
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x1003767a]
test ebx, ebx
je 0x10006865
push ebx
call fcn.10012848
add esp, 4
pop eax
mov dword [0x1003767a], eax
mov dword [ebp - 4], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x1000688a
push 6
call fcn.1001283c
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push 0x1000
push 0x64
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100068c3
push 6
call fcn.1001283c
add esp, 4
mov dword [0x1003767e], eax
jmp 0x10006b4d
push 0xa0000101
push 0
push 0x10035886
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 4], eax
push 0xa0000101
push 0
push 0x1003589a
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 8], eax
push dword [0x10037632]
push dword [ebp - 8]
mov ecx, 2
call fcn.10001271
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10006938
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10003123
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10006958
push ebx
call fcn.10012848
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10006968
push ebx
call fcn.10012848
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
push dword [0x10037676]
call fcn.10001728
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10006998
push ebx
call fcn.10012848
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x10006a69
mov dword [0x1003765e], 0xe24
push 0xa0000101
push 0
push 0x100358a5
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 4], eax
push 0xa0000101
push 0
push 0x100358bf
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 8], eax
push dword [0x10037632]
push dword [ebp - 8]
mov ecx, 2
call fcn.10001271
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10006a17
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10003123
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10006a37
push ebx
call fcn.10012848
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10006a47
push ebx
call fcn.10012848
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x1003767a]
test ebx, ebx
je 0x10006a5e
push ebx
call fcn.10012848
add esp, 4
pop eax
mov dword [0x1003767a], eax
jmp 0x10006b4d
push 0xa0000101
push 0
push 0x100358ca
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 4], eax
push 0xa0000101
push 0
push 0x100358de
push 1
mov ebx, 0x168
call fcn.10012ca0
add esp, 0x10
mov dword [ebp - 8], eax
push dword [0x10037632]
push dword [ebp - 8]
mov ecx, 2
call fcn.10001271
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10006ad4
push ebx
call fcn.10012848
add esp, 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10003123
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10006af4
push ebx
call fcn.10012848
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10006b04
push ebx
call fcn.10012848
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
push dword [0x10037676]
call fcn.10001728
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10006b34
push ebx
call fcn.10012848
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x10006b4d
mov dword [0x1003765e], 0x98b059
jmp 0x10006b4d
mov esp, ebp
pop ebp
ret