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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x68
mov eax, 0x861110
push esi
push edi
push 0x48
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
je 0x1006177a
mov eax, dword [0x1058ced8]
mov byte [eax + 0x29], 0
mov eax, dword [0x1058ced8]
cmp byte [eax + 0x29], 0
jne 0x10061790
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x2c
mov ecx, 0x101be720
call fcn.10046820
push eax
push dword [0x1058ced8]
push 0x103563c8
call fcn.100111e0
mov ecx, dword [0x1058ced8]
add esp, 0xc
mov byte [ebp - 2], al
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x1019ddd8]
push 0x1019768f
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x1019dac0]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push dword [0x1058ced0]
push 0x103563c8
call fcn.10011c90
add esp, 0x14
test al, al
je 0x1006180c
mov eax, dword [0x1058ced8]
mov byte [eax + 0x29], 0
push 0x4e
mov ecx, 0x101be720
call fcn.10046820
push 0x4f
mov ecx, 0x101be720
mov dword [ebp - 0x68], eax
call fcn.10046820
push 0x50
mov ecx, 0x101be720
mov dword [ebp - 0x64], eax
call fcn.10046820
push 0x51
mov ecx, 0x101be720
mov dword [ebp - 0x60], eax
call fcn.10046820
push 0x52
mov ecx, 0x101be720
mov dword [ebp - 0x5c], eax
call fcn.10046820
push 0x5b
mov ecx, 0x101be720
mov dword [ebp - 0x58], eax
call fcn.10046820
push 0x57
mov ecx, 0x101be720
mov dword [ebp - 0x54], eax
call fcn.10046820
push 0x54
mov ecx, 0x101be720
mov dword [ebp - 0x50], eax
call fcn.10046820
push 0x55
mov ecx, 0x101be720
mov dword [ebp - 0x4c], eax
call fcn.10046820
push 0x56
mov ecx, 0x101be720
mov dword [ebp - 0x48], eax
call fcn.10046820
push 0x58
mov ecx, 0x101be720
mov dword [ebp - 0x44], eax
call fcn.10046820
push 0x5c
mov ecx, 0x101be720
mov dword [ebp - 0x40], eax
call fcn.10046820
push 0x5d
mov ecx, 0x101be720
mov dword [ebp - 0x3c], eax
call fcn.10046820
push 0x59
mov ecx, 0x101be720
mov dword [ebp - 0x38], eax
call fcn.10046820
push 0x5a
mov ecx, 0x101be720
mov dword [ebp - 0x34], eax
call fcn.10046820
push 0x157
mov ecx, 0x101be720
mov dword [ebp - 0x30], eax
call fcn.10046820
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor cl, cl
mov dword [ebp - 0x2c], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 1], cl
movsx ecx, cl
push dword [ebp + ecx*4 - 0x68]
lea eax, [ecx + ecx*4]
shl eax, 2
sub esp, 8
movd xmm1, eax
mov eax, dword [0x1058ced8]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax + 4]
addss xmm0, dword [0x1019de70]
addss xmm1, xmm0
movss xmm0, dword [eax]
addss xmm0, dword [0x1019ddc0]
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push dword [ecx*4 + 0x1058cedc]
push 0x103563c8
call fcn.10010c00
mov cl, byte [ebp - 1]
add esp, 0x14
test al, al
je 0x10061d96
test cl, cl
jne 0x10061988
cmp byte [0x101ac90c], cl
sete byte [0x101ac90c]
inc cl
jmp 0x1006190d
cmp cl, 1
jne 0x100619a4
xor eax, eax
cmp dword [0x10328284], eax
sete al
inc cl
mov dword [0x10328284], eax
jmp 0x1006190d
cmp cl, 2
jne 0x100619be
cmp byte [0x101f7ced], 1
setne byte [0x101f7ced]
inc cl
jmp 0x1006190d
cmp cl, 3
jne 0x100619da
xor eax, eax
cmp dword [0x103282b4], eax
sete al
inc cl
mov dword [0x103282b4], eax
jmp 0x1006190d
cmp cl, 4
jne 0x100619f4
cmp byte [0x101f80ed], 1
setne byte [0x101f80ed]
inc cl
jmp 0x1006190d
cmp cl, 5
jne 0x10061a5a
cmp dword [0x103282b0], 0
je 0x10061a18
call fcn.10032d50
mov cl, byte [ebp - 1]
xor eax, eax
mov dword [0x103282b0], eax
inc cl
jmp 0x1006190d
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
mov cl, byte [ebp - 1]
mov eax, 1
mov dword [0x103282b0], eax
inc cl
jmp 0x1006190d
cmp cl, 6
jne 0x10061af9
cmp dword [0x103282ac], 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push 1
mov dword [ebp - 0xc], 0
push 0x5de2b2
je 0x10061abb
call esi
test eax, eax
je 0x10061aa8
lea eax, [ebp - 0x20]
mov byte [0x5de2b2], 0
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x20], 0
push 1
push 0x5de2b2
call esi
test eax, eax
jne 0x10061aaa
call edi
mov cl, byte [ebp - 1]
xor eax, eax
mov dword [0x103282ac], eax
inc cl
jmp 0x1006190d
call esi
test eax, eax
je 0x10061ae3
lea eax, [ebp - 0x24]
mov byte [0x5de2b2], 1
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x24], 0
push 1
push 0x5de2b2
call esi
test eax, eax
jne 0x10061ae5
call edi
mov cl, byte [ebp - 1]
mov eax, 1
mov dword [0x103282ac], eax
inc cl
jmp 0x1006190d
cmp cl, 7
jne 0x10061b66
cmp dword [0x103282a8], 0
je 0x10061b39
push 0x10032fd0
push 0x60b36a
push 0xe9
call fcn.100cd930
add esp, 8
mov edx, 0xa
mov ecx, 0x60b36a
call fcn.100cd080
add esp, 4
mov eax, 0x10032ff0
xor edi, edi
jmp 0x10061b43
mov edi, 1
mov eax, 0x10032e80
push eax
push 0x60b36a
push 0xe9
call fcn.100cd930
mov cl, byte [ebp - 1]
add esp, 0xc
mov dword [0x103282a8], edi
inc cl
jmp 0x10061907
cmp cl, 8
jne 0x10061ba3
cmp dword [0x103282a4], 0
je 0x10061b8a
call fcn.100330f0
mov cl, byte [ebp - 1]
xor eax, eax
mov dword [0x103282a4], eax
inc cl
jmp 0x1006190d
call fcn.10033080
mov cl, byte [ebp - 1]
mov eax, 1
mov dword [0x103282a4], eax
inc cl
jmp 0x1006190d
cmp cl, 9
jne 0x10061c09
cmp dword [0x103282a0], 0
je 0x10061bc7
call fcn.100331f0
mov cl, byte [ebp - 1]
xor eax, eax
mov dword [0x103282a0], eax
inc cl
jmp 0x1006190d
lea eax, [ebp - 0x10]
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 - 0x10]
push eax
push dword [ebp - 0x10]
push 5
push 0x588661
call esi
mov cl, byte [ebp - 1]
mov eax, 1
mov dword [0x103282a0], eax
inc cl
jmp 0x1006190d
cmp cl, 0xa
jne 0x10061c4d
cmp dword [0x1032829c], 0
je 0x10061c20
xor edi, edi
mov eax, 0x10033270
jmp 0x10061c2a
mov edi, 1
mov eax, 0x10033260
push eax
push 0x57d278
push 0xe9
call fcn.100cd930
mov cl, byte [ebp - 1]
add esp, 0xc
mov dword [0x1032829c], edi
inc cl
jmp 0x10061907
cmp cl, 0xb
jne 0x10061c91
cmp dword [0x10328298], 0
je 0x10061c64
xor edi, edi
mov eax, 0x10033290
jmp 0x10061c6e
mov edi, 1
mov eax, 0x10033280
push eax
push 0x771328
push 0xe9
call fcn.100cd930
mov cl, byte [ebp - 1]
add esp, 0xc
mov dword [0x10328298], edi
inc cl
jmp 0x10061907
cmp cl, 0xc
jne 0x10061cd5
cmp dword [0x10328294], 0
je 0x10061ca8
xor edi, edi
mov eax, 0x100332b0
jmp 0x10061cb2
mov edi, 1
mov eax, 0x100332a0
push eax
push 0x74cd50
push 0xe9
call fcn.100cd930
mov cl, byte [ebp - 1]
add esp, 0xc
mov dword [0x10328294], edi
inc cl
jmp 0x10061907
cmp cl, 0xd
jne 0x10061d54
cmp dword [0x10328290], 0
je 0x10061d1a
lea eax, [ebp - 0x14]
push eax
push 0x40
push 1
push 0x54a270
call esi
lea eax, [ebp - 0x14]
mov byte [0x54a270], 0x55
push eax
push dword [ebp - 0x14]
push 1
push 0x54a270
call esi
mov cl, byte [ebp - 1]
xor eax, eax
mov dword [0x10328290], eax
inc cl
jmp 0x1006190d
lea eax, [ebp - 0x18]
push eax
push 0x40
push 1
push 0x54a270
call esi
lea eax, [ebp - 0x18]
mov byte [0x54a270], 0xc3
push eax
push dword [ebp - 0x18]
push 1
push 0x54a270
call esi
mov cl, byte [ebp - 1]
mov eax, 1
mov dword [0x10328290], eax
inc cl
jmp 0x1006190d
cmp cl, 0xe
jne 0x10061d91
cmp dword [0x1032828c], 0
je 0x10061d78
call fcn.100333a0
mov cl, byte [ebp - 1]
xor eax, eax
mov dword [0x1032828c], eax
inc cl
jmp 0x1006190d
call fcn.10033340
mov cl, byte [ebp - 1]
mov eax, 1
mov dword [0x1032828c], eax
inc cl
jmp 0x1006190d
cmp cl, 0xf
je 0x10061db0
inc cl
mov byte [ebp - 1], cl
cmp cl, 0x10
jl 0x10061910
mov al, byte [ebp - 2]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [0x103282e0], 0
lea eax, [ebp - 0x18]
push eax
push 0x40
push 5
push 0x5f8924
je 0x10061e1d
mov byte [ebp - 0x20], 0xe8
mov dword [ebp - 0x1f], 0x3618b7
mov dword [ebp - 0x18], 0
call esi
test eax, eax
je 0x10061e05
mov eax, dword [ebp - 0x20]
mov ecx, 0x5f8924
mov dword [ecx], eax
mov al, byte [ebp - 0x1c]
mov byte [ecx + 4], al
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x24], 0
push 5
push ecx
call esi
test eax, eax
jne 0x10061e07
call edi
mov al, byte [ebp - 2]
mov dword [0x103282e0], 0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call esi
mov eax, 0x5f8924
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 5
push 0x5f8924
call esi
mov al, byte [ebp - 2]
pop edi
mov dword [0x103282e0], 1
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret