Function at 0x10064540
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1013e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101eaed8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp eax, 3
jne 0x1006458c
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4030d4
call esi
lea eax, [ebp - 8]
mov byte [0x4030d4], 6
push eax
push dword [ebp - 8]
push 1
push 0x4030d4
call esi
mov eax, dword [0x101eaed8]
cmp eax, 2
jne 0x100645bc
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4030d4
call esi
lea eax, [ebp - 8]
mov byte [0x4030d4], 5
push eax
push dword [ebp - 8]
push 1
push 0x4030d4
call esi
mov eax, dword [0x101eaed8]
cmp eax, 1
jne 0x100645e7
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4030d4
call esi
lea eax, [ebp - 8]
mov byte [0x4030d4], 4
push eax
push dword [ebp - 8]
push 1
push 0x4030d4
call esi
cmp dword [0x101eaee8], 1
jne 0x10064616
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x5528a0
call esi
lea eax, [ebp - 8]
mov byte [0x5528a0], 0xc3
push eax
push dword [ebp - 8]
push 1
push 0x5528a0
call esi
cmp dword [0x101eaee0], 1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x100646c2
lea eax, [ebp - 8]
push eax
push 0x40
push 0xc8
push 0x8193f0
call esi
push 0xc8
push 0x90
push 0x8193f0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0xc8
push 0x8193f0
call esi
lea eax, [ebp - 8]
mov byte [ebp - 0x11], 0xff
push eax
push 0x40
push 1
push 0x7d3a4b
mov dword [ebp - 8], 0
call esi
test eax, eax
je 0x100646a9
mov cl, byte [ebp - 0x11]
mov eax, 0x7d3a4b
mov byte [eax], cl
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 1
push 0x7d3a4b
call esi
test eax, eax
jne 0x100646ab
call edi
push 0x10064450
push 0x77ece2
push 0xe9
call fcn.100c88d0
add esp, 0xc
cmp dword [0x102b78bc], 0
je 0x10064707
lea eax, [ebp - 8]
push eax
push 0x40
push 0x11e
push 0x771310
call esi
push 0x11e
push 0x90
push 0x771310
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x11e
push 0x771310
call esi
cmp dword [0x102b78b8], 0
je 0x1006474c
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10c50
push 0x74cd30
call esi
push 0x10c50
push 0x90
push 0x74cd30
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x10c50
push 0x74cd30
call esi
cmp dword [0x102b78b4], 0
je 0x100647cd
lea eax, [ebp - 8]
push eax
push 0x40
push 0x2fe2
push 0x626190
call esi
push 0x2fe2
push 0x90
push 0x626190
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x2fe2
push 0x626190
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 0x87a2
push 0x72d1b0
call esi
push 0x87a2
push 0x90
push 0x72d1b0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x87a2
push 0x72d1b0
call esi
cmp dword [0x101eaf5c], 1
jne 0x100648ee
lea eax, [ebp - 8]
mov byte [ebp - 0x11], 9
push eax
push 0x40
push 1
push 0x7af176
mov dword [ebp - 8], 0
call esi
test eax, eax
je 0x1006481d
mov cl, byte [ebp - 0x11]
mov eax, 0x7af176
mov byte [eax], cl
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 1
push 0x7af176
call esi
test eax, eax
jne 0x1006481f
call edi
lea eax, [ebp - 8]
mov byte [ebp - 0x11], 9
push eax
push 0x40
push 1
push 0x7af416
mov dword [ebp - 8], 0
call esi
test eax, eax
je 0x10064862
mov cl, byte [ebp - 0x11]
mov eax, 0x7af416
mov byte [eax], cl
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 1
push 0x7af416
call esi
test eax, eax
jne 0x10064864
call edi
lea eax, [ebp - 8]
mov byte [ebp - 0x11], 9
push eax
push 0x40
push 1
push 0x7af796
mov dword [ebp - 8], 0
call esi
test eax, eax
je 0x100648a7
mov cl, byte [ebp - 0x11]
mov eax, 0x7af796
mov byte [eax], cl
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 1
push 0x7af796
call esi
test eax, eax
jne 0x100648a9
call edi
lea eax, [ebp - 8]
mov byte [ebp - 0x11], 9
push eax
push 0x40
push 1
push 0x7b0316
mov dword [ebp - 8], 0
call esi
test eax, eax
je 0x100648ec
mov cl, byte [ebp - 0x11]
mov eax, 0x7b0316
mov byte [eax], cl
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 1
push 0x7b0316
call esi
test eax, eax
jne 0x100648ee
call edi
cmp dword [0x101eaee4], 1
jne 0x10064b11
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x5b89c6
call esi
lea eax, [ebp - 8]
mov byte [0x5b89c6], 0
push eax
push dword [ebp - 8]
push 1
push 0x5b89c6
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x5b89cc
call esi
lea eax, [ebp - 8]
mov byte [0x5b89cc], 0
push eax
push dword [ebp - 8]
push 1
push 0x5b89cc
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x5b89d2
call esi
lea eax, [ebp - 8]
mov byte [0x5b89d2], 0
push eax
push dword [ebp - 8]
push 1
push 0x5b89d2
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x5b89d8
call esi
lea eax, [ebp - 8]
mov byte [0x5b89d8], 0
push eax
push dword [ebp - 8]
push 1
push 0x5b89d8
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x5b89de
call esi
lea eax, [ebp - 8]
mov byte [0x5b89de], 0
push eax
push dword [ebp - 8]
push 1
push 0x5b89de
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x5b89e4
call esi
lea eax, [ebp - 8]
mov byte [0x5b89e4], 0
push eax
push dword [ebp - 8]
push 1
push 0x5b89e4
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 2
push 0x5b89ea
call esi
xor eax, eax
mov word [0x5b89ea], ax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 2
push 0x5b89ea
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x5c6316
call esi
lea eax, [ebp - 8]
mov byte [0x5c6316], 0
push eax
push dword [ebp - 8]
push 1
push 0x5c6316
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x5c6329
call esi
lea eax, [ebp - 8]
mov byte [0x5c6329], 0
push eax
push dword [ebp - 8]
push 1
push 0x5c6329
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x5c633c
call esi
lea eax, [ebp - 8]
mov byte [0x5c633c], 0
push eax
push dword [ebp - 8]
push 1
push 0x5c633c
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x5c634f
call esi
lea eax, [ebp - 8]
mov byte [0x5c634f], 0
push eax
push dword [ebp - 8]
push 1
push 0x5c634f
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x5c6362
call esi
lea eax, [ebp - 8]
mov byte [0x5c6362], 0
push eax
push dword [ebp - 8]
push 1
push 0x5c6362
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x5c6375
call esi
lea eax, [ebp - 8]
mov byte [0x5c6375], 0
push eax
push dword [ebp - 8]
push 1
push 0x5c6375
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 2
push 0x5c6388
call esi
xor eax, eax
mov word [0x5c6388], ax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 2
push 0x5c6388
call esi
cmp dword [0x102b78dc], 0
je 0x10064b48
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x5f8924
call esi
mov eax, 0x5f8924
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x5f8924
call esi
cmp dword [0x102b78d4], 0
je 0x10064c50
push 7
call fcn.100d7d9e
mov ecx, 0x90909090
mov dword [ebp - 0xc], eax
add esp, 4
mov dword [ebp - 8], 0
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x60954d
call esi
test eax, eax
je 0x10064bbb
mov ecx, dword [ebp - 0xc]
mov edx, 0x60954d
mov eax, dword [ecx]
mov dword [edx], eax
mov ax, word [ecx + 4]
mov word [edx + 4], ax
mov al, byte [ecx + 6]
mov byte [edx + 6], al
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x10], 0
push 7
push edx
call esi
test eax, eax
jne 0x10064bbd
call edi
push 0xe9
mov edx, 0x10064460
mov ecx, 0x60954d
call fcn.100c7ff0
push 7
call fcn.100d7d9e
mov ecx, 0x90909090
mov dword [ebp - 0x10], eax
add esp, 8
mov dword [ebp - 8], 0
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x60f04c
call esi
test eax, eax
je 0x10064c37
mov ecx, dword [ebp - 0x10]
mov edx, 0x60f04c
mov eax, dword [ecx]
mov dword [edx], eax
mov ax, word [ecx + 4]
mov word [edx + 4], ax
mov al, byte [ecx + 6]
mov byte [edx + 6], al
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 7
push edx
call esi
test eax, eax
jne 0x10064c39
call edi
push 0xe9
mov edx, 0x100644d0
mov ecx, 0x60f04c
call fcn.100c7ff0
add esp, 4
cmp dword [0x102b78d8], 0
je 0x10064c9e
lea eax, [ebp - 8]
mov byte [ebp - 0x11], 1
push eax
push 0x40
push 1
push 0x5de2b2
mov dword [ebp - 8], 0
call esi
test eax, eax
je 0x10064c9c
mov cl, byte [ebp - 0x11]
mov eax, 0x5de2b2
mov byte [eax], cl
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x10], 0
push 1
push 0x5de2b2
call esi
test eax, eax
jne 0x10064c9e
call edi
cmp dword [0x102b78d0], 0
pop edi
je 0x10064cd6
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x57655b
call esi
mov eax, 0x57655b
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x57655b
call esi
cmp dword [0x102b78cc], 0
je 0x10064d3b
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x576ddb
call esi
mov eax, 0x576ddb
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x576ddb
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x5883f4
call esi
mov eax, 0x5883f4
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x5883f4
call esi
cmp dword [0x102b78c8], 0
je 0x10064dbe
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x588661
call esi
mov eax, 0x588661
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x588661
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x51ec90
call esi
lea eax, [ebp - 8]
mov byte [0x51ec90], 0xc3
push eax
push dword [ebp - 8]
push 1
push 0x51ec90
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x51ee20
call esi
lea eax, [ebp - 8]
mov byte [0x51ee20], 0xc3
push eax
push dword [ebp - 8]
push 1
push 0x51ee20
call esi
cmp dword [0x102b78c4], 0
je 0x10064ded
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x771310
call esi
lea eax, [ebp - 8]
mov byte [0x771310], 0xc3
push eax
push dword [ebp - 8]
push 1
push 0x771310
call esi
cmp dword [0x102b78c0], 0
je 0x10064e6b
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x74cd30
call esi
lea eax, [ebp - 8]
mov byte [0x74cd30], 0xc3
push eax
push dword [ebp - 8]
push 1
push 0x74cd30
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x608fb0
call esi
lea eax, [ebp - 8]
mov byte [0x608fb0], 0xc3
push eax
push dword [ebp - 8]
push 1
push 0x608fb0
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x72d1bd
call esi
lea eax, [ebp - 8]
mov dword [0x72d1bd], 0
push eax
push dword [ebp - 8]
push 4
push 0x72d1bd
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100d7712
mov esp, ebp
pop ebp
ret