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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001274b
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10017040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x30], esi
mov dword [esi], 0x10014acc
push 0x18
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.10011499
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
cmp edi, 1
jne 0x10005f9c
lea eax, [edi + 2]
jmp 0x10005faf
test edi, edi
je 0x10005faa
mov eax, 1
cmp edi, 2
jne 0x10005faf
mov eax, 2
push 0
xorps xmm0, xmm0
mov dword [esi + 0xc], eax
push 0x100145c4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
call fcn.100056c0
lea ecx, [esi + 0x10]
mov dword [ecx], 0x1001488c
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x1000601e
mov edx, dword [ebp - 0x2c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10006011
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10006011
call dword [sym.imp.APi_Ms_wiN_CRT_RunTIme_L1_1_0.dLl__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100117e8
add esp, 8
lea ecx, [esi + 0x10]
mov eax, dword [ebp + 0x10]
test eax, eax
mov edx, dword [ebp + 8]
cmovne ecx, eax
mov dword [esi + 0x18], edx
cmp dword [esi + 0xc], 1
mov dword [esi + 0x14], ecx
jne 0x10006039
mov eax, edi
jmp 0x1000604e
mov eax, dword [ecx]
cmp edx, 1
mov dword [ebp - 0x14], 1
cmovb edx, dword [ebp - 0x14]
push edx
mov eax, dword [eax]
call eax
cmp dword [esi + 0x18], 0
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0
mov byte [esi + 0x24], 0
jbe 0x10006066
test eax, eax
je 0x100060c3
cmp dword [esi + 0xc], 2
jne 0x100060a4
cmp edi, 2
je 0x100060a4
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x100060a4
lea eax, [ebp - 0x14]
push eax
push pe_nt_image_headers32
push dword [esi + 0x18]
push dword [esi + 0x1c]
call dword [sym.imp.keRNEl32.dll_VirtualProtect]
test eax, eax
jne 0x100060a4
mov ecx, dword [esi + 0x14]
push dword [esi + 0x1c]
mov eax, dword [ecx]
call dword [eax + 4]
push 0xe
jmp 0x100060c5
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10011486
mov esp, ebp
pop ebp
ret 0xc
push 0x16
lea ecx, [ebp - 0x24]
call fcn.10001c30
push 0x1001655c
mov eax, ecx
push eax
call sub.vCRUNTIme140.DlL__CxxThrowException
sar byte [esp + ecx*4 + 0x556712db], 1
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012780
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x10017040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0xc]
mov dword [edi], 0x10014acc
cmp eax, 2
je 0x1000611f
cmp eax, 3
jne 0x1000614a
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x1000613f
lea eax, [ebp - 0x14]
push eax
push 4
push dword [edi + 0x18]
push dword [edi + 0x1c]
call dword [sym.imp.keRNEl32.dll_VirtualProtect]
mov ecx, dword [edi + 0x14]
push dword [edi + 0x1c]
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi + 0x10], 0x1001488c
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx]
test eax, eax
je 0x10006176
mov esi, dword [eax]
push 0x18
push eax
call fcn.100117e8
add esp, 8
mov eax, esi
test esi, esi
jne 0x10006163
push 0x18
push dword [edi + 4]
call fcn.100117e8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10011486
mov esp, ebp
pop ebp
ret